about summary refs log tree commit diff homepage
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/archive-foot.html2
-rw-r--r--templates/archive-head.html (renamed from templates/archive.html)5
-rw-r--r--templates/archive-page.html1
3 files changed, 4 insertions, 4 deletions
diff --git a/templates/archive-foot.html b/templates/archive-foot.html
new file mode 100644
index 0000000..1e370b9
--- /dev/null
+++ b/templates/archive-foot.html
@@ -0,0 +1,2 @@
+  </main>
+{{template "base-foot.html" -}}
diff --git a/templates/archive.html b/templates/archive-head.html
index 619a5bc..ed643e3 100644
--- a/templates/archive.html
+++ b/templates/archive-head.html
@@ -9,7 +9,4 @@
     <a id=next href="{{.Next | escape}}">NEXT</a>{{else}}
     <a id=next></a>{{end}}
   </nav>
-  <main>{{range .Entries}}
-    <img src="?entry={{.Index}}" alt="{{.Name}}">{{end}}
-  </main>
-{{template "base-foot.html" -}}
+  <main>
diff --git a/templates/archive-page.html b/templates/archive-page.html
new file mode 100644
index 0000000..8011ece
--- /dev/null
+++ b/templates/archive-page.html
@@ -0,0 +1 @@
+    <img src="?entry={{.Index}}" alt="{{.Name}}">