Skip to content

Commit

Permalink
add some meta tags
Browse files Browse the repository at this point in the history
  • Loading branch information
JuddL333 committed Jul 10, 2013
1 parent cf90a10 commit 746454f
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 9 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ gem 'bootstrap-datetimepicker-rails'
gem "less-rails"
gem 'therubyracer'
gem "friendly_id"
gem 'meta-tags', :require => 'meta_tags'

group :assets do
gem 'sass-rails', '~> 3.2.3'
Expand Down
3 changes: 3 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,8 @@ GEM
i18n (>= 0.4.0)
mime-types (~> 1.16)
treetop (~> 1.4.8)
meta-tags (1.5.0)
actionpack
method_source (0.8.1)
mime-types (1.23)
mini_portile (0.5.0)
Expand Down Expand Up @@ -331,6 +333,7 @@ DEPENDENCIES
jquery-rails
less-rails
libnotify
meta-tags
omniauth-twitter
pg
rails (= 3.2.12)
Expand Down
7 changes: 0 additions & 7 deletions app/views/info/recent.html.erb

This file was deleted.

9 changes: 9 additions & 0 deletions app/views/info/recent.html.slim
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
- description 'Recent Tweets'
- keywords "#VegasTech, VegasTech, #VegasTech Events, events, meetups, tweets"

h2 Most Recent

- @stories.each do |story|
= render partial: 'stories/story', :locals => { :story => story }

= will_paginate(@stories, previous_label: '←', next_label: '→', inner_window: 0, outer_window: 0)
2 changes: 1 addition & 1 deletion app/views/layouts/application.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ doctype html
html
head
meta name="viewport" content="width=device-width, initial-scale=1.0"
title= content_for?(:title) ? yield(:title) : "#VegasTech Bulletin Board"
= display_meta_tags :site => "#VegasTech Bulletin Board", :reverse => true
meta name="author" content="#VegasTech Bulletin Board"
= stylesheet_link_tag "application", :media => "all"

Expand Down
9 changes: 8 additions & 1 deletion app/views/shared/_events_index.html.slim
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
h2 Upcoming Events
- title '#VegasTech Events'
- description '#VegasTech event list, gathered from tweets and the meetup API. '
- keywords "#VegasTech, VegasTech, #VegasTech Events, events, meetups"


h2 Upcoming #VegasTech Events

p Hosting a #VegasTech event? Just let us know by tweeting about it with the #VegasTech hash tag and we'll take care of the rest.

- @events_per_day.each do |date, events_for_day|

Expand Down
5 changes: 5 additions & 0 deletions app/views/shared/_story_index.html.slim
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
- description '#VegasTech tweets and events.'
- keywords "#VegasTech, VegasTech, #VegasTech Events, events, meetups, tweets"



- @stories.each do |story|
= render partial: 'stories/story', :locals => { :story => story }

Expand Down

0 comments on commit 746454f

Please sign in to comment.