From 4d4059bb1a591b0cb6031d043c4cc0f8ce7592cb Mon Sep 17 00:00:00 2001 From: Eduardo Date: Wed, 20 Feb 2019 00:00:22 +0100 Subject: [PATCH] =?UTF-8?q?Header=20progress=20=F0=9F=9B=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- default.hbs | 5 ++++ index.hbs | 3 +++ partials/header.hbs | 34 ++++++++++++++++++++++++++ partials/navigation.hbs | 53 +++++++++++++++++++++++++++++++++++++++++ 4 files changed, 95 insertions(+) create mode 100644 partials/header.hbs create mode 100644 partials/navigation.hbs diff --git a/default.hbs b/default.hbs index 5c6bafc..b28e303 100644 --- a/default.hbs +++ b/default.hbs @@ -25,6 +25,11 @@ {{!-- The footer --}} {{> footer}} + {{!-- Common scripts shared between pages --}} + + + + {{!-- The #block helper will pull in data from the #contentFor other template files --}} {{{block "scripts"}}} diff --git a/index.hbs b/index.hbs index 102f48d..54f59d5 100644 --- a/index.hbs +++ b/index.hbs @@ -1,2 +1,5 @@ {{!< default}} {{!-- Insert everything in this file into the {body} of the default.hbs template --}} + +{{!-- The header --}} +{{> header background=@site.cover_image}} diff --git a/partials/header.hbs b/partials/header.hbs new file mode 100644 index 0000000..1cd1e13 --- /dev/null +++ b/partials/header.hbs @@ -0,0 +1,34 @@ + diff --git a/partials/navigation.hbs b/partials/navigation.hbs new file mode 100644 index 0000000..e7e80e5 --- /dev/null +++ b/partials/navigation.hbs @@ -0,0 +1,53 @@ +