refactor: added the build command to build into static files

This commit is contained in:
2026-01-12 19:19:44 +01:00
parent 4dd7c9c7be
commit 38ef3c3fad
4 changed files with 185 additions and 90 deletions

View File

@@ -5,7 +5,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{ title }}</title>
<link rel="stylesheet" href="/style.css">
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
{% endblock head %}
</head>
@@ -13,7 +13,7 @@
<body {% if no_navigation %}style="padding-top: 40px;"{% endif %}>
{% if not no_navigation %}
<nav>
<a href="/">Home</a>
<a href="{% if is_static %}index.html{% else %}/{% endif %}">Home</a>
</nav>
{% endif %}

View File

@@ -38,8 +38,10 @@ body {
font-size: 14px;
}
article {
max-width: 1000px;
#content {
width: 100%;
max-width: var(--container-width);
min-width: 0;
}
::selection {