Blog post updates

This commit is contained in:
Keavon Chambers
2022-05-12 00:45:20 -07:00
parent 19b2d3f859
commit 44f3ad27ec
8 changed files with 146 additions and 78 deletions
+20 -1
View File
@@ -3,6 +3,10 @@
{% block head %}
<link rel="stylesheet" href="/article.css">
<meta property="og:title" content="{{ page.title }}.">
<meta property="og:type" content="article" />
<meta property="og:image" content="{{ page.extra.banner }}">
<meta property="og:url" content="{{ current_url }}">
{% endblock head %}
{% block content %}
@@ -12,11 +16,26 @@
<h2 class="headline">{{ page.title }}.</h2>
<span class="publication">By {{ page.extra.author }}. {{ page.date | date(format="%B %d, %Y", timezone="America/Los_Angeles") }}.</span>
<img class="banner" src="{{ page.extra.banner }}" />
<hr />
</div>
<hr />
<article>
{{ page.content | safe }}
</article>
{% if page.extra.reddit or page.extra.twitter %}
<hr />
<div class="social">
{% if page.extra.reddit %}
<a href="{{ page.extra.reddit | safe }}" target="_blank" class="button arrow">
<img src="https://static.graphite.rs/icons/reddit.svg" /><span>Comment on Reddit</span>
</a>
{% endif %}
{% if page.extra.twitter %}
<a href="{{ page.extra.twitter | safe }}" target="_blank" class="button arrow">
<img src="https://static.graphite.rs/icons/twitter.svg" /><span>Comment on Twitter</span>
</a>
{% endif %}
</div>
{% endif %}
</div>
</section>
{% endblock content %}