Web/main/_layouts/blog.html
Ell 6bde3c4ff8
Some checks failed
Web/pipeline/head There was a failure building this commit
silently convert the entire website to jekyll
2021-07-09 01:59:28 +02:00

36 lines
1 KiB
HTML

---
layout: default
nav: nav/blognav.html
---
{% if page.book %}
<link rel="stylesheet" href="/style/book.css">
{% else %}
<script>
let style = dark ? "native" : "default";
addStyle(`https://cdn.jsdelivr.net/gh/jwarby/pygments-css@master/${style}.css`);
</script>
{% endif %}
<div class="list-display rounded">
<div class="blog-isolated">
<h1>{{ page.title }}</h1>
{% if page.archived %}
<p><i>This post has been archived.</i></p>
{% endif %}
{% if page.reedsy %}
<p><i>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>.</i></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>