diff --git a/templates/base/footer.tmpl b/templates/base/footer.tmpl index 47d642d..ac93779 100644 --- a/templates/base/footer.tmpl +++ b/templates/base/footer.tmpl @@ -39,6 +39,9 @@ {{if .RequireDropzone}} {{end}} +{{if .RequireU2F}} + +{{end}} {{if .RequireTribute}} @@ -107,4 +110,3 @@ {{template "custom/footer" .}} - diff --git a/templates/base/head.tmpl b/templates/base/head.tmpl index b34fd7d..8f5d725 100644 --- a/templates/base/head.tmpl +++ b/templates/base/head.tmpl @@ -121,6 +121,9 @@ {{end}} {{end}} +{{if ne DefaultTheme "gitea"}} + +{{end}} {{template "custom/header" .}} @@ -135,4 +138,3 @@ */}} - diff --git a/templates/repo/branch/list.tmpl b/templates/repo/branch/list.tmpl index cd6afce..2ef96de 100644 --- a/templates/repo/branch/list.tmpl +++ b/templates/repo/branch/list.tmpl @@ -69,12 +69,10 @@ diff --git a/templates/repo/header.tmpl b/templates/repo/header.tmpl index 6f872b5..01ee295 100644 --- a/templates/repo/header.tmpl +++ b/templates/repo/header.tmpl @@ -4,7 +4,7 @@