From c91c4103db37d8a87cb62195e4df60847f9461ae Mon Sep 17 00:00:00 2001 From: Brandon Rozek Date: Thu, 17 Feb 2022 14:09:01 -0500 Subject: [PATCH] More JSON+LD metadata --- layouts/blog/single.html | 4 +++- layouts/partials/footer.html | 10 ++++++++++ layouts/partials/header.html | 3 ++- 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/layouts/blog/single.html b/layouts/blog/single.html index 86d4369..8b58ce3 100644 --- a/layouts/blog/single.html +++ b/layouts/blog/single.html @@ -36,7 +36,9 @@ "author": [{ "@type": "Person", "name": "{{ .Site.Params.Author }}", - "url": "{{ .Site.BaseURL }}" + "url": "{{ .Site.BaseURL }}", + "email": "mailto://{{ .Site.Params.email }}", + "image": "{{ .Site.BaseURL }}/img/{{ .Site.Params.avatar }}" }] } diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index a360088..33dd6b9 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -5,6 +5,16 @@ using a modified version of the pulp theme.

+ {{- range .Site.Params.custom_js -}} diff --git a/layouts/partials/header.html b/layouts/partials/header.html index a68b0c7..8e08865 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -6,7 +6,8 @@

{{ .Site.Params.Author }}

- + +