Include mission header only at about page

This commit is contained in:
davegson 2019-11-25 18:24:51 +01:00
parent 3e9cff7a7a
commit 2758eeac54
5 changed files with 35 additions and 30 deletions

View file

@ -1,6 +1,6 @@
<content class="o-bg">
<div class="mission">
<h1>Enabling you to reclaim your privacy.</h1>
<p>We're building tools to help everyone withstand today's mass surveillance.</p>
</div>
</content>
<div class="mission">
<h1>Enabling you to reclaim your privacy</h1>
<p>We're building tools to help everyone withstand today's mass surveillance</p>
</div>
</content>

View file

@ -9,6 +9,9 @@
</head>
<body>
{% include new/nav.html %}
{% if page.include_mission %}
{% include new/mission.html %}
{% endif %}
{{ content }}
{% include new/footer.html %}
</body>

View file

@ -4,32 +4,34 @@ legacy_layout: true
---
<content>
<div class="ui {{ page.container_class }} container">
<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 }}
{% 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 %}
{% elsif layout.subheading %}
{{ layout.subheading }}
{{ page.title }}
{% elsif layout.heading %}
{{ layout.heading }}
{% endif %}
</h3>
{% endif %}
</h1>
{% if page.include_divider %}
{% include page_divider.html %}
{% endif %}
</div>
{% 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>
{% endif %}
<div class=" ui basic segment" style="font-size: 1.3rem;">
{{ content }}

View file

@ -3,11 +3,10 @@ layout: page
title: Safing
home: true
---
{% include new/mission.html %}
{% include new/header.html %}
{% include new/features.html %}
{% include new/map.html %}
{% include new/overview.html %}
{% include new/about-short.html %}
{% include new/cast.html %}

View file

@ -3,6 +3,7 @@ layout: page_markdown
title: our-values
heading: Our Values
container_class: 'text'
include_mission: true
---
## Ownership