qwik-site/content/templates/external_md.njk

30 lines
1.1 KiB
Plaintext
Raw Normal View History

2022-08-13 17:16:25 +02:00
<!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">
2021-08-09 17:44:53 +02:00
<head>
{% include "templates/defaultTags.njk" %}
2022-08-13 17:16:25 +02:00
<link rel="stylesheet" href="/assets/css/article.css" />
<link rel="stylesheet" href="/assets/css/syntax.css" />
2021-08-09 17:44:53 +02:00
<title>{{ externalMeta.title if externalMeta.title else serverName }}</title>
</head>
<body>
<article>
2022-08-13 17:16:25 +02:00
<div id="header">
2021-08-09 17:44:53 +02:00
{{ externalMeta.header }}
<i>{{ externalMeta.date }}</i>
2022-08-13 17:16:25 +02:00
</div>
2021-08-09 17:44:53 +02:00
<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 %}
{{ externalMarkdown | safe }}
{% endmarkdown %}
</article>
</body>
</html>