This repository has been archived on 2020-04-22. You can view files and clone it, but cannot push or open issues or pull requests.
2018-04-24 23:42:32 +00:00
|
|
|
<!doctype html>
|
|
|
|
<html lang="{{ $.Site.Language.Lang }}">
|
|
|
|
|
2018-12-03 21:44:11 +00:00
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
|
|
|
|
<base href="{{ if getenv "CONTEXT" }}{{ cond (eq "production" (getenv "CONTEXT")) (getenv "URL") (getenv "DEPLOY_PRIME_URL") }}{{ else }}{{ $.Site.BaseURL }}{{ end }}">
|
|
|
|
<title>{{ $.Site.Title }}</title>
|
2018-04-24 23:42:32 +00:00
|
|
|
|
2018-12-03 21:44:11 +00:00
|
|
|
{{ $stylesheet := .Site.Data.webpack.main }}
|
|
|
|
{{ with $stylesheet.css }}
|
|
|
|
<link href="{{ relURL . }}" rel="stylesheet">
|
|
|
|
{{ end }}
|
|
|
|
</head>
|
|
|
|
</head>
|
2018-04-24 23:42:32 +00:00
|
|
|
|
2018-12-03 21:44:11 +00:00
|
|
|
<body>
|
2018-04-24 23:42:32 +00:00
|
|
|
|
2018-12-03 21:44:11 +00:00
|
|
|
{{ block "header" . }}{{ partial "header" . }}{{end}}
|
2018-04-24 23:42:32 +00:00
|
|
|
|
2018-12-03 21:44:11 +00:00
|
|
|
{{ block "main" . }}{{end}}
|
|
|
|
|
|
|
|
{{ block "footer" . }}{{ partial "footer" . }}{{end}}
|
|
|
|
|
|
|
|
{{ $script := .Site.Data.webpack.main }}
|
|
|
|
{{ with $script.js }}
|
|
|
|
<script src="{{ relURL . }}"></script>
|
|
|
|
{{ end }}
|
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|