mirror of
https://github.com/mbirth/wiki.git
synced 2024-12-24 22:54:09 +00:00
Added metadata display on pages.
This commit is contained in:
parent
e7dbf73251
commit
26be5fcd52
@ -48,6 +48,15 @@
|
||||
</div>
|
||||
</header>
|
||||
<div class="container">
|
||||
{% if page.created %}
|
||||
<section id="page_meta">
|
||||
<img class="emoji" title=":new:" alt=":new:" src="https://assets-cdn.github.com/images/icons/emoji/new.png" width="20" height="20" align="absmiddle" /> {{ page.created | date: '%Y-%m-%d' }}
|
||||
{% if page.updated != page.created %}
|
||||
<img class="emoji" title=":wavy_dash:" alt=":wavy_dash:" src="https://assets-cdn.github.com/images/icons/emoji/wavy_dash.png" width="20" height="20" align="absmiddle" />
|
||||
<img class="emoji" title=":up:" alt=":up:" src="https://assets-cdn.github.com/images/icons/emoji/up.png" width="20" height="20" align="absmiddle" /> {{ page.updated | date: '%Y-%m-%d' }}
|
||||
{% endif %}
|
||||
</section>
|
||||
{% endif %}
|
||||
<article itemprop="blogPost" itemscope itemtype="http://schema.org/BlogPosting">
|
||||
<h1 id="pagetitle" itemprop="name">{{ page.title }}</h1>
|
||||
<div itemprop="author" itemscope itemtype="http://schema.org/Person">
|
||||
|
@ -107,3 +107,10 @@ kbd
|
||||
margin-right: 2px
|
||||
vertical-align: top
|
||||
font-family: sans-serif
|
||||
|
||||
#page_meta
|
||||
color: #888
|
||||
margin-top: -38px
|
||||
|
||||
img
|
||||
vertical-align: text-bottom
|
||||
|
Loading…
Reference in New Issue
Block a user