31 lines
835 B
HTML
31 lines
835 B
HTML
<!doctype html>
|
|
<html lang="{{ $.Site.Language.Lang }}">
|
|
|
|
<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>
|
|
|
|
{{ $stylesheet := .Site.Data.webpack.main }}
|
|
{{ with $stylesheet.css }}
|
|
<link href="{{ relURL . }}" rel="stylesheet">
|
|
{{ end }}
|
|
</head>
|
|
</head>
|
|
|
|
<body>
|
|
|
|
{{ block "header" . }}{{ partial "header" . }}{{end}}
|
|
|
|
{{ block "main" . }}{{end}}
|
|
|
|
{{ block "footer" . }}{{ partial "footer" . }}{{end}}
|
|
|
|
{{ $script := .Site.Data.webpack.main }}
|
|
{{ with $script.js }}
|
|
<script src="{{ relURL . }}"></script>
|
|
{{ end }}
|
|
</body>
|
|
|
|
</html> |