From 31f9dcf274e5192d112e6835b29954e28b082df4 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Wed, 25 Oct 2017 09:35:55 +0100 Subject: [PATCH] Add super basic navbar and index --- layouts/_default/baseof.html | 53 ++++++++++++++++++++++++++++++++++ layouts/index.html | 8 +++++ layouts/partials/metadata.html | 38 ------------------------ static/src/scss/style.scss | 18 ++++++++++++ 4 files changed, 79 insertions(+), 38 deletions(-) create mode 100644 layouts/_default/baseof.html create mode 100644 layouts/index.html delete mode 100644 layouts/partials/metadata.html diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html new file mode 100644 index 0000000..bb39d22 --- /dev/null +++ b/layouts/_default/baseof.html @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + +{{ block "main" . }}{{ end }} + + + + + + diff --git a/layouts/index.html b/layouts/index.html new file mode 100644 index 0000000..c93f577 --- /dev/null +++ b/layouts/index.html @@ -0,0 +1,8 @@ +{{ define "main" }} +
+
+

{{ .Title }}

+

{{ .RawContent }}

+
+
+{{ end }} diff --git a/layouts/partials/metadata.html b/layouts/partials/metadata.html deleted file mode 100644 index f199b59..0000000 --- a/layouts/partials/metadata.html +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - -{{ if .Params.image }} - - -{{ end }} - - - - -{{ if .Params.image }} - -{{ end }} - - - - - - -{{ if .Params.image }} - -{{ end }} - - - - - - - - - -{{ range .AlternativeOutputFormats }} - -{{ end }} diff --git a/static/src/scss/style.scss b/static/src/scss/style.scss index 39ba103..0a447e0 100644 --- a/static/src/scss/style.scss +++ b/static/src/scss/style.scss @@ -78,3 +78,21 @@ code { table td { vertical-align: middle; } + +.navbar { + padding-top: 0; + padding-bottom: 0; + + .navbar-brand { + font-size: $font-size-base; + } + + .nav-link { + padding-left: $font-size-base !important; + padding-right: $font-size-base !important; + } +} + +.bg-black { + background-color: #000; +}