mirror of
https://github.com/safing/web
synced 2025-09-01 18:49:06 +00:00
Display heading for pages if defined
needed for ToS, PP etc...
This commit is contained in:
parent
3849bafd69
commit
69a8757f09
1 changed files with 6 additions and 0 deletions
|
@ -9,6 +9,12 @@ layout: page
|
||||||
<div class="py-12 bg-white">
|
<div class="py-12 bg-white">
|
||||||
<div class="max-w-screen-xl mx-auto px-4 sm:px-6 lg:px-8">
|
<div class="max-w-screen-xl mx-auto px-4 sm:px-6 lg:px-8">
|
||||||
<content>
|
<content>
|
||||||
|
{% unless page.heading == null %}
|
||||||
|
<h1 class="text-5xl tracking-tight font-extrabold leading-none">
|
||||||
|
{{ page.heading }}
|
||||||
|
</h1>
|
||||||
|
{% endunless %}
|
||||||
|
|
||||||
{{ content }}
|
{{ content }}
|
||||||
</content>
|
</content>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Reference in a new issue