1
0
Fork 0
hugo-paper/layouts/_default/baseof.html

22 lines
557 B
HTML
Raw Normal View History

2021-08-23 21:59:02 +02:00
<!DOCTYPE html>
2021-08-24 13:10:13 +02:00
{{ $.Scratch.Delete "social-list" }}<!---->
2021-08-23 21:59:02 +02:00
{{ $social := slice "twitter" "github" "instagram" }}<!---->
2021-08-24 04:56:07 +02:00
{{ range $social }}<!---->
{{ if isset site.Params . }}<!---->
{{ $.Scratch.Add "social-list" (slice .) }}<!---->
2021-08-23 21:59:02 +02:00
{{ end }}<!---->
{{ end }}<!---->
<html lang="{{ site.LanguageCode }}">
{{ partial "head.html" . }}
<body class="not-ready" data-menu="{{ isset site.Menus `main` }}">
{{ partial "header.html" . }}
<main class="main">{{ block "main" . }}{{ end }}</main>
{{ partial "footer.html" . }}
</body>
</html>