diff options
author | cel 🌸 <cel@blos.sm> | 2024-05-07 05:21:25 +0100 |
---|---|---|
committer | cel 🌸 <cel@blos.sm> | 2024-05-07 05:21:25 +0100 |
commit | baacd0288136b41507479bc40c29f4f69e1f688a (patch) | |
tree | 38f9023bbd118f11a9211aab656c859ae2904ce2 /templates | |
download | bunblog-baacd0288136b41507479bc40c29f4f69e1f688a.tar.gz bunblog-baacd0288136b41507479bc40c29f4f69e1f688a.tar.bz2 bunblog-baacd0288136b41507479bc40c29f4f69e1f688a.zip |
initial commit
Diffstat (limited to 'templates')
-rw-r--r-- | templates/default.html | 30 | ||||
-rw-r--r-- | templates/post-list.html | 7 | ||||
-rw-r--r-- | templates/post.html | 13 |
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 |