Browse Source

Fix links to version history

Pages should link to Gitea, not Gitlab. Restore link in Articles.
master
Annika Backstrom 7 months ago
parent
commit
1a4b7e0b47
Signed by: Annika Backstrom <annika@sixohthree.com> GPG Key ID: 1FB1723D467863F4

+ 2
- 1
themes/bleached/templates/article.html View File

@@ -33,7 +33,8 @@
<div>
<article>
<h1>{{ article.title }}</h1>
<div class="subheading">by <address class="vcard author">{{ article.author }}</address> in <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>, on {{ article.locale_date }}</div>
<div class="subheading">by <address class="vcard author">{{ article.author }}</address> in <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>, on {{ article.locale_date }} (<a href="https://git.abackstrom.com/annika/sixohthree.com/commits/branch/master/content/{{ article.content_path }}">history</a>)</div>

{{ article.content }}
</article>
</div>

+ 1
- 1
themes/bleached/templates/metadata.inc.html View File

@@ -5,7 +5,7 @@
{% if page.modified and page.locale_date != page.locale_modified %}
It was last modified <time datetime="{{ page.modified.isoformat() }}">{{ page.locale_modified }}</time>.
{% endif %}
<a href="https://gitlab.com/abackstrom/sixohthree-com/commits/master/content/{{ page.content_path }}">Version history</a>.
<a href="https://git.abackstrom.com/annika/sixohthree.com/commits/branch/master/content/{{ page.content_path }}">Version history</a>.
{% endif %}
{% else %}
This article was published by <address class="vcard author">{{ article.author }}</address>

Loading…
Cancel
Save