From 1358e64bc65dc13b72dbff1a2421b925193cde40 Mon Sep 17 00:00:00 2001 From: Niels Gouman Date: Wed, 7 Oct 2020 23:04:32 +0200 Subject: [PATCH] Changes all URL's to be relative URL's instead of absolute URL's. --- layouts/_default/list.html | 4 ++-- layouts/_default/terms.html | 4 ++-- layouts/index.html | 8 ++++---- layouts/partials/favicon.html | 2 +- layouts/partials/head.html | 4 ++-- layouts/partials/header.html | 8 ++++---- layouts/partials/page_nav.html | 4 ++-- 7 files changed, 17 insertions(+), 17 deletions(-) diff --git a/layouts/_default/list.html b/layouts/_default/list.html index e674a113..8fdf2a25 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -12,11 +12,11 @@

{{ $pageYear }}

- {{ if .Title }} {{ .Title }} {{ else }} Untitled {{ end }} + {{ if .Title }} {{ .Title }} {{ else }} Untitled {{ end }} {{ end }} {{ partial "pagination.html" . }} -{{ end }} \ No newline at end of file +{{ end }} diff --git a/layouts/_default/terms.html b/layouts/_default/terms.html index 704ab996..84827485 100644 --- a/layouts/_default/terms.html +++ b/layouts/_default/terms.html @@ -11,7 +11,7 @@
{{ $AllRegularPagesCount := len .Site.RegularPages }} {{ range $elem := .Data.Terms.Alphabetical }} - + {{- .Page.Title -}} {{ end }} @@ -28,7 +28,7 @@ @@ -78,7 +78,7 @@ {{ range (first (.Scratch.Get "count") (sort .Site.RegularPages "Date" "desc")) }}
  • - {{ if .Title }} {{- .Title -}} {{ else }} {{- print "Untitled" -}}{{ end }} + {{ if .Title }} {{- .Title -}} {{ else }} {{- print "Untitled" -}}{{ end }}
  • {{ end }} diff --git a/layouts/partials/favicon.html b/layouts/partials/favicon.html index 5b4c0b3a..0d787b63 100644 --- a/layouts/partials/favicon.html +++ b/layouts/partials/favicon.html @@ -1,2 +1,2 @@ - + diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 8c2181eb..8699cbe3 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -13,7 +13,7 @@ {{ .Scratch.Set "colortheme" .Site.Params.Colortheme }} {{ end }} {{ $colortheme := .Scratch.Get "colortheme" }} - + {{ `