From a7d18d59a2c76683fd75151cdb703a68b144ce60 Mon Sep 17 00:00:00 2001 From: steven-y-e Date: Thu, 16 Sep 2021 09:00:40 -0400 Subject: [PATCH] refactor(theme): replace $.Site.BaseURL with / no reason not to in this case --- blog/themes/mineral/layouts/_default/single.html | 6 +++--- blog/themes/mineral/layouts/_default/taxonomy.html | 4 ++-- blog/themes/mineral/layouts/_default/terms.html | 4 ++-- blog/themes/mineral/layouts/partials/footer.html | 2 +- blog/themes/mineral/layouts/partials/head.html | 6 +++--- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/blog/themes/mineral/layouts/_default/single.html b/blog/themes/mineral/layouts/_default/single.html index 982369d..f16d2ca 100644 --- a/blog/themes/mineral/layouts/_default/single.html +++ b/blog/themes/mineral/layouts/_default/single.html @@ -1,11 +1,11 @@ {{ define "main" }}
{{ range .Params.categories }} - {{ . }} + {{ . }} {{ end }}
-
+
{{ .Content }}
@@ -14,7 +14,7 @@

Tagged: {{ range .Params.tags }} - #{{ . }} + #{{ . }} {{ end }}

diff --git a/blog/themes/mineral/layouts/_default/taxonomy.html b/blog/themes/mineral/layouts/_default/taxonomy.html index 37144cc..a7fb191 100644 --- a/blog/themes/mineral/layouts/_default/taxonomy.html +++ b/blog/themes/mineral/layouts/_default/taxonomy.html @@ -7,14 +7,14 @@ {{ range $paginator.Pages }}
{{ range .Params.categories }} - {{ . }} + {{ . }} {{ end }}

{{ .Title }}

{{.Date.Format "January 2, 2006"}}

{{ .Summary | plainify | htmlUnescape }}

{{ range .Params.tags }} - #{{ . }} + #{{ . }} {{ end }}

diff --git a/blog/themes/mineral/layouts/_default/terms.html b/blog/themes/mineral/layouts/_default/terms.html index 1bde1c4..e1b42c1 100644 --- a/blog/themes/mineral/layouts/_default/terms.html +++ b/blog/themes/mineral/layouts/_default/terms.html @@ -7,13 +7,13 @@ {{ range $paginator.Pages }}
{{ range .Params.categories }} - {{ . }} + {{ . }} {{ end }}

{{ .Title }}

{{ .Summary | plainify | htmlUnescape }}

{{ range .Params.tags }} - #{{ . }} + #{{ . }} {{ end }}

diff --git a/blog/themes/mineral/layouts/partials/footer.html b/blog/themes/mineral/layouts/partials/footer.html index 37865be..3eb2677 100644 --- a/blog/themes/mineral/layouts/partials/footer.html +++ b/blog/themes/mineral/layouts/partials/footer.html @@ -1,7 +1,7 @@