hugo-book/layouts/home.html
2019-04-23 23:02:06 +02:00

30 lines
621 B
HTML

<!DOCTYPE html>
{{- partial "docs/shared" -}}
<html lang="{{ .Site.Language.Lang }}">
<head>
{{ partial "docs/html-head" . }}
{{ partial "docs/inject/head" . }}
</head>
{{ $content := `
# Hugo Book Theme
This is a placeholder for home page.
You can override this page in:
- &#96;/content/_index.md&#96;
- &#96;/layouts/home.html&#96;
` }}
<body>
<main class="flex justify-center">
<div class="book-home markdown">
{{ replace $content "&#96;" "`" | markdownify }}
</div>
</main>
{{ partial "docs/inject/body" . }}
{{ template "_internal/google_analytics_async.html" . }}
</body>
</html>