aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorXe Iaso <me@christine.website>2022-03-18 23:14:00 +0000
committerXe Iaso <me@christine.website>2022-03-18 23:14:00 +0000
commit853153744061498c6a3881aa7616df5de0ff0c4c (patch)
tree488fb38044fa26bab143448db4c6474b9435afc4 /templates
parent64d3591cd815595e9d5d7ee78356ab9eefbc1bd3 (diff)
downloadxesite-853153744061498c6a3881aa7616df5de0ff0c4c.tar.xz
xesite-853153744061498c6a3881aa7616df5de0ff0c4c.zip
Port everything else to axum
Signed-off-by: Xe <me@christine.website>
Diffstat (limited to 'templates')
-rw-r--r--templates/gitea.rs.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/templates/gitea.rs.html b/templates/gitea.rs.html
new file mode 100644
index 0000000..f062d91
--- /dev/null
+++ b/templates/gitea.rs.html
@@ -0,0 +1,14 @@
+@(pkg_name: &str, git_repo: &str, branch: &str)
+
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+ <meta name="go-import" content="@pkg_name git @git_repo">
+ <meta name="go-source" content="@pkg_name @git_repo @git_repo/src/@branch@{/dir@} @git_repo/src/@branch@{/dir@}/@{file@}#L@{line@}">
+ <meta http-equiv="refresh" content="0; url=https://godoc.org/@pkg_name">
+ </head>
+ <body>
+ Please see <a href="https://godoc.org/@pkg_name">here</a> for documentation on this package.
+ </body>
+</html>