diff options
Diffstat (limited to '')
-rw-r--r-- | index.njk | 36 |
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> |