add dates to pages (functionality)
This commit is contained in:
parent
91bf744b66
commit
20a120c87b
|
|
@ -1,7 +1,9 @@
|
|||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="description" content="
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta
|
||||
name="description"
|
||||
content="
|
||||
{% if description %}
|
||||
{{ description }}
|
||||
{% else %}
|
||||
|
|
@ -12,16 +14,25 @@
|
|||
<link href="/style.css" rel="stylesheet" />
|
||||
<link rel="icon" type="image/x-icon" href="/_media/favicon.png" />
|
||||
<!-- GOOGLE FONTS -->
|
||||
<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=Fira+Sans:wght@400;600&display=swap" rel="stylesheet">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap" rel="stylesheet">
|
||||
<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=Fira+Sans:wght@400;600&display=swap"
|
||||
rel="stylesheet"
|
||||
/>
|
||||
<link
|
||||
href="https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap"
|
||||
rel="stylesheet"
|
||||
/>
|
||||
<!-- SYNTAX HIGHLIGHTING FONT -->
|
||||
<link rel="stylesheet" href="https://unpkg.com/dracula-prism/dist/css/dracula-prism.css">
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="https://unpkg.com/dracula-prism/dist/css/dracula-prism.css"
|
||||
/>
|
||||
<title>{{ title }}</title>
|
||||
</head>
|
||||
<body class="page--{% if page.fileSlug %}{{ page.fileSlug }}{% endif %}">
|
||||
<div class="reader-bar-start">
|
||||
</head>
|
||||
<body class="page--{% if page.fileSlug %}{{ page.fileSlug }}{% endif %}">
|
||||
<div class="reader-bar-start">
|
||||
<div class="header">
|
||||
<h1 class="website-title"><i>{{ title }}</i></h1>
|
||||
</div>
|
||||
|
|
@ -33,16 +44,25 @@
|
|||
</div>
|
||||
|
||||
<div class="column right content">
|
||||
{% if content | toc | safe %}
|
||||
<details class="table-of-contents">
|
||||
<summary class="toc-header">Table of Contents</summary>
|
||||
<p>
|
||||
{{ content | toc | safe}}
|
||||
</p>
|
||||
</details>
|
||||
{% if dateCreated %} Published:
|
||||
<i
|
||||
>{{ dateCreated.toLocaleString("en-AU", { weekday: "long", year:
|
||||
"numeric", month: "long", day: "numeric" }) }}</i
|
||||
>
|
||||
{% endif %}
|
||||
|
||||
{{ content | safe}}
|
||||
<br />
|
||||
{% if dateChanged %} Published:
|
||||
<i
|
||||
>{{ dateChanged.toLocaleString("en-AU", { weekday: "long", year:
|
||||
"numeric", month: "long", day: "numeric" }) }}</i
|
||||
>
|
||||
{% endif %} {% if content | toc | safe %}
|
||||
<h1>Table of Contents</h1>
|
||||
<details class="table-of-contents">
|
||||
<summary>Click to open</summary>
|
||||
<p>{{ content | toc | safe}}</p>
|
||||
</details>
|
||||
{% endif %} {{ content | safe}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
@ -57,28 +77,42 @@
|
|||
<li><a href="https://git.arian.li/arian">Gitea</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="f-table-td" style="border-left: 1px solid #bbb;">
|
||||
<div class="f-table-td" style="border-left: 1px solid #bbb">
|
||||
<strong>Gaming/Socials</strong>
|
||||
<ul>
|
||||
<li><a href="https://www.swisssmash.ch/players/4994">SwissSmash Profile</a></li>
|
||||
<li>
|
||||
<a href="https://www.swisssmash.ch/players/4994"
|
||||
>SwissSmash Profile</a
|
||||
>
|
||||
</li>
|
||||
<li>Discord: <i>nan6362</i></li>
|
||||
<li><a href="https://www.discogs.com/user/epic_nan/collection">Discogs</a></li>
|
||||
<li><a href="https://www.setlist.fm/user/nan6362">Setlist.fm</a></li>
|
||||
<li>
|
||||
<a href="https://www.discogs.com/user/epic_nan/collection"
|
||||
>Discogs</a
|
||||
>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://www.setlist.fm/user/nan6362">Setlist.fm</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="f-table-td" style="border-left: 1px solid #bbb;">
|
||||
<div class="f-table-td" style="border-left: 1px solid #bbb">
|
||||
<strong>Public Projects</strong>
|
||||
<ul>
|
||||
<li><a href="https://arian.li">Personal Homepage</a></li>
|
||||
<li><a href="https://uml.arian.li">PlantUML Server</a></li>
|
||||
<li><a href="https://paste.arian.li">Wastebin Instance</a></li>
|
||||
<li><a href="https://azo-notes.arian.li">[GERMAN] Basislehrjahr-Notizen</a></li>
|
||||
<li>
|
||||
<a href="https://azo-notes.arian.li"
|
||||
>[GERMAN] Basislehrjahr-Notizen</a
|
||||
>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="f-table-td" style="border-left: 1px solid #bbb;">
|
||||
<div class="f-table-td" style="border-left: 1px solid #bbb">
|
||||
<p>© {{ year }} {{ site.author }}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Reference in New Issue