Fix icon/metadata list in article body
This commit is contained in:
parent
545f55db84
commit
37cfd0faa6
2 changed files with 7 additions and 4 deletions
|
|
@ -7,10 +7,12 @@
|
|||
<br/><small><%= item[:subtitle] %></small>
|
||||
<% end %></h1>
|
||||
<p>
|
||||
<i class="icon-calendar"></i> <time itemprop="dateCreated" datetime="<%= @item[:created_at].strftime("%Y-%m-%d") %>"><%= @item[:created_at].strftime("%d.%m.%Y") %></time>
|
||||
<% if @item[:author] %>- <i class="icon-pencil"></i> @item[:author]<% end %>
|
||||
<% if @item[:refers_to] %>- <i class="icon-cogs"></i> <a href="<%= @items[sanitize_path(@item[:refers_to])].path() %>"><%= @items[sanitize_path(@item[:refers_to])][:title] %></a><% end %>
|
||||
- <i class="icon-bookmark"></i> <a itemprop="url" href="<%= item.path() %>">Permalink</a>
|
||||
<ul class="unstyled inline">
|
||||
<li><i class="icon-calendar"></i> <time itemprop="dateCreated" datetime="<%= @item[:created_at].strftime("%Y-%m-%d") %>"><%= @item[:created_at].strftime("%d.%m.%Y") %></time></li>
|
||||
<% if @item[:author] %><li><i class="icon-pencil"></i> @item[:author]</li><% end %>
|
||||
<% if @item[:refers_to] %><li><i class="icon-cogs"></i> <a href="<%= @items[sanitize_path(@item[:refers_to])].path() %>"><%= @items[sanitize_path(@item[:refers_to])][:title] %></a></li><% end %>
|
||||
<li><i class="icon-bookmark"></i> <a itemprop="url" href="<%= item.path() %>">Permalink</a></li>
|
||||
</ul>
|
||||
</header>
|
||||
<p>
|
||||
<section>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue