aboutsummaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorB Mathis <brandon@imathis.com>2009-11-11 19:49:17 -0600
committerB Mathis <brandon@imathis.com>2009-11-11 19:49:17 -0600
commit8990906466354749a70691b84a315c0272a4a9be (patch)
tree5113ca8b3617d031c5422133e51170e9da10d00d /source
parentb060c72c8ecdc1c6c1873cb86d8eb862344835fb (diff)
downloadmy_new_personal_website-8990906466354749a70691b84a315c0272a4a9be.tar.xz
my_new_personal_website-8990906466354749a70691b84a315c0272a4a9be.zip
fixed haml breaking source code indentation
Diffstat (limited to 'source')
-rw-r--r--source/_layouts/default.haml4
-rw-r--r--source/index.haml2
2 files changed, 3 insertions, 3 deletions
diff --git a/source/_layouts/default.haml b/source/_layouts/default.haml
index 412979e4..cfde533d 100644
--- a/source/_layouts/default.haml
+++ b/source/_layouts/default.haml
@@ -60,7 +60,7 @@ google_analytics: true
#main
- if page.respond_to? :date
%h2= page.title
- = content
+ = preserve rp(content)
%p.pubdate
Published:
=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
%script(type="text/javascript" src="http://disqus.com/forums/#{page.disqus_short_name}/embed.js")
- else
- = content
+ = preserve rp(content)
#sidebar
- if page.respond_to? :twitter_user
%h4 Twitter <a class="small" href="http://twitter.com/#{page.twitter_user}">@#{page.twitter_user}</a>
diff --git a/source/index.haml b/source/index.haml
index f781d4e3..796b81b6 100644
--- a/source/index.haml
+++ b/source/index.haml
@@ -6,7 +6,7 @@ title: Blog
- site.posts.sort_by(&:date).reverse[0..9].each_with_index do |post,index|
.article
%h2= link_to(post.title, post.url, {:class=>"title"})
- = post.content
+ = preserve rp(post.content)
- if page.respond_to? :disqus_short_name
.footer
- if post.data["comments_off"]