mirror of https://github.com/gogs/gogs.git
templates: able to inject content to head and footer (#1286)
parent
27c4252548
commit
c64b842df9
|
@ -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">
|
||||
|
|
Loading…
Reference in New Issue