split up index to fit baseof.html

This commit is contained in:
sakrecoer 2026-08-16 14:49:45 +02:00
parent 9cb2b8337e
commit 3daecd6eea
3 changed files with 39 additions and 35 deletions

View file

@ -0,0 +1,35 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- SEO -->
{{ partial "seo.html" . }}
{{ $style := resources.Get "css/style.css" | resources.Minify | fingerprint }}
<link rel="stylesheet" href="{{ $style.RelPermalink }}">
</head>
<body>
{{ partial "header.html" . }}
<main>
{{ block "main" . }}{{ end }}
</main>
{{ partial "footer.html" . }}
{{ $js := resources.Get "js/scripts.js" | resources.Minify | fingerprint }}
<script src="{{ $js.RelPermalink }}"></script>
</body>
</html>

View file

@ -1,28 +1,4 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- SEO -->
{{ partial "seo.html" . }}
<meta name="robots" content="index" />
<meta name="geo.region" content="CH-GE" />
<meta name="geo.placename" content="Geneva" />
<meta name="geo.position" content="46.203918;6.133011" />
<meta name="ICBM" content="46.203918, 6.133011" />
<link rel="canonical" href="https://setto.basspistol.com" />
<link rel="alternate" hreflang="x-default" href="https://setto.basspistol.com" />
{{ $style := resources.Get "css/style.css" | resources.Minify | fingerprint }}
<link rel="stylesheet" href="{{ $style.RelPermalink }}">
</head>
<body>
{{ partial "header.html" . }}
<main>
{{ define "main" }}
{{ partial "blog.html" . }}
@ -32,10 +8,6 @@
{{ partial "videos.html" . }}
</main>
{{ partial "footer.html" . }}
<!-- Custom Lightbox -->
<div class="custom-lightbox" id="customLightbox">
<span class="custom-lightbox-close" id="lightboxClose"></span>
@ -96,8 +68,4 @@
</div>
</div>
{{ $js := resources.Get "js/scripts.js" | resources.Minify | fingerprint }}
<script src="{{ $js.RelPermalink }}"></script>
</body>
</html>
{{ end }}

View file

@ -88,6 +88,7 @@
<meta name="twitter:url" content="{{ $permalink }}" />
<meta name="twitter:title" content="{{ $escapedTitle }}" />
<meta name="twitter:description" content="{{ $escapedDescription }}" />
<link rel="alternate" hreflang="x-default" href="https://setto.basspistol.com" />
{{ if $picture }}
<meta name="twitter:image" content="{{ $escapedPicture }}" />
<meta name="twitter:image:alt" content="{{ $escapedTitle }}" />