aboutsummaryrefslogtreecommitdiff
path: root/templates/macros/macros.html
blob: f0fc531dfb0aa8fea5b41d04493d3a9bef8e196c (plain)
1
2
3
4
5
6
7
{% macro title(page) %}      <h1><a href="{{ page.permalink | safe }}">{{ page.title }}</a></h1>
	  <span>{{ page.date | date(format="%B %d, %Y") }}{% if page.taxonomies.categories %} <span> [{% for cat in page.taxonomies.categories %}<a href="{{ get_taxonomy_url(kind="categories", name=cat) | safe }}">{{ cat }}</a>{% endfor %}] </span> {% endif %}
     {% if page.taxonomies.tags %} <span>{% for tag in page.taxonomies.tags %} #<a href="{{ get_taxonomy_url(kind="tags", name=tag) | safe }}">{{ tag }}</a> {% endfor %}</span>{% endif %}
{% endmacro title %}
{% macro footer(page) %}
<h3><a href="#">Back to top</a></h3>
{% endmacro footer %}