From d0cf88cfc3d2c328f9e398ba94a770141f3a7be4 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Mon, 10 Feb 2025 20:01:09 +0800 Subject: category_index -> category_repos --- templates/category_index.html | 23 ----------------------- templates/category_repos.html | 23 +++++++++++++++++++++++ templates/index.html | 2 +- 3 files changed, 24 insertions(+), 24 deletions(-) delete mode 100644 templates/category_index.html create mode 100644 templates/category_repos.html (limited to 'templates') diff --git a/templates/category_index.html b/templates/category_index.html deleted file mode 100644 index 7f206a4..0000000 --- a/templates/category_index.html +++ /dev/null @@ -1,23 +0,0 @@ -{{- define "category_index" -}} - - - - {{ template "head_common" . }} - {{ .category_name }} – Lindenii Forge - - -
-

- Repos in {{ .category_name }} -

- -
- - -{{- end -}} diff --git a/templates/category_repos.html b/templates/category_repos.html new file mode 100644 index 0000000..406fee4 --- /dev/null +++ b/templates/category_repos.html @@ -0,0 +1,23 @@ +{{- define "category_repos" -}} + + + + {{ template "head_common" . }} + Repos in {{ .category_name }} – Lindenii Forge + + +
+

+ Repos in {{ .category_name }} +

+ +
+ + +{{- end -}} diff --git a/templates/index.html b/templates/index.html index 7ced768..139abb0 100644 --- a/templates/index.html +++ b/templates/index.html @@ -13,7 +13,7 @@ -- cgit v1.2.3