Files
86box.github.io/_includes/postheader.html
2022-11-26 01:01:15 -03:00

7 lines
572 B
HTML

{% if include.post.title == page.title %}<h1 class="blogpost">{% else %}<h2 class="bloglist"><a href="{{ include.post.url }}">{% endif %}
{{ include.post.title }}
{% if include.post.title == page.title %}</h1><span>{% else %}</a></h2><small>{% endif %}
{{ include.post.date | date: "%B %-d, %Y" }}
{% for author in include.post.authors %}{% if forloop.first %}- written by{% elsif forloop.last %} and{% else %},{% endif %} <a href="https://github.com/{{ author }}">{{ author }}</a>{% endfor %}
{% if include.post.title == page.title %}</span>{% else %}</small>{% endif %}