{# Webmention endpoint (v1.6.0) #} {% if config.WEBMENTION_ENABLED %} {% endif %} {# WebSub hub and topic on feed pages (v2.10.0) #} {% set websub = websub_links() %} {% if websub %} {% endif %} {# Micropub and IndieAuth discovery (independent of Webmention, v2.8.0) #} {# Author's home page: rel=me makes the h-card linking to it this site's representative h-card; rel=author is the authorship fallback (v2.8.0) #} {% set author_home = (author.url or author.me) if author else config.ADMIN_ME %} {% if author_home %} {% endif %} {# rel-me links from discovered author profile (v1.2.0 Phase 2) #} {% if author and author.rel_me_links %} {% for profile_url in author.rel_me_links if profile_url != author_home %} {% endfor %} {% endif %} {% block head %}{% endblock %} {% if config.DEV_MODE %}
WARNING: DEVELOPMENT MODE - Authentication bypassed
{% endif %}
{% with messages = get_flashed_messages(with_categories=true) %} {% if messages %} {% for category, message in messages %}
{{ message }}
{% endfor %} {% endif %} {% endwith %} {% block content %}{% endblock %}