From eb611c88f20ea510c4d643e49ee0f2a54ff01b91 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sat, 11 Nov 2017 21:53:54 +0000 Subject: [PATCH] Add metadata --- config.yml | 1 + layouts/_default/baseof.html | 2 ++ layouts/partials/metadata.html | 38 ++++++++++++++++++++++++++++++++++ 3 files changed, 41 insertions(+) create mode 100644 layouts/partials/metadata.html diff --git a/config.yml b/config.yml index 447fd26..f30f7fc 100644 --- a/config.yml +++ b/config.yml @@ -7,6 +7,7 @@ params: author_name: Jake Howard nav_items: 5 index_items: 6 + iso8601: "2006-01-02T15:04:05" summaryLength: 40 diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 97dd2e5..fd20a37 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -11,6 +11,8 @@ {{ .Title }} :: {{ .Site.Title }} + + {{ partial "metadata.html" . }} diff --git a/layouts/partials/metadata.html b/layouts/partials/metadata.html new file mode 100644 index 0000000..c16a6b2 --- /dev/null +++ b/layouts/partials/metadata.html @@ -0,0 +1,38 @@ + + + + + + +{{ if .Params.image }} + + +{{ end }} + + + + +{{ if .Params.image }} + +{{ end }} + + + + + + +{{ if .Params.image }} + +{{ end }} + + + + + + + + + +{{ range .AlternativeOutputFormats }} + +{{ end }}