From 92ed765e33d3a00fafa57e40ae6ad69c0f8c9444 Mon Sep 17 00:00:00 2001 From: Thedro Neely Date: Thu, 23 Jan 2020 07:05:54 -0500 Subject: templates/custom: Remove base head and use custom --- templates/base/head.tmpl | 193 ------------------------------------------- templates/custom/header.tmpl | 2 + 2 files changed, 2 insertions(+), 193 deletions(-) delete mode 100644 templates/base/head.tmpl create mode 100644 templates/custom/header.tmpl (limited to 'templates') diff --git a/templates/base/head.tmpl b/templates/base/head.tmpl deleted file mode 100644 index 4c96c0b..0000000 --- a/templates/base/head.tmpl +++ /dev/null @@ -1,193 +0,0 @@ - - - - - - - {{if .Title}}{{.Title}} - {{end}} {{if .Repository.Name}}{{.Repository.Name}} - {{end}}{{AppName}} - - {{if UseServiceWorker}} - - {{else}} - - {{end}} - - - - - - - - {{if .IsSigned}} - - {{end}} - {{if .ContextUser}} - - {{end}} - {{if .SearchLimit}} - - {{end}} -{{if .GoGetImport}} - - -{{end}} - - - - - - - - - -{{if .RequireSimpleMDE}} - -{{end}} - -{{if .RequireTribute}} - -{{end}} - - - - - - - - - - -{{if .RequireHighlightJS}} - -{{end}} -{{if .RequireMinicolors}} - -{{end}} -{{if .RequireDatetimepicker}} - -{{end}} -{{if .RequireDropzone}} - -{{end}} -{{if .EnableHeatmap}} - -{{end}} - - - - -{{if .PageIsUserProfile}} - - - - - {{if .Owner.Description}} - - {{end}} -{{else if .Repository}} - {{if .Issue}} - - - {{if .Issue.Content}} - - {{end}} - {{else}} - - - {{if .Repository.Description}} - - {{end}} - {{end}} - - -{{else}} - - - - - -{{end}} - -{{if .IsSigned }} - {{ if ne .SignedUser.Theme "gitea" }} - - {{end}} -{{else if ne DefaultTheme "gitea"}} - -{{end}} -{{template "custom/header" .}} - - - {{template "custom/body_outer_pre" .}} - -
- - - {{template "custom/body_inner_pre" .}} - - {{if not .PageIsInstall}} - - {{end}} -{{/* -
- - -*/}} diff --git a/templates/custom/header.tmpl b/templates/custom/header.tmpl new file mode 100644 index 0000000..4163c66 --- /dev/null +++ b/templates/custom/header.tmpl @@ -0,0 +1,2 @@ + + -- cgit v1.2.3