From b343bac3f9e267501d25068686f4eec0adaaab9d Mon Sep 17 00:00:00 2001 From: leafee98 Date: Mon, 16 May 2022 18:46:25 +0800 Subject: [PATCH] handle all manually wirte URL with relURL --- layouts/_default/list.html | 4 ++-- layouts/_default/single.html | 6 +++--- layouts/index.html | 6 +++--- layouts/partials/head.html | 2 +- layouts/partials/header.html | 2 +- layouts/partials/side-categories.html | 4 ++-- layouts/partials/side-tags.html | 4 ++-- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 80d0e1a..393c3c1 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -17,7 +17,7 @@ {{ with .Params.tags }} {{ range . }} - {{ . }} + {{ . }} {{ end }} {{ end }} @@ -30,4 +30,4 @@ -{{ end }} \ No newline at end of file +{{ end }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html index cb00381..fe05600 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -18,7 +18,7 @@
Categories: {{ range . }} - {{ . }} + {{ . }} {{ end }}
{{ end }} @@ -27,7 +27,7 @@
Tags: {{ range . }} - {{ . }} + {{ . }} {{ end }}
{{ end }} @@ -46,4 +46,4 @@ {{ end }} -{{ end }} \ No newline at end of file +{{ end }} diff --git a/layouts/index.html b/layouts/index.html index e503274..ef54ebc 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -17,7 +17,7 @@
Categories: {{ range first 2 . }} - {{ . }} + {{ . }} {{ end }}
{{ end }} @@ -26,7 +26,7 @@
Tags: {{ range first 5 . }} - {{ . }} + {{ . }} {{ end }}
{{ end }} @@ -39,4 +39,4 @@ {{ partial "pagination.html" . }} -{{ end }} \ No newline at end of file +{{ end }} diff --git a/layouts/partials/head.html b/layouts/partials/head.html index b5c2802..b1f80cd 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -7,7 +7,7 @@ {{/* load mermaid if any mermaid code block */}} {{ if .Page.Store.Get "hasMermaid" }} - + {{ end }} diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 231e06d..8f36795 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -19,4 +19,4 @@ {{ end }} - \ No newline at end of file + diff --git a/layouts/partials/side-categories.html b/layouts/partials/side-categories.html index 6f84570..168c167 100644 --- a/layouts/partials/side-categories.html +++ b/layouts/partials/side-categories.html @@ -5,8 +5,8 @@ - \ No newline at end of file + diff --git a/layouts/partials/side-tags.html b/layouts/partials/side-tags.html index 8772457..acee11e 100644 --- a/layouts/partials/side-tags.html +++ b/layouts/partials/side-tags.html @@ -5,8 +5,8 @@ - \ No newline at end of file +