Basic setup
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="de">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="description" content="{{ block "description" . }}{{ with .Page.Description }}{{ . }}{{ else }}{{ .Page.Title }}{{ end }}{{ end }}">
|
||||
<meta name="author" content="{{ block "author" . }}{{ .Site.Params.author }}{{ end }}">
|
||||
|
||||
<!-- Open Graph -->
|
||||
<meta property="og:title" content="{{ block "og_title" . }}{{ .Page.Title }}{{ end }}">
|
||||
<meta property="og:description" content="{{ block "og_description" . }}{{ with .Page.Description }}{{ . }}{{ else }}{{ .Page.Title }}{{ end }}{{ end }}">
|
||||
<meta property="og:type" content="{{ block "og_type" . }}website{{ end }}">
|
||||
<meta property="og:url" content="{{ .Page.Permalink }}">
|
||||
|
||||
<title>{{ block "title" . }}{{ .Site.Title }}{{ end }}</title>
|
||||
|
||||
{{ with resources.Get "sass/main.scss" | toCSS }}
|
||||
<link rel="stylesheet" href="{{ .RelPermalink }}">
|
||||
{{ end }}
|
||||
|
||||
{{ block "head" . }}{{ end }}
|
||||
</head>
|
||||
<body>
|
||||
<main>
|
||||
{{ block "main" . }}{{ end }}
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user