From 628921d0bbf43178c80df5449e436ca1b07ee8b4 Mon Sep 17 00:00:00 2001 From: davegson <3080765+davegson@users.noreply.github.com> Date: Thu, 9 Apr 2020 10:55:45 +0200 Subject: [PATCH] Replace page layout with new design --- _includes/footer.html | 98 +++++++++++++++++++++++++++++++++++++ _includes/head.html | 4 +- _includes/nav.html | 72 +++++++++++++++++++++++++++ _includes/new/features.html | 31 ------------ _includes/new/footer.html | 56 --------------------- _includes/new/mission.html | 6 --- _includes/new/nav.html | 13 ----- _layouts/page.html | 13 ++--- 8 files changed, 174 insertions(+), 119 deletions(-) create mode 100644 _includes/footer.html create mode 100644 _includes/nav.html delete mode 100644 _includes/new/features.html delete mode 100644 _includes/new/footer.html delete mode 100644 _includes/new/mission.html delete mode 100644 _includes/new/nav.html diff --git a/_includes/footer.html b/_includes/footer.html new file mode 100644 index 0000000..b719a68 --- /dev/null +++ b/_includes/footer.html @@ -0,0 +1,98 @@ + diff --git a/_includes/head.html b/_includes/head.html index b62b7e4..4cee9c8 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -1,7 +1,7 @@ - + {% if page.type == "podcast" %}The Safing Podcast {{ page.title }}{% elsif page.type == "post" %}Safing Blog: {{ page.title }}{% elsif page.title == "Safing" %}{{ page.title }}{% else %}Safing {{ page.title }}{% endif %} @@ -28,5 +28,3 @@ - - diff --git a/_includes/nav.html b/_includes/nav.html new file mode 100644 index 0000000..1acb95e --- /dev/null +++ b/_includes/nav.html @@ -0,0 +1,72 @@ + diff --git a/_includes/new/features.html b/_includes/new/features.html deleted file mode 100644 index 8b16688..0000000 --- a/_includes/new/features.html +++ /dev/null @@ -1,31 +0,0 @@ - -
-
- -
- Privacy first -

- We believe privacy is the foundation to a free & open society. We can only grow if we have a safe place to nourish our best selves. -

-
-
-
- -
- Community -

- Do we walk our talk? You be the judge! If you like what you see, consider helping us by contributing in our community. -

-
-
-
- -
- Open Source -

- Transparency is a key value for us, therefore we release our code open source. If you're a techie, we challenge you to have a look ;) -

-
-
-
-
diff --git a/_includes/new/footer.html b/_includes/new/footer.html deleted file mode 100644 index 10e239b..0000000 --- a/_includes/new/footer.html +++ /dev/null @@ -1,56 +0,0 @@ - -{% unless page.exclude_kickstarter_plug == true %} - - -
-

Raised 11.755€ on Kickstarter - Thank You!

-

Have a look at all the details and watch video updates from the team 🎬

-
-
-
-{% endunless %} - - diff --git a/_includes/new/mission.html b/_includes/new/mission.html deleted file mode 100644 index bc4a0ef..0000000 --- a/_includes/new/mission.html +++ /dev/null @@ -1,6 +0,0 @@ - -
-

Enabling you to reclaim your privacy

-

We're building tools to help everyone withstand today's mass surveillance

-
-
diff --git a/_includes/new/nav.html b/_includes/new/nav.html deleted file mode 100644 index 52e36b5..0000000 --- a/_includes/new/nav.html +++ /dev/null @@ -1,13 +0,0 @@ - diff --git a/_layouts/page.html b/_layouts/page.html index f7aa86c..1bdc3f3 100644 --- a/_layouts/page.html +++ b/_layouts/page.html @@ -1,18 +1,11 @@ - {% if layout.legacy_layout %} - - - {% endif %} {% include head.html %} - - {% include new/nav.html %} - {% if page.include_mission %} - {% include new/mission.html %} - {% endif %} + + {% include nav.html %} {{ content }} - {% include new/footer.html %} + {% include footer.html %}