summaryrefslogtreecommitdiff
path: root/layouts/updates/list.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/updates/list.html')
-rw-r--r--layouts/updates/list.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/layouts/updates/list.html b/layouts/updates/list.html
new file mode 100644
index 0000000..125ba79
--- /dev/null
+++ b/layouts/updates/list.html
@@ -0,0 +1,20 @@
+{{ define "main" }}
+ <article lang="{{ default "en" .Params.lang }}">
+ <header class="document-header">
+ <h1>{{ .Title }}</h1>
+ </header>
+ {{ .Content }}
+ {{- $items := partial "updated-items.html" . -}}
+ <section class="updates-list" aria-label="All updates">
+ <ol class="document-list">
+ {{- range $items }}
+ <li>
+ <time datetime="{{ .sortDate }}">{{ .sortDate }}</time>
+ <span class="document-kind">[{{ .kind }}]</span>
+ <a href="{{ .page.RelPermalink }}" lang="{{ .page.Params.lang }}">{{ .page.LinkTitle }}</a>
+ </li>
+ {{- end }}
+ </ol>
+ </section>
+ </article>
+{{ end }}