{% macro genurl(string, force=False) %} {% if (force or ( string.startswith('/') and not string.startswith('//') )) %} {% set url = '/'.join([SITEURL.rstrip('/'),string.lstrip('/')]) %} {{- url -}} {% else %} {{- string -}} {% endif %} {% endmacro %} {% macro newtab(string, force=False) %} {% if ( string.startswith('http://') or string.startswith('https://')) %} target="_blank" {% endif %} {% endmacro %} {{ SITENAME }} {% block header %}{% endblock %} {% block template_content_head %}{% endblock %} {% block content %}{% endblock %} {% block template_content_footer %}{% endblock %}