deno.land / x / lume_theme_simple_blog@v0.4.0 / src / _includes / templates / post-details.njk
1234567891011121314151617181920212223242526272829<div class="post-details"> {% if author %} {% set page = search.page("type=author author='" + author + "'") %} {% if page %} <p>By <a data-pagefind-filter="author" href="{{ page.data.url }}">{{ author }}</a></p> {% else %} <p>By {{ author }}</p> {% endif %} {% endif %} <p> <time datetime="{{ date | date('DATETIME') }}"> {{ date | date('HUMAN_DATE') }} </time> </p> <p>{{ readingTime.minutes }} min read</p> <div class="post-tags"> {% for tag in tags %} {% set page = search.page("type=tag tag='" + tag + "'") %} {% if page %} <a data-pagefind-filter="filter" class="tag" href="{{ page.data.url }}">{{ tag }}</a> {% endif %} {% endfor %} </div></div>
Version Info