diff --git a/lib/articles.rb b/lib/articles.rb index eebacc3..2bf57da 100644 --- a/lib/articles.rb +++ b/lib/articles.rb @@ -17,9 +17,8 @@ module WezM :title => article[:title], :path => article.identifier, :date => Time.parse(article[:created_at]).rfc2822, - :summary => article[:summary], :text => article[:title], - :extra => article[:summary] + :extra => article[:excerpt] || " " } end diff --git a/output/js/application.js b/output/js/application.js index 66656d1..46af2b5 100644 --- a/output/js/application.js +++ b/output/js/application.js @@ -98,7 +98,7 @@ var WezM = { year: date.getYear() + 1900, path: article.path, title: article.title, - summary: article.summary + summary: article.extra }; var li = this._renderArticle(article_view); container.append(li);