From 6283825517f49afa18b4bb6f1d820a08f8f6e290 Mon Sep 17 00:00:00 2001 From: Alexandre Vicenzi Date: Mon, 10 Feb 2020 19:38:11 +0100 Subject: Lanyon update --- layouts/partials/footer.html | 5 +++++ layouts/partials/head.html | 35 --------------------------------- layouts/partials/head_fonts.html | 1 - layouts/partials/hook_head_end.html | 0 layouts/partials/sidebar.html | 39 +++++++++++++++++++++++++++++-------- layouts/partials/theme-color.html | 17 ++++++++++++++++ 6 files changed, 53 insertions(+), 44 deletions(-) create mode 100644 layouts/partials/footer.html delete mode 100644 layouts/partials/head.html delete mode 100644 layouts/partials/head_fonts.html delete mode 100644 layouts/partials/hook_head_end.html create mode 100644 layouts/partials/theme-color.html (limited to 'layouts/partials') diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html new file mode 100644 index 0000000..d8e44e7 --- /dev/null +++ b/layouts/partials/footer.html @@ -0,0 +1,5 @@ + diff --git a/layouts/partials/head.html b/layouts/partials/head.html deleted file mode 100644 index 56a3157..0000000 --- a/layouts/partials/head.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - {{ hugo.Generator }} - - - - - {{ if .IsHome -}} - {{ .Site.Title }} - {{- else -}} - {{ .Title }} · {{ .Site.Title }} - {{- end }} - - - - - - - - {{ partial "head_fonts.html" . }} - - - - - - - {{ range .AlternativeOutputFormats -}} - {{ printf `` .Permalink .Rel .MediaType.Type $.Site.Title | safeHTML }} - {{ end -}} - - {{ partial "hook_head_end.html" . }} - diff --git a/layouts/partials/head_fonts.html b/layouts/partials/head_fonts.html deleted file mode 100644 index 4729eb2..0000000 --- a/layouts/partials/head_fonts.html +++ /dev/null @@ -1 +0,0 @@ - diff --git a/layouts/partials/hook_head_end.html b/layouts/partials/hook_head_end.html deleted file mode 100644 index e69de29..0000000 diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html index 162fcad..22ecbf5 100644 --- a/layouts/partials/sidebar.html +++ b/layouts/partials/sidebar.html @@ -1,21 +1,44 @@ diff --git a/layouts/partials/theme-color.html b/layouts/partials/theme-color.html new file mode 100644 index 0000000..0f624af --- /dev/null +++ b/layouts/partials/theme-color.html @@ -0,0 +1,17 @@ +{{ with $.Site.Params.themeColor }} + +{{ end }} -- cgit v1.2.1