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

30 lines
1.1 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 "templates/defaultTags.njk" %}
<link rel="stylesheet" href="/assets/css/article.css" />
<link rel="stylesheet" href="/assets/css/syntax.css" />
<title>{{ externalMeta.title if externalMeta.title else serverName }}</title>
</head>
<body>
<article>
<div id="header">
{{ externalMeta.header }}
<i>{{ externalMeta.date }}</i>
</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 %}
{{ externalMarkdown | safe }}
{% endmarkdown %}
</article>
</body>
</html>