Skip to content
Snippets Groups Projects
Commit ed4a08d0 authored by magicfelix's avatar magicfelix
Browse files

Add basic page template

parent 3f3473a9
No related branches found
No related tags found
1 merge request!28Neue Website basierend auf Zola
{% extends "base.html" %}
{% block meta %}
{% if page.description %}
<meta name="description" content="{{ page.description }}" />
{% elif config.description %}
<meta name="description" content="{{ config.description }}" />
{% endif %}
{% endblock %}
{% block title %}
{{ page.title }}
{% endblock %}
{% block main %}
{% include "pages/heading.html" %}
<div class="my-4">
<div class="content">
{{ page.content | safe }}
</div>
</div>
{% endblock %}
<section class="hero is-small">
<div class="hero-body">
<div class="container has-text-centered">
<h1 class="title mb-0"><a href="{{ page.permalink }}">{{ page.title }}</a></h1>
{% if page.description %}
<p class="subtitle">
{{ page.description }}
</p>
{% endif %}
</div>
</div>
</section>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment