qwik-cms/content/templates/article.njk

30 lines
731 B
Plaintext
Raw Normal View History

<!DOCTYPE html>
<html lang="en">
<head>
{% include "./defaultTags.njk" %}
2021-07-29 00:14:40 +02:00
<link rel="stylesheet" href="/assets/css/article.css">
2021-08-04 22:52:49 +02:00
<link rel="stylesheet" href="/assets/css/syntax.css">
{% block head %}
<title>{{ serverName }}</title>
{% endblock %}
</head>
<body>
<article>
2021-07-29 00:14:40 +02:00
<header>
{% block header %}{% endblock %}
</header>
2021-08-04 17:48:11 +02:00
<div class="toc-container">
<div class="toc">
<p class="toc-title">Table of Contents</p>
{% for tocLink in tocLinks %}
{{ tocLink | safe }}
{% endfor %}
2021-08-04 17:48:11 +02:00
</div>
</div>
2021-08-04 23:18:01 +02:00
{% block main %}{% endblock %}
</article>
</body>
</html>