Forked from
KWARC / kwarc.info / www
1129 commits behind the upstream repository.
-
Tom Wiesing authored
This commit adds a lot of performance tuning, making the page compile much faster (<= 10 seconds)
Tom Wiesing authoredThis commit adds a lot of performance tuning, making the page compile much faster (<= 10 seconds)
post_link.html 703 B
{% comment %}
Generates a link to a single post.
Expects the page representing the post as a 'post' variable.
{% endcomment %}
<div class="post-link">
<h3 class="post-title">
<a href="{{ post.url }}">
{{ post.title }} {{ post.subtitle }}
</a>
</h3>
<p class="post-meta" >
{% assign firsttag = post.tags | first %}
{% assign type = site.tagpages | where:"tag", firsttag | first %}
<span class="post-type">{{ type.title }} by {{post.author}}</span> -
{% if post.location %}<span class="post-location">{{post.location}}</span> - {% endif %}
<span class="post-date">{{ post.date | date_to_string }}</span>
</p>
</div>