summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-12-13 08:19:51 -0500
committerDrew DeVault <sir@cmpwn.com>2018-12-13 08:19:51 -0500
commitda45d2e26f8db6e764eb3c61d6a6b8699d2f4511 (patch)
treefd0afc9102a4799d8a451202af80b0b0ae03eb8f
parent67c208b7f587c89fe9764deaf99f1524bcefb7a7 (diff)
Fix go module meta tags
-rw-r--r--gitsrht/templates/repo.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitsrht/templates/repo.html b/gitsrht/templates/repo.html
index a8ca981..73b5e2f 100644
--- a/gitsrht/templates/repo.html
+++ b/gitsrht/templates/repo.html
@@ -5,7 +5,7 @@
{% endif %}
{# Man, this is lame #}
<meta name="go-import"
- content="{{cfg('sr.ht', 'site-name')}} git {{(repo | clone_urls)[0]}}">
+ content="{{domain}}/{{owner.canonical_name}}/{{repo.name}} git {{(repo | clone_urls)[0]}}">
{% endblock %}
{% block body %}
<div class="container-fluid">