Created
May 21, 2013 13:32
-
-
Save lessallan/5619783 to your computer and use it in GitHub Desktop.
My head partial for LessAccounting.com, using middlemanapp.com.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- if current_page.data.title.blank? | |
%title | |
Accounting Software | Small Business Bookkeeping Software | |
%meta{:property => "og:title", :content => "Simple Accounting Software for Business" } | |
- else | |
%title | |
= current_page.data.title | |
%meta{:property => "og:title", :content => current_page.data.title } | |
- if current_page.data.short.blank? | |
%meta{ :name => "Description", :content => "Small business accounting software from Less Everything, because your job title isn't accountant! Accounting software features: invoicing, proposals, CRM and more." } | |
%meta{:property => 'og:description', :content => 'Bookkeeping is less terrible with http://LessAccounting.com, perfect for freelancers and small businesses.' } | |
- else | |
%meta{ :name => "Description", :content => current_page.data.short } | |
%meta{:property => 'og:description', :content => current_page.data.short } | |
- if current_page.data.image.blank? | |
%meta{:property => 'og:image', :content => 'https://lessaccounting.com/images/og.png' } | |
- else | |
%meta{:property => "og:image", :content => "https://lessaccounting.com/#{current_page.data.image}" } | |
- if current_page.data.author.blank? | |
%meta{ :name => "Author", :content => "Less Everything (http://lesseverything.com)" } | |
- else | |
%meta{ :name => "Author", :content => current_article.data.author } | |
%meta{:property => 'og:url', :content => "http://lessaccounting.com#{current_page.url}" } | |
%meta{:property => 'og:type', :content => 'website' } | |
%meta{:property => 'og:site_name', :content => 'LessAccounting' } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment