{% macro slug(res) %} {{ res.meta.id if res.meta.id else res.slug }}{% endmacro %} {% macro itemurl(res) %} {{ res.url ~ "#" ~ (res.meta.id if res.meta.id else res.slug) ~ "-title" }}{% endmacro %} {% macro fullurl(part) %} {{ site.context.scheme_host ~ part }}{% endmacro %} {# endmacro not on new line to prevent white space at end of macro #} {% macro render_excerpt(res, class=None) %} {% refer to res.relative_path as post %}
Posted: {{ res.meta.created.strftime('%a, %d %b %Y') }}
{% endmacro %} {% macro render_nav(menu, cls=None) -%} {% if menu -%} {%- endif %} {%- endmacro %}