From a86462deb4f89382da82864c58c8505a5c4fa8de Mon Sep 17 00:00:00 2001 From: zwbetz-gh Date: Tue, 24 Nov 2020 20:51:01 -0600 Subject: prefer rel over abs --- layouts/_default/list.html | 2 +- layouts/partials/head.html | 8 ++++---- layouts/partials/header.html | 2 +- layouts/partials/script.html | 6 +++--- layouts/post/single.html | 2 +- layouts/shortcodes/figureCupper.html | 4 ++-- layouts/shortcodes/gallery.html | 4 ++-- layouts/shortcodes/tested.html | 2 +- 8 files changed, 15 insertions(+), 15 deletions(-) diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 17d9ed2..ece8203 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -13,7 +13,7 @@ {{ range .Pages.ByPublishDate.Reverse }}
  • - + +

    {{ with .Site.Params.description }} {{ . | markdownify }} {{ end }} diff --git a/layouts/partials/script.html b/layouts/partials/script.html index 0c1dd93..6f59c7d 100644 --- a/layouts/partials/script.html +++ b/layouts/partials/script.html @@ -1,8 +1,8 @@ {{ $templateDomScripts := resources.Get "js/template-dom-scripts.js" }} {{ $domScripts := $templateDomScripts | resources.ExecuteAsTemplate "js/dom-scripts.js" . }} - + - + {{ if site.Params.search }} {{ $searchJs := resources.Get "js/search.js" | fingerprint }} @@ -12,5 +12,5 @@ {{ end }} {{ range .Site.Params.customJs }} - + {{ end }} diff --git a/layouts/post/single.html b/layouts/post/single.html index 06466c0..9003db6 100644 --- a/layouts/post/single.html +++ b/layouts/post/single.html @@ -28,7 +28,7 @@ - {{ $href := print ("tags/" | absLangURL) (. | urlize) "/" }} + {{ $href := print ("tags/" | relLangURL) (. | urlize) "/" }} {{ . }}

  • {{ end }} diff --git a/layouts/shortcodes/figureCupper.html b/layouts/shortcodes/figureCupper.html index 90bf2e6..51a0a09 100644 --- a/layouts/shortcodes/figureCupper.html +++ b/layouts/shortcodes/figureCupper.html @@ -19,8 +19,8 @@ {{ end }}
    - - + +
    {{ $caption | markdownify }} diff --git a/layouts/shortcodes/gallery.html b/layouts/shortcodes/gallery.html index d3e972e..d1c7be0 100644 --- a/layouts/shortcodes/gallery.html +++ b/layouts/shortcodes/gallery.html @@ -20,8 +20,8 @@ {{ end }} diff --git a/layouts/shortcodes/tested.html b/layouts/shortcodes/tested.html index 02d0737..0e8d9d3 100644 --- a/layouts/shortcodes/tested.html +++ b/layouts/shortcodes/tested.html @@ -15,7 +15,7 @@ {{ $browser := index $browser 0 }} {{ $version := findRE "[0-9]+$" . }} {{ $slug := replace $browser " " "-" | lower }} - + {{ $browser }} {{ index $version 0 }} {{ if in . "+" }} {{ $parts := split . "+" }} -- cgit v1.2.3