Extract head to own template

This commit is contained in:
2016-12-07 16:42:56 +01:00
parent 1fa6c43df1
commit ed0b939a75
3 changed files with 24 additions and 25 deletions

10
templates/head.html Normal file
View File

@ -0,0 +1,10 @@
{{define "head"}}
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<link href="/static/css/bootstrap.min.css" rel="stylesheet" />
<link href="/static/css/bootstrap-theme.min.css" rel="stylesheet" />
<link href="/static/css/main.css" rel="stylesheet" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.js"></script>
<script src="http://malsup.github.com/jquery.form.js"></script>
{{end}}