diff --git a/roles/gitea-ccchb/files/base/head.tmpl b/roles/gitea-ccchb/files/templates/base/head.tmpl
similarity index 84%
rename from roles/gitea-ccchb/files/base/head.tmpl
rename to roles/gitea-ccchb/files/templates/base/head.tmpl
index 79eb144..bca7bb9 100644
--- a/roles/gitea-ccchb/files/base/head.tmpl
+++ b/roles/gitea-ccchb/files/templates/base/head.tmpl
@@ -1,35 +1,11 @@
-
+
- {{if .Title}}{{.Title}} - {{end}} {{if .Repository.Name}}{{.Repository.Name}} - {{end}}{{AppName}}
+ {{if .Title}}{{.Title | RenderEmojiPlain}} - {{end}} {{if .Repository.Name}}{{.Repository.Name}} - {{end}}{{AppName}}
- {{if UseServiceWorker}}
-
- {{else}}
-
- {{end}}
@@ -84,8 +60,10 @@
-
-
{{if .RequireSimpleMDE}}
{{end}}
diff --git a/roles/gitea-ccchb/files/custom/body_inner_pre.tmpl b/roles/gitea-ccchb/files/templates/custom/body_inner_pre.tmpl
similarity index 100%
rename from roles/gitea-ccchb/files/custom/body_inner_pre.tmpl
rename to roles/gitea-ccchb/files/templates/custom/body_inner_pre.tmpl
diff --git a/roles/gitea-ccchb/tasks/main.yml b/roles/gitea-ccchb/tasks/main.yml
index d043fee..f0a8b30 100644
--- a/roles/gitea-ccchb/tasks/main.yml
+++ b/roles/gitea-ccchb/tasks/main.yml
@@ -4,12 +4,7 @@
src: img/
dest: /var/lib/gitea/custom/public/img/
-- name: copy overwrite html templates
+- name: copy html templates
copy:
- src: base/
- dest: /var/lib/gitea/custom/templates/base/
-
-- name: copy custom html templates
- copy:
- src: custom/
- dest: /var/lib/gitea/custom/templates/custom/
+ src: templates/
+ dest: /var/lib/gitea/custom/templates/