mirror of
https://github.com/danbee/danbarber.me
synced 2025-03-04 08:59:10 +00:00
Show date on post pages
This commit is contained in:
parent
c01dc2df7c
commit
f22717866a
@ -6,14 +6,15 @@
|
||||
{% else %}<!-- Now we're back to normal posts. Note the links used under href in both headers.-->
|
||||
<h1 class="entry-title"><a href="{{ root_url }}{{ post.url }}">{% if site.titlecase %}{{ post.title | titlecase }}{% else %}{{ post.title }}{% endif %}</a></h1>
|
||||
{% endif %}
|
||||
{% if post.date %}<p class="meta">{% include post/date.html date=post.date %}{{ time }}</p>{% endif %}
|
||||
{% else %}
|
||||
{% if page.external-url %}
|
||||
<h1 class="entry-title"><a href="{{ page.external-url }}">{% if site.titlecase %}{{ page.title | titlecase }} →{% else %}{{ page.title }}{% endif %}</a></h1>
|
||||
{% else %}
|
||||
<h1 class="entry-title">{% if site.titlecase %}{{ page.title | titlecase }}{% else %}{{ page.title }}{% endif %}</h1>
|
||||
{% endif %}
|
||||
{% if page.date %}<p class="meta">{% include post/date.html date=page.date %}{{ time }}</p>{% endif %}
|
||||
{% endif %}
|
||||
{% if post.date %}<p class="meta">{% include post/date.html date=post.date %}{{ time }}</p>{% endif %}
|
||||
</header>
|
||||
{% endunless %}
|
||||
{% if index %}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user