summary refs log tree commit diff homepage
path: root/templates/directory.html
diff options
context:
space:
mode:
authorNguyễn Gia Phong <mcsinyx@disroot.org>2022-06-28 02:02:17 +0900
committerNguyễn Gia Phong <mcsinyx@disroot.org>2022-06-28 02:02:17 +0900
commit4fa6f1621b406ce58b91a4ae9a58b392d78b7008 (patch)
treecdf18a6881b65e57e5a57af443cf5bc54aab806e /templates/directory.html
parentb2195e98804c404e80a5cc4e649d4e59f0d40be7 (diff)
downloadphylactery-4fa6f1621b406ce58b91a4ae9a58b392d78b7008.tar.gz
Abstract template and style
Diffstat (limited to 'templates/directory.html')
-rw-r--r--templates/directory.html10
1 files changed, 4 insertions, 6 deletions
diff --git a/templates/directory.html b/templates/directory.html
index c89d388..6fc35fa 100644
--- a/templates/directory.html
+++ b/templates/directory.html
@@ -1,12 +1,10 @@
-<!DOCTYPE html>
-<html lang=en>
-<meta charset=utf-8>
-<link rel=icon href=/static/favicon.svg>
+{{template "base-head.html" -}}
+<link rel=stylesheet href=/static/directory.css>
 <title>{{.Title}}</title>
 <body>
   <main>
-    <p><a href=../>../</a></p>{{range .Entries}}
-    <p><a href="./{{.}}">{{.}}</a></p>{{end}}
+    <a href=../><p>../</p></a>{{range .Entries}}
+    <a href="./{{.}}"><p>{{.}}</p></a>{{end}}
   </main>
 </body>
 </html>