-
magicfelix authoredmagicfelix authored
content.html 1.11 KiB
{% extends "base.html" %}
{% block main %}
<section class="section">
<div class="container">
<h1 class="title is-1">{{ page.title }}</h1>
{% block content %}
{% if page.content %}
<div class="content mt-4">
{{ page.content | safe }}
</div>
{% else %}
{% set title = "Diese Seite fehlt leider noch" -%}
{% set body = "Da der Aufbau unserer neuen Website sehr aufwendig ist, sind die Informationen auf dieser Seite leider noch nicht vollständig." -%}
{% include "shortcodes/message.html" %}
{% endif %}
{% endblock content %}
</div>
</section>
{% block related_posts %}
{% set blog_section = get_section(path="blog/_index.md") %}
<section class="section" resource="{{ blog_section.permalink }}" typeof="schema:Blog">
<meta property="schema:publisher" href="https://teckids.org/" />
<div class="container">
<h2 class="title is-2">{{ title | default(value="Aus dem Teckids-Blog") }}</h2>
{% include "pages/related_posts.html" %}
</div>
</section>
{% endblock %}
{% endblock %}