summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--templates/default.html30
-rw-r--r--templates/post-list.html7
-rw-r--r--templates/post.html13
3 files changed, 50 insertions, 0 deletions
diff --git a/templates/default.html b/templates/default.html
new file mode 100644
index 0000000..887060c
--- /dev/null
+++ b/templates/default.html
@@ -0,0 +1,30 @@
+<!doctype html>
+<html lang="en">
+
+<head>
+ <meta charset="utf-8">
+ <meta http-equiv="x-ua-compatible" content="ie=edge">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <title>cel - $title$</title>
+ <link rel="stylesheet" href="/style.css" />
+</head>
+
+<body>
+ <header>
+ <h1><a href="/">~cel</a> <span style="font-style: normal">❀</span> <a href="https://bunny.garden">bunny.garden</a>
+ </h1>
+ </header>
+
+ <main role="main">
+ $body$
+ </main>
+
+ <br>
+ <hr>
+ <footer>
+ <a class="badge" href="https://blos.sm"><img src="https://blos.sm/static/badges/cel.png"></a>
+ <img class="badge" src="https://cel.blos.sm/static/badges/servinghttps_7.png">
+ </footer>
+</body>
+
+</html> \ No newline at end of file
diff --git a/templates/post-list.html b/templates/post-list.html
new file mode 100644
index 0000000..f447bab
--- /dev/null
+++ b/templates/post-list.html
@@ -0,0 +1,7 @@
+<ul id="posts">
+ $for(posts)$
+ <li>
+ <a href="$url$">$date$ - $title$</a>
+ </li>
+ $endfor$
+</ul> \ No newline at end of file
diff --git a/templates/post.html b/templates/post.html
new file mode 100644
index 0000000..80d0291
--- /dev/null
+++ b/templates/post.html
@@ -0,0 +1,13 @@
+<article>
+ <hr>
+ <br>
+ <section class="header">
+ <h1>$title$</h1>
+ <span style="float: right;">$date$</span>
+ </section>
+ <br>
+ <br>
+ <section>
+ $body$
+ </section>
+</article> \ No newline at end of file