mirror of
https://github.com/dillonzq/LoveIt.git
synced 2024-11-26 16:46:19 +01:00
28 lines
818 B
HTML
28 lines
818 B
HTML
{{ $cdn_url := ""}}
|
|
{{ if eq ( getenv "HUGO_ENV" ) "production" }}
|
|
{{ with .Site.Params.cdn_url }}
|
|
{{ $cdn_url = .}}
|
|
{{ end }}
|
|
{{ end }}
|
|
{{ .Scratch.Set "cdn_url" $cdn_url }}
|
|
|
|
<!DOCTYPE html>
|
|
<html lang="{{ .Site.LanguageCode }}">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
|
<title>{{ block "title" . -}}{{ .Site.Title }}{{- end }}</title>
|
|
{{ partial "head.html" . }}
|
|
</head>
|
|
<body class="">
|
|
<div class="wrapper">
|
|
{{ partial "header.html" . }}
|
|
<main class="main">
|
|
<div class="container">
|
|
{{ block "content" . }}{{ end }}
|
|
</div>
|
|
</main>
|
|
{{ partial "footer.html" . }}
|
|
</div>
|
|
</body>
|
|
</html>
|