summary refs log tree commit diff stats
path: root/templates/base.crotmp
diff options
context:
space:
mode:
authorAndinus <andinus@nand.sh>2022-06-10 23:13:14 +0530
committerAndinus <andinus@nand.sh>2022-06-10 23:16:27 +0530
commitbef200b4669f058ce43ec9c0a3583de7fac558e3 (patch)
tree0b25b603e5ba3f46c2c8396cfcf036923771471e /templates/base.crotmp
parent3a443f9380478ab30a2ba7dc173f5e6de880de03 (diff)
downloadcrater-bef200b4669f058ce43ec9c0a3583de7fac558e3.tar.gz
Add alt tags to images, fix flash of unstyled content
- FOUC: On firefox, maybe the '@import' rule caused this.

Also tried out lightGallery.js for lightbox, it doesn't work with text
& anyways, it's buggy with bricks.js & you have to request license key.
Diffstat (limited to 'templates/base.crotmp')
-rw-r--r--templates/base.crotmp17
1 files changed, 9 insertions, 8 deletions
diff --git a/templates/base.crotmp b/templates/base.crotmp
index f200241..41c0420 100644
--- a/templates/base.crotmp
+++ b/templates/base.crotmp
@@ -1,14 +1,15 @@
 <:macro page($title)>
-<!doctype html>
-<html lang="en">
+  <!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">
+      <meta charset="utf-8">
+      <meta name="viewport" content="width=device-width, initial-scale=1">
+      <title><$title> - Crater</title>
+      <link rel="stylesheet" href="/resources/css/colors.css">
+      <link rel="stylesheet" href="/resources/css/style.css">
     </head>
     <body>
-        <:body>
+      <:body>
     </body>
-</html>
+  </html>
 </:macro>