From 06406fe744dab5ff169a5217bfdfbb6209e87830 Mon Sep 17 00:00:00 2001 From: Brandon Rozek Date: Sun, 8 May 2022 18:06:32 -0400 Subject: [PATCH] Moved tag partials to their own folder --- layouts/_default/single.html | 2 +- layouts/blog/list.html | 2 +- layouts/blog/single.html | 2 +- layouts/partials/{tags_list_all.html => tags/all.html} | 0 layouts/partials/{tags_list_page.html => tags/page.html} | 0 layouts/tags/list.html | 2 +- layouts/tags/terms.html | 2 +- 7 files changed, 5 insertions(+), 5 deletions(-) rename layouts/partials/{tags_list_all.html => tags/all.html} (100%) rename layouts/partials/{tags_list_page.html => tags/page.html} (100%) diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 119b7f8..c7ce0bd 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -2,7 +2,7 @@ {{ partial "header.html" . }}
{{ partial "date.html" . }} - {{ partial "tags_list_page.html" . }} + {{ partial "tags/page.html" . }}
{{ .Content }} diff --git a/layouts/blog/list.html b/layouts/blog/list.html index 34b49f7..8133c8e 100644 --- a/layouts/blog/list.html +++ b/layouts/blog/list.html @@ -2,7 +2,7 @@ {{ partial "header.html" . }}
{{ partial "search.html" . }} - {{ partial "tags_list_all.html" . }} + {{ partial "tags/all.html" . }}
{{ $listPageDateFormat := .Site.Params.listPageDateFormat | default "January, 2006"}} diff --git a/layouts/blog/single.html b/layouts/blog/single.html index 202dfa0..b14c38d 100644 --- a/layouts/blog/single.html +++ b/layouts/blog/single.html @@ -10,7 +10,7 @@ {{ .Scratch.Set "beforeDateString" "Published on "}} {{ partial "date.html" . }} {{ partial "reading_time.html" . }} - {{ partial "tags_list_page.html" . }} + {{ partial "tags/page.html" . }}
{{ .Content }} diff --git a/layouts/partials/tags_list_all.html b/layouts/partials/tags/all.html similarity index 100% rename from layouts/partials/tags_list_all.html rename to layouts/partials/tags/all.html diff --git a/layouts/partials/tags_list_page.html b/layouts/partials/tags/page.html similarity index 100% rename from layouts/partials/tags_list_page.html rename to layouts/partials/tags/page.html diff --git a/layouts/tags/list.html b/layouts/tags/list.html index 28ddf3a..9258f6a 100644 --- a/layouts/tags/list.html +++ b/layouts/tags/list.html @@ -2,7 +2,7 @@ {{ partial "header.html" . }}
{{ partial "search.html" . }} - {{ partial "tags_list_all.html" . }} + {{ partial "tags/all.html" . }}
{{ $listPageDateFormat := .Site.Params.listPageDateFormat | default "January, 2006"}} diff --git a/layouts/tags/terms.html b/layouts/tags/terms.html index c764368..8941263 100644 --- a/layouts/tags/terms.html +++ b/layouts/tags/terms.html @@ -1,7 +1,7 @@ {{ define "main"}} {{ partial "header.html" . }}
- {{ partial "tags_list_all.html" . }} + {{ partial "tags/all.html" . }}
{{ partial "footer.html" . }} {{ end }}