This repository has been archived on 2024-11-13. You can view files and clone it, but cannot push or open issues or pull requests.
fediversity.eu/layouts/_default/baseof.html
Valentin Gagarin 72f70ec475 Add 'website/' from commit 'd208ee83f80467e25c662b4680ed2d6161d88d9e'
git-subtree-dir: website
git-subtree-mainline: 83b1c9ac3b58871df715c5993a29d658439fc772
git-subtree-split: d208ee83f80467e25c662b4680ed2d6161d88d9e
2024-10-07 11:53:11 +02:00

40 lines
1.1 KiB
HTML
Executable file

<!doctype html>
<html
itemscope
class="{{- if not site.Params.theme_switcher -}}
{{- site.Params.theme_default -}}
{{- end -}}"
lang="{{ site.LanguageCode | default `en-US` }}"
itemtype="http://schema.org/WebPage"
>
<head>
<!-- head (don't cache it) -->
{{ partial "essentials/head.html" . }}
<!-- style (always cache it) -->
{{ partialCached "essentials/style.html" . }}
</head>
<body>
<!-- cache partial only in production -->
{{ if hugo.IsProduction }} {{ partialCached "preloader.html" . }} {{
partialCached "gtm-noscript.html" . }} {{ else }} {{ partial
"preloader.html" . }}
<!-- tailwind size indicator -->
{{ partial "components/tw-size-indicator.html" . }} {{ end }}
<!-- header (don't cache it) -->
{{ partial "essentials/header.html" . }} {{ partial "search-modal.html"
(dict "Context" . ) }}
<main>{{ block "main" . }}{{ end }}</main>
<!-- footer -->
{{ partial "essentials/footer.html" . }}
<!-- script (always cache it) -->
{{ partialCached "essentials/script.html" . }}
</body>
</html>