From 9c736e78745119897aa5f1d8b57974f25c9476aa Mon Sep 17 00:00:00 2001 From: Rohan Kumar Date: Sat, 19 Jun 2021 02:36:32 -0700 Subject: [PATCH] Always include canonical URL, index onion --- layouts/partials/head.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 8eebe21..251b956 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -15,12 +15,12 @@ {{ $webmanifest := resources.Get "/manifest.webmanifest" | resources.ExecuteAsTemplate "manifest.webmanifest" . | resources.Minify | resources.Fingerprint "md5" -}} {{ printf `` $webmanifest.RelPermalink | safeHTML }} -{{ if ne .Site.BaseURL "https://seirdy.one/" -}} +{{ if and (ne .Site.BaseURL "https://seirdy.one/") (ne .Site.BaseURL "http://wgq3bd2kqoybhstp77i3wrzbfnsyd27wt34psaja4grqiezqircorkyd.onion/") -}} {{ else -}} - {{ end -}} + {{- $resources := slice -}} {{ $resources = $resources | append (resources.Get "/css/main.css") -}}