mirror of
https://github.com/wezm/wezm.net.git
synced 2024-12-18 18:29:54 +00:00
Use the extra key for excerpts
This commit is contained in:
parent
43a95d2014
commit
e0409773b2
4 changed files with 4 additions and 4 deletions
|
@ -7,6 +7,6 @@
|
|||
</abbr>
|
||||
<p>
|
||||
<strong><a href="<%= @article.reps.first.path %>"><%= @article[:title] %></a></strong>
|
||||
<%= @item[:summary] %>
|
||||
<%= @article[:extra] %>
|
||||
</p>
|
||||
</li>
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -42,7 +42,7 @@ var WezM = {
|
|||
</abbr>\n\
|
||||
<p>\n\
|
||||
<strong><a href="' + (Mojo.escape(Mojo.normalize(o.path))) + '">' + (Mojo.escape(Mojo.normalize(o.title))) + '</a></strong>\n\
|
||||
' + (Mojo.escape(Mojo.normalize(o.summary))) + '\n\
|
||||
' + (Mojo.normalize(o.summary)) + '\n\
|
||||
</p>\n\
|
||||
</li>';
|
||||
},
|
||||
|
|
|
@ -6,6 +6,6 @@
|
|||
</abbr>
|
||||
<p>
|
||||
<strong><a href="{{path}}">{{title}}</a></strong>
|
||||
{{summary}}
|
||||
{{{summary}}}
|
||||
</p>
|
||||
</li>
|
||||
|
|
Loading…
Reference in a new issue