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 @@ +