aboutsummaryrefslogtreecommitdiff
path: root/index.njk
diff options
context:
space:
mode:
authorMarc Coquand <marcc0000@pm.me>2023-09-10 07:49:49 -0300
committerMarc Coquand <marcc0000@pm.me>2023-09-10 07:49:49 -0300
commit30a031edc5c5f161ba487822a4adb3c60a9864b1 (patch)
treea9c64d6d4059029b4554fba47d6d19e04728c1a2 /index.njk
parent22a335754035ae9ee8d1bbdfc65ad83f8bbe834f (diff)
downloadmccd.space-30a031edc5c5f161ba487822a4adb3c60a9864b1.tar.gz
mccd.space-30a031edc5c5f161ba487822a4adb3c60a9864b1.tar.bz2
mccd.space-30a031edc5c5f161ba487822a4adb3c60a9864b1.zip
Initial commit
Diffstat (limited to '')
-rw-r--r--index.njk36
1 files changed, 36 insertions, 0 deletions
diff --git a/index.njk b/index.njk
new file mode 100644
index 0000000..deb0d86
--- /dev/null
+++ b/index.njk
@@ -0,0 +1,36 @@
+
+<!doctype html>
+<html>
+
+<head>
+ <meta name="description"
+ content="Personal blog of Marc Coquand." />
+ <meta charset="utf-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
+ <link rel="stylesheet" href="css/main.css" />
+ <title>.⌴</title>
+</head>
+
+<div style="margin-top: 0.3rem; display: flex; flex-direction: column;" class="">
+ <div style="display: flex; flex-direction: column; align-items: center; width: 100%; margin-bottom: 2rem; font-size: 27px">
+ <div class="code" style="display: flex; flex-direction: column; align-self: center; line-height: 1.0">
+ <p class="code" style="color: black; align-self: center; margin-bottom: 1rem; font-weight: 700">mccd</p>
+ <p class="code" style="color: black; align-self: center; margin-bottom: 1rem; margin-top:0;font-weight: 700">߸</p>
+ </div>
+ <div class="front-text" style="display: flex; font-size: 12px;">
+ <a class="link" style="margin-right: 0.5rem;" href="https://fosstodon.org/@marcc">mastodon</a>
+ <a class="link" style="margin-right: 0.5rem;" href="/feed.xml">rss</a>
+ <a class="link" href="https://sr.ht/~marcc/">sr.ht</a>
+ </div>
+ </div>
+ <h2 class="side-margin" style="font-size: 26px">Posts</h2>
+ {% for post in collections.post %}
+ <div class="side-margin">
+ <div style="display: flex; align-items: center">
+ <p class="code date" style="margin-right: 0.8rem;">{{post.date.toLocaleDateString("fr-CH")}}</p>
+ <a style="display: flex" class="link front-text" href="{{ post.url | url }}">{{post.data.title}}</a>
+ </div>
+ </div>
+ {% endfor %}
+</div>
+</head>