From dfce7e8e7a7ea9120ea18f5b50643dc12aaec331 Mon Sep 17 00:00:00 2001 From: Mateja Date: Fri, 29 Jan 2021 16:17:09 +0100 Subject: Using Schema.org microdata. --- layouts/_default/baseof.html | 8 -------- layouts/blog/single.html | 18 +++++++++++++++--- 2 files changed, 15 insertions(+), 11 deletions(-) (limited to 'layouts') diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 4a0c152..56e582c 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -5,17 +5,9 @@ - {{ if .Description }} {{ end }} - {{ if .PublishDate }} - - {{ end }} - {{ if .Lastmod }} - - {{ end }} - diff --git a/layouts/blog/single.html b/layouts/blog/single.html index 4db531d..50ec4d8 100644 --- a/layouts/blog/single.html +++ b/layouts/blog/single.html @@ -1,7 +1,19 @@ {{ define "main" }} -

{{ .Title }}

+
+

{{ .Title }}

-{{ .Date.Format "2 Jan 2006" }} + + Published: + + {{ if not (eq .Lastmod .Date) }} +
Modified: + + {{ end }} +
-{{ .Content }} +
+ {{ .Content }} +
+
{{ end }} -- cgit v1.2.3