2018-01-26 08:43:53 +01:00
|
|
|
{{ define "base" }}
|
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
2018-01-29 09:18:19 +01:00
|
|
|
<meta name="csrf-token" content="{{ .csrfToken }}" />
|
2018-01-26 08:43:53 +01:00
|
|
|
<meta name="csrf-param" content="csrf_token" />
|
|
|
|
|
2018-01-29 09:18:19 +01:00
|
|
|
<link rel="stylesheet" href='{{ asset "vendor/bulma.css" }}'>
|
|
|
|
<link rel="stylesheet" href='{{ asset "css/style.css" }}'>
|
2018-01-26 08:43:53 +01:00
|
|
|
{{ template "meta" . }}
|
|
|
|
{{ if eq .Meta.Env "production" }}
|
|
|
|
<!-- Add meta tags specific to production environment (analytics etc) -->
|
|
|
|
{{ end }}
|
2018-01-29 09:18:19 +01:00
|
|
|
<script defer src="https://use.fontawesome.com/releases/v5.0.6/js/all.js"
|
|
|
|
integrity="sha384-0AJY8UERsBUKdWcyF3o2kisLKeIo6G4Tbd8Y6fbyw6qYmn4WBuqcvxokp8m2UzSD"
|
|
|
|
crossorigin="anonymous"></script>
|
2018-01-26 08:43:53 +01:00
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
2018-01-29 09:18:19 +01:00
|
|
|
{{ if .flashes}}
|
2018-01-26 08:43:53 +01:00
|
|
|
<div id="flash-container">
|
|
|
|
{{range .flashes}}
|
2018-01-29 09:18:19 +01:00
|
|
|
{{ .Render }}
|
2018-01-26 08:43:53 +01:00
|
|
|
{{end}}
|
|
|
|
</div>
|
2018-01-29 09:18:19 +01:00
|
|
|
{{ end }}
|
2018-01-26 08:43:53 +01:00
|
|
|
|
|
|
|
<div class="main-container">
|
|
|
|
{{ template "content" . }}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<script src="https://code.jquery.com/jquery-3.2.1.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"></script>
|
2018-01-29 09:18:19 +01:00
|
|
|
<script>window.jQuery || document.write('<script src="{{ asset "vendor/jquery-3.2.1.min.js" }}"><\/script>')</script>
|
|
|
|
<script src='{{ asset "js/main.js" }}' async></script>
|
2018-01-26 08:43:53 +01:00
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ define "meta"}}{{end}}
|
2018-02-01 09:31:06 +01:00
|
|
|
{{ define "content"}}{{end}}
|