qwik-site/content/templates/external_md.njk

31 lines
835 B
Plaintext

<!DOCTYPE html>
<html 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>