diff options
Diffstat (limited to '')
-rw-r--r-- | templates/category_repos.html (renamed from templates/category_index.html) | 6 | ||||
-rw-r--r-- | templates/index.html | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/templates/category_index.html b/templates/category_repos.html index 7f206a4..406fee4 100644 --- a/templates/category_index.html +++ b/templates/category_repos.html @@ -1,9 +1,9 @@ -{{- define "category_index" -}} +{{- define "category_repos" -}} <!DOCTYPE html> <html> <head> {{ template "head_common" . }} - <title>{{ .category_name }} – Lindenii Forge</title> + <title>Repos in {{ .category_name }} – Lindenii Forge</title> </head> <body class="category-index"> <div class="padding-wrapper"> @@ -13,7 +13,7 @@ <ul> {{- range .repos }} <li> - <a href="repos/{{ . }}/">{{ . }}</a> + <a href="{{ . }}/">{{ . }}</a> </li> {{- end }} </ul> 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 @@ <ul> {{- range .categories }} <li> - <a href="{{ . }}/">{{ . }}</a> + <a href="{{ . }}/repos/">{{ . }}</a> </li> {{- end }} </ul> |