Browse Source

Fix links to version history

Pages should link to Gitea, not Gitlab. Restore link in Articles.
master
Annika Backstrom 3 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 @@
33 33
 <div>
34 34
   <article>
35 35
     <h1>{{ article.title }}</h1>
36
-    <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>
36
+    <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>
37
+
37 38
     {{ article.content }}
38 39
   </article>
39 40
 </div>

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

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

Loading…
Cancel
Save