From 3572948953dbea0d84446c0dfe70b1d86c9e2e15 Mon Sep 17 00:00:00 2001 From: Rohan Kumar Date: Tue, 8 Mar 2022 11:13:05 -0800 Subject: [PATCH] Meta stuff - SearchMySite.net uses the "keywords" meta property to categorize sites, so include keywords on the homepage - Exclude the published date if it doesn't exist. --- layouts/partials/head.html | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index ba7c4ab..310519f 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -5,12 +5,18 @@ {{- if and (eq .Site.BaseURL "https://seirdy.one/") (eq .Site.BaseURL "http://wgq3bd2kqoybhstp77i3wrzbfnsyd27wt34psaja4grqiezqircorkyd.onion/") -}} - + {{- end }} +{{ .Title }}{{ if and (lt (len .Title) 66) (ne .RelPermalink "/") }} - Seirdy{{ end }} +{{ if (eq .RelPermalink "/") -}} + +{{- end -}} +{{ if gt .Date 0 -}} +{{ end -}} {{ if lt .Date .Lastmod -}} {{ end -}} @@ -39,7 +45,6 @@ {{- end -}} {{- $css := $resources | resources.Concat "css/style.css" | minify -}} -{{ .Title }}{{ if and (lt (len .Title) 66) (ne .RelPermalink "/") }} - Seirdy{{ end }} {{- if (eq "page" .Kind) }}