fixed layout

This commit is contained in:
Luca 2024-11-15 11:44:47 +01:00
parent 1302098199
commit 88ded772fd
12 changed files with 263 additions and 151 deletions

View file

@ -10,9 +10,9 @@ title: runtimefee.lol - Homepage
<link rel="stylesheet" href="/css/bundle.css" />
<title>{{ title }}</title>
</head>
<body>
<body class="home">
{% include "_header.njk" %}
<main>{{ content | safe }}</main>
<main class="margin-auto padding-small">{{ content | safe }}</main>
{% include "_footer.njk" %}
</body>
</html>

View file

@ -10,12 +10,18 @@ title: runtimefee.lol
<link rel="stylesheet" href="/css/bundle.css" />
<title>runtimefee.lol - {{ title }}</title>
</head>
<body>
<body class="post">
{% include "_header.njk" %}
<nav><a href="/">back</a></nav>
<aside>Tags: {{ tags }}</aside>
<h1>{{ title }}</h1>
<main>{{ content | safe }}</main>
<div id="post-info" class="padding-small margin-auto">
<nav><a href="/">back</a></nav>
<h1>{{ title }}</h1>
<span
><i class="ti ti-clock ti-font-size margin-right-small"></i>{{ page.date
| date }}</span
>
<aside>Tags:{{ tags | listTags | safe }}</aside>
</div>
<main class="padding-small margin-auto">{{ content | safe }}</main>
{% include "_footer.njk" %}
</body>
</html>