Web/main/_layouts/blog.html
Ell 67e0e74569
All checks were successful
Web/pipeline/head This commit looks good
updated dependencies, and improved rss feed summary
2022-07-13 13:52:53 +02:00

40 lines
No EOL
1.2 KiB
HTML

---
layout: default
nav: nav/blognav.html
---
{% if page.book %}
<link rel="stylesheet" href="/style/book.css">
{% else %}
<script>
let style = dark ? "monokai" : "friendly";
addStyle(`https://cdn.jsdelivr.net/gh/richleland/pygments-css@master/${style}.css`);
</script>
{% endif %}
<div class="list-display rounded">
<div class="blog-isolated">
<h1>{{ page.title }}</h1>
{% if page.archived %}
<p>🧓 <em>This post has been archived.</em></p>
{% endif %}
{% if page.mature %}
<p>⚠️ <em>This post contains mature content.</em></p>
{% endif %}
{% if page.reedsy %}
<p>📘 <em>This story was inspired by a Reedsy Prompt and submitted to their competition. As such, it has also been published on <a href="{{ page.reedsy }}">their website</a>.</em></p>
{% endif %}
<div class="post-content">
{{ content }}
</div>
<span class="text-muted project-status blog-isolated-status">{{ page.date | date_to_string }}</span>
{% if page.discuss %}
🧵 <a href="{{ page.discuss }}" class="blog-discuss">Discuss this post</a>
{% endif %}
</div>
</div>