From 39d58d361438f192b7d3ca731db2ccc5f0293035 Mon Sep 17 00:00:00 2001 From: Thedro Neely Date: Thu, 23 Jan 2020 08:24:27 -0500 Subject: templates/base: Add head template --- templates/base/head.tmpl | 177 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 177 insertions(+) create mode 100644 templates/base/head.tmpl (limited to 'templates') diff --git a/templates/base/head.tmpl b/templates/base/head.tmpl new file mode 100644 index 0000000..7cdfdd3 --- /dev/null +++ b/templates/base/head.tmpl @@ -0,0 +1,177 @@ + + + + + + + {{if .Title}}{{.Title}} - {{end}} {{if .Repository.Name}}{{.Repository.Name}} - {{end}}{{AppName}} + + + + + + + + + + + + {{if .IsSigned}} + + {{end}} + {{if .ContextUser}} + + {{end}} + {{if .SearchLimit}} + + {{end}} +{{if .GoGetImport}} + + +{{end}} + + + + + + + + + +{{if .RequireSimpleMDE}} + +{{end}} + +{{if .RequireGitGraph}} + + +{{end}} + +{{if .RequireTribute}} + +{{end}} + + + + + + +{{if .RequireHighlightJS}} + +{{end}} +{{if .RequireMinicolors}} + +{{end}} +{{if .RequireDatetimepicker}} + +{{end}} +{{if .RequireDropzone}} + +{{end}} +{{if .EnableHeatmap}} + +{{end}} + + + + + +{{if .PageIsUserProfile}} + + + + + +{{else if .Repository}} + + + + + {{if .Repository.Description}} + + {{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}} +{{/* +
+ + +*/}} -- cgit v1.2.3