Skip to content
This repository has been archived by the owner on Sep 12, 2022. It is now read-only.

Commit

Permalink
added social media results for blog entries. Made it haml, fuck erb.
Browse files Browse the repository at this point in the history
  • Loading branch information
0xdeafcafe committed Jun 2, 2013
1 parent 8712fff commit 672fb7b
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 16 deletions.
16 changes: 0 additions & 16 deletions app/views/blog/view.html.erb

This file was deleted.

23 changes: 23 additions & 0 deletions app/views/blog/view.html.haml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
- title " - #{@blog_entry.title}"
- active_blog 'active'
- content_for :twitter_meta do
%meta{:content => "Branch - #{@blog_entry.title}", :name => "twitter:title"}/
%meta{:content => "#{@blog_entry.summary}", :name => "twitter:description"}/

- content_for :facebook_meta do
%meta{:content => "Branch - #{@blog_entry.title}", :property => "og:title"}/
%meta{:content => "#{@blog_entry.summary}", :property => 'og:description'}/

.span12
.well
%h1
= @blog_entry.title

%h6
Posted at #{@blog_entry.updated_at}, by Xerax

%hr/

= @markdown.render(@blog_entry.body).html_safe

= render partial: 'halo4/global/social_sharing'

0 comments on commit 672fb7b

Please sign in to comment.