diff --git a/layouts/_article.html b/layouts/_article.html index bc9bc17..6595527 100644 --- a/layouts/_article.html +++ b/layouts/_article.html @@ -7,6 +7,6 @@
<%= @article[:title] %> - <%= @item[:summary] %> + <%= @article[:extra] %>
diff --git a/lib/articles.rb b/lib/articles.rb index 2bf57da..c644a3f 100644 --- a/lib/articles.rb +++ b/lib/articles.rb @@ -18,7 +18,7 @@ module WezM :path => article.identifier, :date => Time.parse(article[:created_at]).rfc2822, :text => article[:title], - :extra => article[:excerpt] || " " + :extra => article[:extra] || " " } end diff --git a/output/js/application.js b/output/js/application.js index b4236e5..0ad4e7c 100644 --- a/output/js/application.js +++ b/output/js/application.js @@ -42,7 +42,7 @@ var WezM = { \n\\n\ ' + (Mojo.escape(Mojo.normalize(o.title))) + '\n\ - ' + (Mojo.escape(Mojo.normalize(o.summary))) + '\n\ + ' + (Mojo.normalize(o.summary)) + '\n\
\n\ '; }, diff --git a/templates/article.html b/templates/article.html index 0d4bce3..106805e 100644 --- a/templates/article.html +++ b/templates/article.html @@ -6,6 +6,6 @@{{title}} - {{summary}} + {{{summary}}}