From 6285ebff7e53657b2ca3b7cfa726e2fef524f0ce Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Mon, 10 Feb 2025 21:49:06 +0800 Subject: footer.html: Add link to Lindenii Forge --- templates/category_repos.html | 3 +++ templates/footer.html | 3 +++ templates/index.html | 3 +++ templates/repo_index.html | 3 +++ templates/repo_tree_dir.html | 3 +++ templates/repo_tree_file.html | 3 +++ 6 files changed, 18 insertions(+) create mode 100644 templates/footer.html (limited to 'templates') diff --git a/templates/category_repos.html b/templates/category_repos.html index aa4c926..917b62e 100644 --- a/templates/category_repos.html +++ b/templates/category_repos.html @@ -18,6 +18,9 @@ {{- end }} + {{- end -}} diff --git a/templates/footer.html b/templates/footer.html new file mode 100644 index 0000000..b7a9061 --- /dev/null +++ b/templates/footer.html @@ -0,0 +1,3 @@ +{{- define "footer" -}} +Lindenii Forge (source, upstream) +{{- end -}} diff --git a/templates/index.html b/templates/index.html index 79e3cba..3f08355 100644 --- a/templates/index.html +++ b/templates/index.html @@ -18,6 +18,9 @@ {{- end }} + {{- end -}} diff --git a/templates/repo_index.html b/templates/repo_index.html index 7ae7bcd..664cce8 100644 --- a/templates/repo_index.html +++ b/templates/repo_index.html @@ -83,6 +83,9 @@ {{ end }} + {{- end -}} diff --git a/templates/repo_tree_dir.html b/templates/repo_tree_dir.html index 60d9ede..aa29542 100644 --- a/templates/repo_tree_dir.html +++ b/templates/repo_tree_dir.html @@ -56,6 +56,9 @@ {{ end }} + {{- end -}} diff --git a/templates/repo_tree_file.html b/templates/repo_tree_file.html index b1ba877..7012cb1 100644 --- a/templates/repo_tree_file.html +++ b/templates/repo_tree_file.html @@ -11,6 +11,9 @@ /{{ .path_spec }}

{{ .file_contents }} + {{- end -}} -- cgit v1.2.3