summary refs log tree commit diff stats
path: root/templates/base.crotmp
diff options
context:
space:
mode:
authorAndinus <andinus@nand.sh>2022-06-09 21:12:03 +0530
committerAndinus <andinus@nand.sh>2022-06-09 21:12:03 +0530
commit2085b4cac3a86d59360531d48251c8ab39dec0dd (patch)
tree53cabc820312da2abff2bbb9b44132b61302cad1 /templates/base.crotmp
parent48df36de5aa962b32d3313d6a9d2ace6a5fdac11 (diff)
downloadcrater-2085b4cac3a86d59360531d48251c8ab39dec0dd.tar.gz
Initial Gallery version
- Handles login, logout, simple directories.
Diffstat (limited to 'templates/base.crotmp')
-rw-r--r--templates/base.crotmp14
1 files changed, 14 insertions, 0 deletions
diff --git a/templates/base.crotmp b/templates/base.crotmp
new file mode 100644
index 0000000..f200241
--- /dev/null
+++ b/templates/base.crotmp
@@ -0,0 +1,14 @@
+<:macro page($title)>
+<!doctype html>
+<html lang="en">
+    <head>
+        <meta charset="utf-8">
+        <meta name="viewport" content="width=device-width, initial-scale=1">
+        <title><$title> - Crater</title>
+        <link rel="stylesheet" href="/resources/css/style.css">
+    </head>
+    <body>
+        <:body>
+    </body>
+</html>
+</:macro>