mirror of
https://github.com/moparisthebest/android.moparisthebest.org
synced 2024-12-25 08:58:58 -05:00
fixed haml breaking source code indentation
This commit is contained in:
parent
b060c72c8e
commit
8990906466
@ -60,7 +60,7 @@ google_analytics: true
|
|||||||
#main
|
#main
|
||||||
- if page.respond_to? :date
|
- if page.respond_to? :date
|
||||||
%h2= page.title
|
%h2= page.title
|
||||||
= content
|
= preserve rp(content)
|
||||||
%p.pubdate
|
%p.pubdate
|
||||||
Published:
|
Published:
|
||||||
=page.date.strftime("%d %b, %Y")
|
=page.date.strftime("%d %b, %Y")
|
||||||
@ -73,7 +73,7 @@ google_analytics: true
|
|||||||
%a(href="http://designenthusiast.disqus.com/?url=ref") View the discussion thread
|
%a(href="http://designenthusiast.disqus.com/?url=ref") View the discussion thread
|
||||||
%script(type="text/javascript" src="http://disqus.com/forums/#{page.disqus_short_name}/embed.js")
|
%script(type="text/javascript" src="http://disqus.com/forums/#{page.disqus_short_name}/embed.js")
|
||||||
- else
|
- else
|
||||||
= content
|
= preserve rp(content)
|
||||||
#sidebar
|
#sidebar
|
||||||
- if page.respond_to? :twitter_user
|
- if page.respond_to? :twitter_user
|
||||||
%h4 Twitter <a class="small" href="http://twitter.com/#{page.twitter_user}">@#{page.twitter_user}</a>
|
%h4 Twitter <a class="small" href="http://twitter.com/#{page.twitter_user}">@#{page.twitter_user}</a>
|
||||||
|
@ -6,7 +6,7 @@ title: Blog
|
|||||||
- site.posts.sort_by(&:date).reverse[0..9].each_with_index do |post,index|
|
- site.posts.sort_by(&:date).reverse[0..9].each_with_index do |post,index|
|
||||||
.article
|
.article
|
||||||
%h2= link_to(post.title, post.url, {:class=>"title"})
|
%h2= link_to(post.title, post.url, {:class=>"title"})
|
||||||
= post.content
|
= preserve rp(post.content)
|
||||||
- if page.respond_to? :disqus_short_name
|
- if page.respond_to? :disqus_short_name
|
||||||
.footer
|
.footer
|
||||||
- if post.data["comments_off"]
|
- if post.data["comments_off"]
|
||||||
|
Loading…
Reference in New Issue
Block a user