{% extends "_base.html" %} {% block page %}prose-page{% endblock page %} {% block lang -%} {%- if section.extra.lang %}{{section.extra.lang}}{% else %}{{page.lang}}{% endif -%} {%- endblock lang %} {% block title %}{{ section.title }}{% endblock title %} {% block desc %} {% endblock desc %} {% block seo -%} {{ super() }} {%- set og_title = section.title -%} {% if config.title and section.title -%} {% set title = section.title ~ " | " ~ config.title -%} {% elif section.title -%} {% set title = section.title -%} {% elif config.title -%} {% set title = config.title -%} {% else -%} {% set title = "" -%} {% endif -%} {% if section.extra.author -%} {% set author = section.extra.author -%} {% endif -%} {% if section.description -%} {% set description = section.description -%} {% endif -%} {% if section.extra.image -%} {% set image = section.extra.image -%} {% endif -%} {% if section.extra.image_height -%} {% set image_height = section.extra.image_height -%} {% endif -%} {% if page.extra.image_width -%} {% set image_width = section.extra.image_width -%} {% endif -%} {{ macros::seo(title=title, og_title=og_title, author=author, description=description, site_url=site_url, image=image, image_height=image_height, image_width=image_width) }} {%- endblock seo %} {% block head %} {% if config.markdown.highlight_theme == "css" %} {% endif %} {% if section.extra.math %} {% endif %} {% endblock head %} {% block content %} {% include "_header.html" %}