summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/views/layouts/blog/_summary.html.haml2
-rw-r--r--app/views/pages/about-us/news/2012/security-bingo/en.haml1
2 files changed, 2 insertions, 1 deletions
diff --git a/app/views/layouts/blog/_summary.html.haml b/app/views/layouts/blog/_summary.html.haml
index 68756b1..0abe3f2 100644
--- a/app/views/layouts/blog/_summary.html.haml
+++ b/app/views/layouts/blog/_summary.html.haml
@@ -11,7 +11,7 @@
%div.content
- if page.props.preview
= page.props.preview
- - if page.props.body.try(:any?)
+ - if page.props.more
= link_to(I18n.t(:read_more), page_path(page))
- else
= render :template => page.template_path \ No newline at end of file
diff --git a/app/views/pages/about-us/news/2012/security-bingo/en.haml b/app/views/pages/about-us/news/2012/security-bingo/en.haml
index 64eff77..134b205 100644
--- a/app/views/pages/about-us/news/2012/security-bingo/en.haml
+++ b/app/views/pages/about-us/news/2012/security-bingo/en.haml
@@ -1,6 +1,7 @@
- @title = "Let's play security bingo!"
- @author = "Elijah"
- @posted_at = "2012-08-28"
+- @more = true
- @preview = capture_haml do
:textile
To be honest, this is might be the least satisfying game of bingo ever--but let's play anyway. The rules are simple: draw a grid, label the columns for different platforms, and label the rows for important communication toolsets. In each cell, put the name of an open source software package with reasonable security properties. If this exercise doesn't make you break down in tears, then you have won.