restructured to public folder
This commit is contained in:
parent
43addb92a2
commit
83737bd3a6
101 changed files with 2945 additions and 8373 deletions
21
_includes/layouts/base.njk
Normal file
21
_includes/layouts/base.njk
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="stylesheet" href="/css/style.css">
|
||||
<link rel="stylesheet" href="/libraries/fontawesome/css/all.css">
|
||||
<link rel="manifest" href="/pwa.webmanifest" />
|
||||
<title>{{ title }}</title>
|
||||
</head>
|
||||
<body>
|
||||
{% include "_header.njk" %}
|
||||
|
||||
<main>
|
||||
{{ content | safe }}
|
||||
</main>
|
||||
|
||||
{% include "_footer.njk" %}
|
||||
</body>
|
||||
</html>
|
||||
26
_includes/layouts/overview.njk
Normal file
26
_includes/layouts/overview.njk
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="stylesheet" href="/css/style.css">
|
||||
<link rel="stylesheet" href="/libraries/fontawesome/css/all.css">
|
||||
<title>{{ title }}</title>
|
||||
</head>
|
||||
<body>
|
||||
{% include "_header.njk" %}
|
||||
|
||||
<aside class="flex" style="margin-top: 70px;">
|
||||
<h1>{{title}}</h1>
|
||||
</aside>
|
||||
|
||||
<main class="flex">
|
||||
<div class="content-padding container">
|
||||
{{ content | safe }}
|
||||
</div>
|
||||
</main>
|
||||
|
||||
{% include "_footer.njk" %}
|
||||
</body>
|
||||
</html>
|
||||
39
_includes/layouts/post.njk
Normal file
39
_includes/layouts/post.njk
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="stylesheet" href="/css/style.css">
|
||||
<link rel="stylesheet" href="/libraries/fontawesome/css/all.css">
|
||||
<title>{{ title }}</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
{% include "_header.njk" %}
|
||||
|
||||
<div class="post">
|
||||
<aside>
|
||||
<a class="button" onclick="history.back()">
|
||||
<i class="fa fa-solid fa-angle-left"></i> Zurück
|
||||
</a>
|
||||
|
||||
{% if header %}
|
||||
<div>
|
||||
<img src="{{ header }}" alt="{{ title }}">
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<h1 >{{ title }}</h1>
|
||||
<span>{{ page.date | formatDate }}</span>
|
||||
</aside>
|
||||
|
||||
<main class="post-main">
|
||||
<article>
|
||||
{{ content | safe }}
|
||||
</article>
|
||||
</main>
|
||||
</div>
|
||||
{% include "_footer.njk" %}
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue