From f7c440e1dafac599a1a5726682ed1a8eacf77ab6 Mon Sep 17 00:00:00 2001 From: Thedro Neely Date: Fri, 14 Feb 2020 00:03:20 -0500 Subject: templates: Initial changes for v1.11.0 --- README.md | 2 +- templates/base/head.tmpl | 103 ++++++++++++++++++++++------------------ templates/base/head_navbar.tmpl | 1 + templates/repo/header.tmpl | 6 ++- 4 files changed, 64 insertions(+), 48 deletions(-) diff --git a/README.md b/README.md index 669ab88..e9e003e 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,2 @@ # Thedro's Custom Gitea Templates -Compatible with Gitea version 1.10.3 +Compatible with Gitea version 1.11.0 diff --git a/templates/base/head.tmpl b/templates/base/head.tmpl index 563e830..237f0e9 100644 --- a/templates/base/head.tmpl +++ b/templates/base/head.tmpl @@ -6,22 +6,30 @@ {{if .Title}}{{.Title}} - {{end}} {{if .Repository.Name}}{{.Repository.Name}} - {{end}}{{AppName}} - + {{if UseServiceWorker}} - + {{else}} + + {{end}} @@ -70,35 +78,30 @@ THE SOFTWARE. --- Licensing information for additional javascript libraries can be found at: - {{AppSubUrl}}/vendor/librejs.html + {{StaticUrlPrefix}}/vendor/librejs.html @licend The above is the entire license notice for the JavaScript code in this page. */`}} - - - - - + + + + + {{if .RequireSimpleMDE}} - -{{end}} - -{{if .RequireGitGraph}} - - + {{end}} {{if .RequireTribute}} - + {{end}} - - + +