%Y'
or timestamp_format %}
{%- set timestamp_short_format = timestamp_short_format is not defined and
'%b %d' or timestamp_short_format %}
{# Macros ------------------------------------------------------------------- #}
{# Blog header #}
{%- macro blog_header() %}
{%- endmacro %}
{# RSS link #}
{%- macro rss_link() %}
{%- endmacro %}
{# List of blog pages #}
{%- macro page_nav() %}
{% for page in pages %}
-
{{ page[1] }}
{% endfor %}
{%- if rss_in_page_nav %}
-
{{ rss_link() }}
{%- endif %}
{%- endmacro %}
{# Navigation #}
{%- macro tinkerer_relbar() %}
{%- if prev or next %}
{%- endif %}
{%- endmacro %}
{# Timestamp #}
{%- macro timestamp(date, fmt) %}
{%- if date %}
{{ date.strftime(fmt) }}
{%- endif %}
{%- endmacro %}
{# Author #}
{%- macro author(author_name) %}
{%- if author_name %}
Posted by {{ author_name }}
{%- endif %}
{%- endmacro %}
{# Categories #}
{%- macro category_list(post_categories) %}
{%- if post_categories %}
Filed under:
{% for link, category in post_categories %}
{{ category }}
{%- if not loop.last %}, {%- endif %}
{% endfor %}
{%- endif %}
{%- endmacro %}
{# Tags #}
{%- macro tag_list(post_tags) %}
{%- if post_tags %}
{%- endif %}
{%- endmacro %}
{# Comment count #}
{%- macro comment_count(code) %}
{%- if code %}
{%- endif %}
{%- endmacro %}
{# Post metadata #}
{%- macro post_meta(metadata, comment_count_code=None) %}
{{ author(metadata.author) }}
{{ category_list(metadata.filing["categories"]) }}
{{ tag_list(metadata.filing["tags"]) }}
{{ comment_count(comment_count_code) }}
{%- endmacro %}
{# Blocks ------------------------------------------------------------------- #}
{%- block header %}
{%- if page_nav_first %}{{ page_nav() }}{%- endif %}
{{ blog_header() }}
{%- if not page_nav_first%}{{ page_nav() }}{%- endif %}
{%- endblock %}
{%- block relbar1 %}{%- endblock %}
{%- block relbar2 %}{%- endblock %}
{% block sidebar1 %}{{ sidebar() }}{% endblock %}
{% block sidebar2 %}{% endblock %}
{% block separator %}{% endblock %}
{%- block footer %}
{%- endblock %}