qwik-cms/content/templates/external_md.njk

30 lines
828 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>
<header>
{{ externalMeta.header }}
<i>{{ externalMeta.date }}</i>
</header>
<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>