aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/_default/home.history.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/default/layouts/_default/home.history.html')
-rw-r--r--themes/default/layouts/_default/home.history.html57
1 files changed, 0 insertions, 57 deletions
diff --git a/themes/default/layouts/_default/home.history.html b/themes/default/layouts/_default/home.history.html
deleted file mode 100644
index 5765826..0000000
--- a/themes/default/layouts/_default/home.history.html
+++ /dev/null
@@ -1,57 +0,0 @@
-{{ define "title" }}Message History — {{ end }}
-{{ define "description" }}This page contains an archive of all messages — {{ end }}
-{{ define "styles" }}
-<style>
- {{ partial "styles-navigator.html" (dict "Link" "/archives/messages/") | safeCSS }}
-</style>
-{{ end }}
-
-{{ define "middle" }}
-
- {{ partial "navigator-middle.html"
- (dict
- "Title" "History"
- "Subtitle" (partial "count-total-messages.html" .)
- "Icon" "arrow-left"
- "IconLabel" "Back"
- "Href" "/"
- "Id" "back"
- "Context" .
- )
- }}
-
- {{- $author := partial "function-authors-data.html" . -}}
-
- <history-archive>
- <item-list>
- {{ range (.Paginator.Pages.GroupByDate "2006") }}
- {{ range (first 1 .Pages) }}
- <h1>{{ .Date.Format "2006" }}</h1>
- {{ end }}
- <ul>
- {{ range .Pages }}
- <li>
- <a
- title="{{ partial "meta-title.html" . }}"
- href="{{ .RelPermalink }}#{{ partial "card-id.html" . }}"
- >
- <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-title.html" . }}</span>
- <span>@{{ $author.user }}</span>
- </a>
- </li>
- {{ end }}
- </ul>
- {{ end }}
- </item-list>
- </history-archive>
-
- {{ partial "pagination.html" . }}
-
-{{ end }}
-
-{{ define "right" }}
- {{- partial "navigator-right.html" . -}}
-{{ end }}