mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-25 09:08:12 +08:00
Blog post updates
This commit is contained in:
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user