Reintroduce headers / subheaders

This commit is contained in:
davegson 2019-11-11 12:38:31 +01:00
parent dd1db845cd
commit 14e925e4a3
2 changed files with 30 additions and 3 deletions

View file

@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang={{ site.lang }} >
<html lang={{ site.lang }}>
<head>
{% include head.html %}
</head>
@ -8,4 +8,4 @@
{{ content }}
{% include new/footer.html %}
</body>
</html>
</html>

View file

@ -3,7 +3,34 @@ layout: page
---
<content>
<div class="ui {{ page.container_class }} container">
<div class=" ui basic segment">
<div class="ui basic center aligned very padded segment" style="margin: 0;">
<h1 class="">
{% if page.heading %}
{{ page.heading }}
{% elsif page.title %}
{{ page.title }}
{% elsif layout.heading %}
{{ layout.heading }}
{% endif %}
</h1>
{% if page.subheading %}
<h3 class="">
{% if page.subheading %}
{{ page.subheading }}
{% elsif page.title %}
{% elsif layout.subheading %}
{{ layout.subheading }}
{% endif %}
</h3>
{% endif %}
{% if page.include_divider %}
{% include page_divider.html %}
{% endif %}
</div>
<div class=" ui basic segment" style="font-size: 1.3rem;">
{{ content }}
</div>
</div>