Moved tag partials to their own folder

This commit is contained in:
Brandon Rozek 2022-05-08 18:06:32 -04:00
parent c3e09727a6
commit 06406fe744
7 changed files with 5 additions and 5 deletions

View file

@ -2,7 +2,7 @@
{{ partial "header.html" . }} {{ partial "header.html" . }}
<main> <main>
{{ partial "date.html" . }} {{ partial "date.html" . }}
{{ partial "tags_list_page.html" . }} {{ partial "tags/page.html" . }}
<!-- content --> <!-- content -->
<div class="e-content"> <div class="e-content">
{{ .Content }} {{ .Content }}

View file

@ -2,7 +2,7 @@
{{ partial "header.html" . }} {{ partial "header.html" . }}
<main> <main>
{{ partial "search.html" . }} {{ partial "search.html" . }}
{{ partial "tags_list_all.html" . }} {{ partial "tags/all.html" . }}
<!-- contents --> <!-- contents -->
<div id="contentsList"> <div id="contentsList">
{{ $listPageDateFormat := .Site.Params.listPageDateFormat | default "January, 2006"}} {{ $listPageDateFormat := .Site.Params.listPageDateFormat | default "January, 2006"}}

View file

@ -10,7 +10,7 @@
{{ .Scratch.Set "beforeDateString" "Published on "}} {{ .Scratch.Set "beforeDateString" "Published on "}}
{{ partial "date.html" . }} {{ partial "date.html" . }}
{{ partial "reading_time.html" . }} {{ partial "reading_time.html" . }}
{{ partial "tags_list_page.html" . }} {{ partial "tags/page.html" . }}
<!-- content --> <!-- content -->
<div class="e-content"> <div class="e-content">
{{ .Content }} {{ .Content }}

View file

@ -2,7 +2,7 @@
{{ partial "header.html" . }} {{ partial "header.html" . }}
<main> <main>
{{ partial "search.html" . }} {{ partial "search.html" . }}
{{ partial "tags_list_all.html" . }} {{ partial "tags/all.html" . }}
<!-- contents --> <!-- contents -->
<div id="contentsList"> <div id="contentsList">
{{ $listPageDateFormat := .Site.Params.listPageDateFormat | default "January, 2006"}} {{ $listPageDateFormat := .Site.Params.listPageDateFormat | default "January, 2006"}}

View file

@ -1,7 +1,7 @@
{{ define "main"}} {{ define "main"}}
{{ partial "header.html" . }} {{ partial "header.html" . }}
<main> <main>
{{ partial "tags_list_all.html" . }} {{ partial "tags/all.html" . }}
</main> </main>
{{ partial "footer.html" . }} {{ partial "footer.html" . }}
{{ end }} {{ end }}