From 0b0bcc33a95b3ec1d927d5b738ff708959e5c44c Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Tue, 18 Feb 2025 14:28:45 +0800 Subject: *.tmpl: Update 's --- templates/group_repos.tmpl | 2 +- templates/repo_commit.tmpl | 2 +- templates/repo_index.tmpl | 2 +- templates/repo_log.tmpl | 2 +- templates/repo_raw_dir.tmpl | 2 +- templates/repo_tree_dir.tmpl | 2 +- templates/repo_tree_file.tmpl | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/templates/group_repos.tmpl b/templates/group_repos.tmpl index 8c95c91..0ea7c75 100644 --- a/templates/group_repos.tmpl +++ b/templates/group_repos.tmpl @@ -3,7 +3,7 @@ <html lang="en"> <head> {{ template "head_common" . }} - <title>Repos in {{ .group_name }} – {{ .global.forge_title }} + Repos – {{ .group_name }} – {{ .global.forge_title }} {{ template "header" . }} diff --git a/templates/repo_commit.tmpl b/templates/repo_commit.tmpl index f90a453..4030f62 100644 --- a/templates/repo_commit.tmpl +++ b/templates/repo_commit.tmpl @@ -3,7 +3,7 @@ {{ template "head_common" . }} - {{ .group_name }}/repos/{{ .repo_name }} – {{ .global.forge_title }} + Commit {{ .commit_id }} – {{ .repo_name }} – {{ .group_name }} – {{ .global.forge_title }} {{ template "header" . }} diff --git a/templates/repo_index.tmpl b/templates/repo_index.tmpl index e078c74..cc0d61a 100644 --- a/templates/repo_index.tmpl +++ b/templates/repo_index.tmpl @@ -3,7 +3,7 @@ {{ template "head_common" . }} - {{ .group_name }}/repos/{{ .repo_name }} – {{ .global.forge_title }} + {{ .repo_name }} – {{ .group_name }} – {{ .global.forge_title }} {{ template "header" . }} diff --git a/templates/repo_log.tmpl b/templates/repo_log.tmpl index 6b89cdd..ad11fae 100644 --- a/templates/repo_log.tmpl +++ b/templates/repo_log.tmpl @@ -3,7 +3,7 @@ {{ template "head_common" . }} - Log of {{ .group_name }}/repos/{{ .repo_name }} – {{ .global.forge_title }} + Log – {{ .repo_name }} – {{ .group_name }} – {{ .global.forge_title }} {{ template "header" . }} diff --git a/templates/repo_raw_dir.tmpl b/templates/repo_raw_dir.tmpl index d38731b..daf29c4 100644 --- a/templates/repo_raw_dir.tmpl +++ b/templates/repo_raw_dir.tmpl @@ -3,7 +3,7 @@ {{ template "head_common" . }} - {{ .group_name }}/repos/{{ .repo_name }}/{{ .path_spec }}{{ if ne .path_spec "" }}/{{ end }} – {{ .global.forge_title }} + /{{ .path_spec }}{{ if ne .path_spec "" }}/{{ end }} – {{ .repo_name }} – {{ .group_name }} – {{ .global.forge_title }} {{ template "header" . }} diff --git a/templates/repo_tree_dir.tmpl b/templates/repo_tree_dir.tmpl index 5e0fdcc..62e113f 100644 --- a/templates/repo_tree_dir.tmpl +++ b/templates/repo_tree_dir.tmpl @@ -3,7 +3,7 @@ {{ template "head_common" . }} - {{ .group_name }}/repos/{{ .repo_name }}/{{ .path_spec }}{{ if ne .path_spec "" }}/{{ end }} – {{ .global.forge_title }} + /{{ .path_spec }}{{ if ne .path_spec "" }}/{{ end }} – {{ .repo_name }} – {{ .group_name }} – {{ .global.forge_title }} {{ template "header" . }} diff --git a/templates/repo_tree_file.tmpl b/templates/repo_tree_file.tmpl index 7d5069c..a411831 100644 --- a/templates/repo_tree_file.tmpl +++ b/templates/repo_tree_file.tmpl @@ -4,7 +4,7 @@ {{ template "head_common" . }} - {{ .group_name }}/repos/{{ .repo_name }}/{{ .path_spec }} – {{ .global.forge_title }} + /{{ .path_spec }} – {{ .repo_name }} – {{ .group_name }} – {{ .global.forge_title }} {{ template "header" . }} -- cgit v1.2.3