From 0b0bcc33a95b3ec1d927d5b738ff708959e5c44c Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Tue, 18 Feb 2025 14:28:45 +0800 Subject: [PATCH] *.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 +- diff --git a/templates/group_repos.tmpl b/templates/group_repos.tmpl index 8c95c916c8e67328d60b2955e9a3df7e19939efb..0ea7c75430c8a3d3541f02a055d72bcc5baee658 100644 --- a/templates/group_repos.tmpl +++ b/templates/group_repos.tmpl @@ -3,7 +3,7 @@ <!DOCTYPE html> <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 f90a453dfc1bff30f91ce58e688866e9f0d0cca7..4030f62d05b8b17ca4c2cea86cea8f4fc8030217 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 e078c7466594a177b792a7b5d33a69aad0080286..cc0d61ad145058c2aa3633afc591ac8a16e84f9c 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 6b89cdd58cb882731ff1f7c533c798460b57dc8e..ad11faee5823dd7f2260225e083ee9d1212da0ae 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 d38731b310602f6287ed6d194e4954582d84fa98..daf29c48da9afe7bbc45a6cae28209edf35727a9 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 5e0fdcc679baaf170308ed8ca1511d8bee5d935d..62e113f033cbbde96f8581300923e36811baa254 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 7d5069c5bf0dcc304bec3d4c42472185f6600d65..a4118311b751938323d4f29985aba99281a17985 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" . }} -- 2.48.1