mirror of
https://github.com/safing/web
synced 2025-09-01 10:39:03 +00:00
Reintroduce headers / subheaders
This commit is contained in:
parent
dd1db845cd
commit
14e925e4a3
2 changed files with 30 additions and 3 deletions
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue