templates: able to inject content to head and footer (#1286)

master
Unknwon 2017-02-24 18:26:41 -05:00
parent 27c4252548
commit c64b842df9
No known key found for this signature in database
GPG Key ID: 25B575AE3213B2B3
4 changed files with 3 additions and 0 deletions

View File

@ -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>

View File

@ -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">

View File

View File