some styling

This commit is contained in:
Rik Berkelder 2025-01-28 03:35:11 +01:00
parent c2595ed3f2
commit d2888356b4
4 changed files with 57 additions and 27 deletions

View file

@ -18,7 +18,9 @@
<html>
<head>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/firacode@6.2.0/distr/fira_code.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inconsolata:wght@400;700&display=swap" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="/style.css" />
<meta charset="utf-8" />

View file

@ -2,10 +2,12 @@
layout: 'base.njk'
---
<div class="blog-main">
<h1>{{title}}</h1>
<small>{{date}} {% if modified !== date %}(Last modified: {{modified}}){% endif %}</small> </br>
<a href="/blog/">&lt;- Back to posts list</a>
<div class="blog">
<div class="blog-header">
<h1>{{title}}</h1>
<small>{{date}} {% if modified !== date %}(Last modified: {{modified}}){% endif %}</small> </br>
<a href="/blog/">&lt;- Back to posts list</a>
</div>
<div class="blog-content">
{{content | safe}}
</div>