From f3100389c99c1b57aacc30dd5047cfd19988be5e Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Fri, 1 Nov 2024 15:36:24 +0000 Subject: [PATCH] feat : Add Structured data schema support for Issue #98 Signed-off-by: GitHub Action --- layouts/_default/baseof.html | 1 + layouts/partials/webschema.html | 69 +++++++++++++++++++++++++++++++++ 2 files changed, 70 insertions(+) create mode 100644 layouts/partials/webschema.html diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index d1717f3..52acb4c 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -9,6 +9,7 @@ {{ $author := (.Params.author | default .Site.Params.author.name) -}} {{- with .Page.Params.description | default .Site.Params.description -}}{{- end -}} {{- partial "structure-extra.html" . -}} +{{- partial "webschema.html" . -}} {{.Title}} {{ range .AlternativeOutputFormats -}} {{ printf `` .Rel .MediaType.Type .Permalink $.Title | safeHTML }} diff --git a/layouts/partials/webschema.html b/layouts/partials/webschema.html new file mode 100644 index 0000000..da8cb1e --- /dev/null +++ b/layouts/partials/webschema.html @@ -0,0 +1,69 @@ +{{- if .IsHome -}} + +{{- else if .IsPage }} + +{{- end -}} \ No newline at end of file