diff options
author | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2022-06-28 15:27:06 +0900 |
---|---|---|
committer | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2022-06-28 15:27:06 +0900 |
commit | 5ba68fae053ccabc3161ee4f80963ac0c47ddaf2 (patch) | |
tree | 83eb374a71de46ccb8ec17b803976b9a5e11bb2e /templates | |
parent | e405d3f244d074f00658e020795a90ec3f69add7 (diff) | |
download | phylactery-5ba68fae053ccabc3161ee4f80963ac0c47ddaf2.tar.gz |
Polish up for a release 0.1.0
Diffstat (limited to 'templates')
-rw-r--r-- | templates/archive.html | 3 | ||||
-rw-r--r-- | templates/base-foot.html | 5 | ||||
-rw-r--r-- | templates/directory.html | 3 | ||||
-rw-r--r-- | templates/index.html | 10 |
4 files changed, 7 insertions, 14 deletions
diff --git a/templates/archive.html b/templates/archive.html index ee5d2b3..619a5bc 100644 --- a/templates/archive.html +++ b/templates/archive.html @@ -12,5 +12,4 @@ <main>{{range .Entries}} <img src="?entry={{.Index}}" alt="{{.Name}}">{{end}} </main> -</body> -</html> +{{template "base-foot.html" -}} diff --git a/templates/base-foot.html b/templates/base-foot.html new file mode 100644 index 0000000..caf7fff --- /dev/null +++ b/templates/base-foot.html @@ -0,0 +1,5 @@ + <footer> + Powered by <a href=https://git.sr.ht/~cnx/phylactery>Phylactery</a> + </footer> +</body> +</html> diff --git a/templates/directory.html b/templates/directory.html index a04637e..570e526 100644 --- a/templates/directory.html +++ b/templates/directory.html @@ -6,5 +6,4 @@ <a href=../><p>../</p></a>{{range .Entries}} <a href="./{{. | escape}}"><p>{{.}}</p></a>{{end}} </main> -</body> -</html> +{{template "base-foot.html" -}} diff --git a/templates/index.html b/templates/index.html deleted file mode 100644 index 67f96fb..0000000 --- a/templates/index.html +++ /dev/null @@ -1,10 +0,0 @@ -<!DOCTYPE html> -<html lang=en> -<meta charset=utf-8> -<meta name=viewport content='width=device-width, initial-scale=1'> -<link rel=stylesheet href=/static/style.css> -<link rel=icon href=/static/favicon.svg> -<title>{{.}}</title> -<body> -</body> -</html> |