diff options
author | tdro <tdro@noreply.example.com> | 2023-05-02 18:18:44 -0400 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2023-05-02 18:18:44 -0400 |
commit | 95d0cf887535137b9f0b04dce166b294db914b03 (patch) | |
tree | 8be4f0b7d7fd36856d5f1dd168553b93835dbc9e /themes | |
parent | 9544fa0c00aec79bff38f43bbdd8fc2ab80f0557 (diff) | |
download | canory-95d0cf887535137b9f0b04dce166b294db914b03.tar.gz canory-95d0cf887535137b9f0b04dce166b294db914b03.tar.bz2 canory-95d0cf887535137b9f0b04dce166b294db914b03.zip |
themes/default/layouts: Squash history + records -> archives0.11.12
That was as interesting experiment..
Diffstat (limited to 'themes')
-rw-r--r-- | themes/default/layouts/_default/home.archives.html (renamed from themes/default/layouts/_default/home.history.html) | 8 | ||||
-rw-r--r-- | themes/default/layouts/_default/home.records.html | 52 | ||||
-rw-r--r-- | themes/default/layouts/shortcodes/version.html | 2 |
3 files changed, 5 insertions, 57 deletions
diff --git a/themes/default/layouts/_default/home.history.html b/themes/default/layouts/_default/home.archives.html index 5765826..370bec0 100644 --- a/themes/default/layouts/_default/home.history.html +++ b/themes/default/layouts/_default/home.archives.html @@ -1,4 +1,4 @@ -{{ define "title" }}Message History — {{ end }} +{{ define "title" }}Message Archive — {{ end }} {{ define "description" }}This page contains an archive of all messages — {{ end }} {{ define "styles" }} <style> @@ -10,7 +10,7 @@ {{ partial "navigator-middle.html" (dict - "Title" "History" + "Title" "Archives" "Subtitle" (partial "count-total-messages.html" .) "Icon" "arrow-left" "IconLabel" "Back" @@ -22,7 +22,7 @@ {{- $author := partial "function-authors-data.html" . -}} - <history-archive> + <archive-list> <item-list> {{ range (.Paginator.Pages.GroupByDate "2006") }} {{ range (first 1 .Pages) }} @@ -46,7 +46,7 @@ </ul> {{ end }} </item-list> - </history-archive> + </archive-list> {{ partial "pagination.html" . }} diff --git a/themes/default/layouts/_default/home.records.html b/themes/default/layouts/_default/home.records.html deleted file mode 100644 index 137c673..0000000 --- a/themes/default/layouts/_default/home.records.html +++ /dev/null @@ -1,52 +0,0 @@ -{{ define "title" }}Tags Archive — {{ end }} -{{ define "description" }}This page contains an archive of all tags — {{ end }} -{{ define "styles" }} -<style> - {{ partial "styles-navigator.html" (dict "Link" "/archives/tags/") | safeCSS }} -</style> -{{ end }} - -{{ define "middle" }} - - {{ partial "navigator-middle.html" - (dict - "Title" "Records" - "Subtitle" (partial "count-tags.html" .) - "Icon" "arrow-left" - "IconLabel" "Back" - "Href" "/" - "Id" "back" - "Context" . - ) - }} - - {{- $author := partial "function-authors-data.html" . -}} - - <records-archive> - <item-list> - {{ range (.Paginator.Pages.GroupByDate "2006") }} - {{ range (first 1 .Pages) }} - <h1>{{ .Date.Format "2006" }}</h1> - {{ end }} - <ul> - {{ range .Pages }} - <li> - <span> - <code title="{{ .Date | time.Format "Posted: Monday, January 2, 2006 at 15:04:05 MST" }}">{{ .Date.Format "02 Jan" }}</code> - </span> - <span>{{ partial "meta-tags.html" . }} — {{ partial "meta-title.html" . }}</span> - <span>@{{ $author.user }}</span> - </li> - {{ end }} - </ul> - {{ end }} - </item-list> - </records-archive> - - {{ partial "pagination.html" . }} - -{{ end }} - -{{ define "right" }} - {{- partial "navigator-right.html" . -}} -{{ end }} diff --git a/themes/default/layouts/shortcodes/version.html b/themes/default/layouts/shortcodes/version.html index 11e7685..9c028c7 100644 --- a/themes/default/layouts/shortcodes/version.html +++ b/themes/default/layouts/shortcodes/version.html @@ -1,4 +1,4 @@ -{{- $theme := "0.11.11" -}} +{{- $theme := "0.11.12" -}} {{- $generator := "0.108.0" -}} {{- $number := default false (.Get "number" | default (.Get 0)) -}} |