63 lines
2.3 KiB
Plaintext
63 lines
2.3 KiB
Plaintext
<!--
|
||
SPDX-FileCopyrightText: 2023 jordi fita mas <jordi@tandem.blog>
|
||
SPDX-License-Identifier: AGPL-3.0-only
|
||
-->
|
||
{{- /*gotype: dev.tandem.ws/tandem/camper/pkg/app.PublicPage*/ -}}
|
||
<!doctype html>
|
||
<html lang="{{ currentLocale }}">
|
||
<head>
|
||
<meta charset="utf-8">
|
||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||
<title>{{ template "title" . }} — {{( gettext "Campsite Montagut" )}}</title>
|
||
<link rel="preload" href="/static/fonts/MabryPro-Regular.woff2" as="font" type="font/woff2" crossorigin>
|
||
<link rel="preload" href="/static/fonts/MabryPro-Bold.woff2" as="font" type="font/woff2" crossorigin>
|
||
<link rel="stylesheet" media="screen" href="/static/public.css">
|
||
{{ range .LocalizedAlternates -}}
|
||
<link rel="alternate" hreflang="{{ .Lang }}" href="{{ .HRef }}"/>
|
||
{{ end }}
|
||
{{- block "head" . }}{{ end }}
|
||
</head>
|
||
<body>
|
||
<a href="#content">{{( gettext "Skip to main content" )}}</a>
|
||
<header>
|
||
<h1><a href="/{{ currentLocale }}/"><span class="logo">◭</span><span class="name">{{( gettext "Campsite Montagut" )}}</span></a></h1>
|
||
{{/*
|
||
{{ if .LocalizedAlternates -}}
|
||
<nav>
|
||
<ul>
|
||
{{ range .LocalizedAlternates -}}
|
||
<li><a rel="alternate" href="{{ .HRef }}" hreflang="{{ .Lang }}"
|
||
lang="{{ .Lang }}">{{ .Endonym }}</a></li>
|
||
{{ end }}
|
||
</ul>
|
||
</nav>
|
||
{{- end }}
|
||
*/}}
|
||
{{ with .Menu -}}
|
||
<nav>
|
||
<ul>
|
||
<li><a href="/{{ currentLocale }}/">{{( pgettext "Home" "title" )}}</a></li>
|
||
{{/*
|
||
{{ if .CampsiteTypes -}}
|
||
<li>
|
||
<button type="button" aria-expanded="false" aria-controls="campsite-types-menu"
|
||
>{{( gettext "Singular Lodges" )}}</button>
|
||
<ul id="campsite-types-menu">
|
||
{{ range .CampsiteTypes -}}
|
||
<li><a href="{{ .HRef }}">{{ .Label }}</a></li>
|
||
{{ end }}
|
||
</ul>
|
||
</li>
|
||
{{- end }}
|
||
*/}}
|
||
</ul>
|
||
</nav>
|
||
{{- end }}
|
||
</header>
|
||
<main id="content">
|
||
{{- template "content" . }}
|
||
</main>
|
||
<footer>© {{( gettext "Campsite Montagut" )}} | 1984–2023</footer>
|
||
</body>
|
||
</html>
|