mirror of
https://github.com/safing/web
synced 2025-04-17 17:39:08 +00:00
Remove unneeded layout
This commit is contained in:
parent
e24d91872c
commit
8e55a61813
4 changed files with 3 additions and 39 deletions
|
@ -1,36 +0,0 @@
|
|||
---
|
||||
layout: page
|
||||
legacy_layout: true
|
||||
---
|
||||
<content>
|
||||
<div class="ui {{ page.container_class }} container">
|
||||
{% if page.heading or page.title or layout.heading %}
|
||||
<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 %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<div class=" ui basic segment" style="font-size: 1.3rem;">
|
||||
{{ content }}
|
||||
</div>
|
||||
</div>
|
||||
</content>
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
layout: page_column
|
||||
layout: page
|
||||
title: "Blog"
|
||||
heading: "Blog"
|
||||
subheading: "Announcements and things we'd like to share"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
layout: page_column
|
||||
layout: page
|
||||
title: Contact
|
||||
heading: Contact
|
||||
---
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
layout: page_column
|
||||
layout: page
|
||||
title: newsletter
|
||||
heading: Subscribe to our Newsletter
|
||||
---
|
||||
|
|
Loading…
Add table
Reference in a new issue