From 88d054811df785b92b1b76dd91265849af8f29b3 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Wed, 12 Feb 2025 11:01:52 +0800 Subject: *: Migrate to the new path scheme --- templates/_footer.html.tmpl | 2 +- templates/_head.html.tmpl | 2 +- templates/_repo_header.html.tmpl | 8 ++++---- templates/index.html.tmpl | 2 +- templates/repo_tree_file.html.tmpl | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) (limited to 'templates') diff --git a/templates/_footer.html.tmpl b/templates/_footer.html.tmpl index b7a9061..5b1acd2 100644 --- a/templates/_footer.html.tmpl +++ b/templates/_footer.html.tmpl @@ -1,3 +1,3 @@ {{- define "footer" -}} -Lindenii Forge (source, upstream) +Lindenii Forge (source, upstream) {{- end -}} diff --git a/templates/_head.html.tmpl b/templates/_head.html.tmpl index b2cd487..4641107 100644 --- a/templates/_head.html.tmpl +++ b/templates/_head.html.tmpl @@ -1,5 +1,5 @@ {{- define "head_common" -}} - + {{- end -}} diff --git a/templates/_repo_header.html.tmpl b/templates/_repo_header.html.tmpl index 725d97b..8e5baa8 100644 --- a/templates/_repo_header.html.tmpl +++ b/templates/_repo_header.html.tmpl @@ -1,11 +1,11 @@ {{- define "repo_header" -}} Lindenii Forge / -g +{{ .group_name }} / -{{ .group_name }} +: / -repos +repos / -{{ .repo_name }} +{{ .repo_name }} {{- end -}} diff --git a/templates/index.html.tmpl b/templates/index.html.tmpl index de3a643..505ea70 100644 --- a/templates/index.html.tmpl +++ b/templates/index.html.tmpl @@ -13,7 +13,7 @@ diff --git a/templates/repo_tree_file.html.tmpl b/templates/repo_tree_file.html.tmpl index 90ce5ad..d4ba1e8 100644 --- a/templates/repo_tree_file.html.tmpl +++ b/templates/repo_tree_file.html.tmpl @@ -11,7 +11,7 @@ {{ template "repo_header" . }}

- /{{ .path_spec }} (raw) + /{{ .path_spec }} (raw)

{{ .file_contents }}