summaryrefslogtreecommitdiff
path: root/content/optional-go
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2024-11-29 11:24:10 +0100
committerxengineering <me@xengineering.eu>2024-11-29 11:24:10 +0100
commit082b42b256c6e791408134374ba2d807028707df (patch)
tree95d97687ccc16634106615378c54e65ef74d453d /content/optional-go
parent0478c7ff651f25759dc240736ad5af048bd3106a (diff)
downloadwebsite-082b42b256c6e791408134374ba2d807028707df.tar
website-082b42b256c6e791408134374ba2d807028707df.tar.zst
website-082b42b256c6e791408134374ba2d807028707df.zip
Add commit to Go source tags
This makes sure always the correct source code revision is selected for links from the API doc to source code.
Diffstat (limited to 'content/optional-go')
-rw-r--r--content/optional-go2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/optional-go b/content/optional-go
index 7d9316c..233d268 100644
--- a/content/optional-go
+++ b/content/optional-go
@@ -1,7 +1,7 @@
<html>
<head>
<meta name="go-import" content="xengineering.eu/optional-go git https://cgit.xengineering.eu/optional-go">
- <meta name="go-source" content="xengineering.eu/optional-go https://cgit.xengineering.eu/optional-go https://cgit.xengineering.eu/optional-go/tree{/dir} https://cgit.xengineering.eu/optional-go/tree/{file}#n{line}">
+ <meta name="go-source" content="xengineering.eu/optional-go https://cgit.xengineering.eu/optional-go https://cgit.xengineering.eu/optional-go/tree{/dir}?h={commit} https://cgit.xengineering.eu/optional-go/tree/{file}?h={commit}#n{line}">
</head>
<body>
</body>