mirror of
https://github.com/gogs/gogs.git
synced 2026-02-26 00:00:57 +01:00
templates: able to inject content to head and footer (#1286)
This commit is contained in:
@@ -52,4 +52,5 @@
|
||||
<script src="{{AppSubUrl}}/js/libs/emojify-1.1.0.min.js"></script>
|
||||
<script src="{{AppSubUrl}}/js/libs/clipboard-1.5.9.min.js"></script>
|
||||
|
||||
{{template "inject/footer" .}}
|
||||
</html>
|
||||
|
||||
@@ -72,6 +72,8 @@
|
||||
<title>{{if .Title}}{{.Title}} - {{end}}{{AppName}}</title>
|
||||
|
||||
<meta name="theme-color" content="{{ThemeColorMetaTag}}">
|
||||
|
||||
{{template "inject/head" .}}
|
||||
</head>
|
||||
<body>
|
||||
<div class="full height">
|
||||
|
||||
0
templates/inject/footer.tmpl
Normal file
0
templates/inject/footer.tmpl
Normal file
0
templates/inject/head.tmpl
Normal file
0
templates/inject/head.tmpl
Normal file
Reference in New Issue
Block a user