diff options
author | Runxi Yu <me@runxiyu.org> | 2025-02-11 23:55:26 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-02-11 23:55:26 +0800 |
commit | 6d4d140058af748b03ce808a2bd4463ded2ec058 (patch) | |
tree | fd9cc2f1a247545fabdbb79712c346b3e38347eb /templates/_repo_header.html.tmpl | |
parent | repo_commit: Reformat (diff) | |
download | forge-6d4d140058af748b03ce808a2bd4463ded2ec058.tar.gz forge-6d4d140058af748b03ce808a2bd4463ded2ec058.tar.zst forge-6d4d140058af748b03ce808a2bd4463ded2ec058.zip |
*.html: Add a simple repo header
Diffstat (limited to 'templates/_repo_header.html.tmpl')
-rw-r--r-- | templates/_repo_header.html.tmpl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/_repo_header.html.tmpl b/templates/_repo_header.html.tmpl new file mode 100644 index 0000000..1dd14f9 --- /dev/null +++ b/templates/_repo_header.html.tmpl @@ -0,0 +1,7 @@ +{{- define "repo_header" -}} +<a href="/g/{{ .group_name }}/">{{ .group_name }}</a> +/ +<a href="/g/{{ .group_name }}/repos/">repos</a> +/ +<a href="/g/{{ .group_name }}/repos/{{ .repo_name }}/">{{ .repo_name }}</a> +{{- end -}} |