From b3f976b16210d2f2fd654530583bd141cd239c07 Mon Sep 17 00:00:00 2001 From: Wladimir Schmidt Date: Sun, 14 May 2017 23:27:36 +0200 Subject: [PATCH] * extracted meta information from head.html into partials meta.html * modified meta parameters to have description and keywords generated via site parameters --- layouts/partials/head.html | 13 ++----------- layouts/partials/meta.html | 6 ++++++ layouts/partials/og.html | 16 ++++++++-------- 3 files changed, 16 insertions(+), 19 deletions(-) create mode 100644 layouts/partials/meta.html diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 3c6378b..4e6529b 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,10 +1,9 @@ - {{ .Title }}{{ if ne .Title .Site.Title }} // {{ .Site.Title }}{{ end }} - + {{ partial "meta.html" . }} {{ partial "og.html" . }} @@ -16,14 +15,6 @@ - - - - - - - - - + {{ .Hugo.Generator }} diff --git a/layouts/partials/meta.html b/layouts/partials/meta.html new file mode 100644 index 0000000..6a1975a --- /dev/null +++ b/layouts/partials/meta.html @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/layouts/partials/og.html b/layouts/partials/og.html index 47ac989..077740a 100644 --- a/layouts/partials/og.html +++ b/layouts/partials/og.html @@ -1,8 +1,8 @@ - - - - - -{{ if .Params.ogimage }} - -{{ end }} \ No newline at end of file + + + + + + {{ if .Params.ogimage }} + + {{ end }} \ No newline at end of file