{% set page_slug = page.slug %} {% extends "base.html" %} {% block title %} {% if page.breadcrumb %} {% set breadcrumbs = page.breadcrumb.strip().split('\n') %} {% for i in breadcrumbs %}{% set url, _, title = i.strip().partition(' ') %}{{ title|e }} » {% endfor %} {% endif %} {% if page.title == SITENAME|e %} {{ page.title -}} {% else %} {{ page.title }} | {{ SITENAME|e -}} {% endif %} {% endblock %} {% block head_links %} {% if page.css %} {% set styles = page.css.strip().split('\n') %} {% for style in styles %} {% endfor %} {% endif %} {% if M_FAVICON %} {% endif %} {% endblock %} {% block meta %} {% if page.description %} {% endif %} {% endblock %} {% block social %} {% if page.summary %} {% endif %} {% if page.cover %} {% elif M_SOCIAL_IMAGE %} {% endif %} {% if not page.cover %} {% endif %} {% endblock %} {% block extra %} {% if page.js %} {% set scripts = page.js.strip().split('\n') %} {% for script in scripts %} {% endfor %} {% endif %} {% if page.html_header %} {{ page.html_header|indent(2) }} {% endif %} {% endblock %} {% block main %} {% if not page.landing %} {% if page.cover %}
{% endif %} {% if page.header %}
{{ page.header|trim|expand_links(page) }}
{% endif %} {% endif %}
{% if page.landing %}
{{ page.landing|trim|expand_links(page) }}
{% endif %}
{% if not page.landing %} {% if page.breadcrumb %}

{% set breadcrumbs = page.breadcrumb.strip().split('\n') %} {% for i in breadcrumbs %} {% set url, _, title = i.strip().partition(' ') %} {{ title|e }} » {% endfor %} {{ page.title }}

{% else %}

{{ page.title }}

{% endif %} {% endif %} {% if page.content %} {{ page.content|trim }} {% endif %}
{% if page.save_as == 'index.html' and not page.url and M_NEWS_ON_INDEX %}

{{ M_NEWS_ON_INDEX[0]|e }} »

    {% for article in articles[0:M_NEWS_ON_INDEX[1]] %}
  • {{ article.title|e }}
  • {% endfor %}
{% endif %}
{% if page.footer %}
{{ page.footer|trim|expand_links(page) }}
{% endif %} {% endblock %}