From 884c7caff7d50e3303e956f24d71345c9ed58025 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=93scar=20N=C3=A1jera?= Date: Sun, 8 Jul 2018 21:45:52 +0200 Subject: Top navigation --- layouts/_default/summary.html | 4 ++-- layouts/index.html | 3 --- layouts/partials/head.html | 2 ++ layouts/partials/header.html | 20 ++++++++++++++++++++ 4 files changed, 24 insertions(+), 5 deletions(-) create mode 100644 layouts/partials/header.html diff --git a/layouts/_default/summary.html b/layouts/_default/summary.html index 9e90292..acfd2c4 100644 --- a/layouts/_default/summary.html +++ b/layouts/_default/summary.html @@ -12,8 +12,8 @@ diff --git a/layouts/index.html b/layouts/index.html index b4eaea0..172e87a 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,9 +1,6 @@ {{ define "main" }}
-

{{.Title}}

- -

Posts

{{ range where .Data.Pages "Section" "post" }} diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 011b43d..f061a00 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,5 +1,7 @@ + + + + + + +
{{ .Site.Title }}
+
+ + {{ with ($.Scratch.Get "authorPicture") }} + + + + {{ end }} + -- cgit v1.2.3