mirror of
https://github.com/Ellpeck/TinyLifeWeb.git
synced 2024-11-22 11:23:29 +01:00
made itch and steam links optional
This commit is contained in:
parent
1e2245bc97
commit
750f7579f7
2 changed files with 18 additions and 4 deletions
|
@ -17,9 +17,13 @@
|
||||||
<h4 class="devlog-title">{{ post.title }}</h4>
|
<h4 class="devlog-title">{{ post.title }}</h4>
|
||||||
<div class="text-muted">{{ post.date | date_to_string }}</div>
|
<div class="text-muted">{{ post.date | date_to_string }}</div>
|
||||||
<div>
|
<div>
|
||||||
<a href="{{ post.url }}">Read this post</a> –
|
<a href="{{ post.url }}">Read this post</a>
|
||||||
<a href="{{ post.itch }}">Read on itch</a> –
|
{% if post.itch %}
|
||||||
<a href="{{ post.steam }}">Read on Steam</a>
|
– <a href="{{ post.itch }}">Read on itch</a>
|
||||||
|
{% endif %}
|
||||||
|
{% if post.steam %}
|
||||||
|
– <a href="{{ post.steam }}">Read on Steam</a>
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
|
@ -13,7 +13,17 @@ nav: blognav.html
|
||||||
|
|
||||||
<div class="section top-margin full-width-images less-wide">
|
<div class="section top-margin full-width-images less-wide">
|
||||||
<h1>{{ page.title }}</h1>
|
<h1>{{ page.title }}</h1>
|
||||||
<p>📖 You can also read this post <a href="{{ page.itch }}">on itch</a> or <a href="{{ page.steam }}">on Steam</a>, or you can subscribe to <a href="../../#subscribe">the mailing list</a> or <a href="/feed.xml">the Atom feed</a>.</p>
|
|
||||||
|
<p>
|
||||||
|
📖 You can also read this post
|
||||||
|
{% if page.itch %}
|
||||||
|
<a href="{{ page.itch }}">on itch</a>,
|
||||||
|
{% endif %}
|
||||||
|
{% if page.steam %}
|
||||||
|
<a href="{{ page.steam }}">on Steam</a>,
|
||||||
|
{% endif %}
|
||||||
|
through <a href="../../#subscribe">the mailing list</a> or by subscribing to <a href="/feed.xml">the Atom feed</a>.
|
||||||
|
</p>
|
||||||
|
|
||||||
{% include anchor_headings.html html=content anchorBody="#" anchorClass="anchor-heading" %}
|
{% include anchor_headings.html html=content anchorBody="#" anchorClass="anchor-heading" %}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue