qwik-site-bubben/content/templates/article_md.njk
2022-08-13 17:16:25 +02:00

31 lines
1.0 KiB
Plaintext

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3.org/MarkUp/SCHEMA/xhtml11.xsd" xml:lang="en">
<head>
{% include "./defaultTags.njk" %}
<link rel="stylesheet" href="/assets/css/article.css" />
<link rel="stylesheet" href="/assets/css/syntax.css" />
{% block head %}
<title>{{ serverName }}</title>
{% endblock %}
</head>
<body>
<article>
<div id="header">
{% block header %}{% endblock %}
</div>
<div class="toc-container">
<div class="toc">
<p class="toc-title">Table of Contents</p>
{% for tocLink in tocLinks %}
{{ tocLink | safe }}
{% endfor %}
</div>
</div>
{% markdown %}
{% block main %}{% endblock %}
{% endmarkdown %}
</article>
</body>
</html>