Render log date for log title
This commit is contained in:
parent
ba8f4f31ba
commit
cecd10f1be
|
@ -11,7 +11,7 @@ date: 2022-01-02
|
||||||
<article>
|
<article>
|
||||||
{% for log in collections["changelog 2022"] | reverse %}
|
{% for log in collections["changelog 2022"] | reverse %}
|
||||||
<div class="heading-wrapper h2">
|
<div class="heading-wrapper h2">
|
||||||
<h2 id="{{ log.fileSlug }}">{{ log.data.title }}</h2>
|
<h2 id="{{ log.fileSlug }}">{{ log.date | niceDate }}</h2>
|
||||||
<a class="heading-anchor" href="#{{ log.fileSlug }}" aria-labelledby="{{ log.fileSlug }}"><span hidden="">#</span></a>
|
<a class="heading-anchor" href="#{{ log.fileSlug }}" aria-labelledby="{{ log.fileSlug }}"><span hidden="">#</span></a>
|
||||||
</div>
|
</div>
|
||||||
{{ log.templateContent | safe }}
|
{{ log.templateContent | safe }}
|
||||||
|
|
Loading…
Reference in New Issue