fix: SEO-Bake idempotent halten
This commit is contained in:
1 parent
1131ca5f81
commit
6dbf5c2fec
29 files changed
+42
-28
No files matched your search
+1
-1
@@ -54,7 +54,7 @@
|
||||
</style>
|
||||
|
||||
<link rel="stylesheet" href="custom/site.css">
|
||||
<!-- STATIC-SEO: canonical, Open Graph, Twitter, JSON-LD (aus seo-config.js gebacken) -->
|
||||
<!-- STATIC-SEO: canonical, Open Graph, Twitter, JSON-LD (aus seo-config.js gebacken) -->
|
||||
<meta name="robots" content="noindex">
|
||||
<!-- /STATIC-SEO -->
|
||||
</head>
|
||||
|
||||
+1
-1
@@ -51,7 +51,7 @@
|
||||
}
|
||||
a:hover { color: #fff; }
|
||||
</style>
|
||||
<!-- STATIC-SEO: canonical, Open Graph, Twitter, JSON-LD (aus seo-config.js gebacken) -->
|
||||
<!-- STATIC-SEO: canonical, Open Graph, Twitter, JSON-LD (aus seo-config.js gebacken) -->
|
||||
<link rel="canonical" href="https://leon-tonhaeuser.de/blog">
|
||||
<meta property="og:title" content="Blog | Leon Tonhäuser">
|
||||
<meta property="og:description" content="Blog von Leon Tonhäuser — bald mit Beiträgen über Shootings, Hintergründe und alles, was neben der Kamera passiert.">
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
<link href="https://fonts.googleapis.com/css2?family=Fragment+Mono&display=swap" rel="stylesheet">
|
||||
|
||||
<link rel="stylesheet" href="custom/site.css">
|
||||
<!-- STATIC-SEO: canonical, Open Graph, Twitter, JSON-LD (aus seo-config.js gebacken) -->
|
||||
<!-- STATIC-SEO: canonical, Open Graph, Twitter, JSON-LD (aus seo-config.js gebacken) -->
|
||||
<link rel="canonical" href="https://leon-tonhaeuser.de/datenschutz">
|
||||
<meta property="og:title" content="Datenschutzerklärung | Leon Tonhäuser">
|
||||
<meta property="og:description" content="Datenschutzerklärung der Website von Leon Tonhäuser, Sportfotograf aus Ebstorf.">
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
<link href="https://fonts.googleapis.com/css2?family=Fragment+Mono&display=swap" rel="stylesheet">
|
||||
|
||||
<link rel="stylesheet" href="custom/site.css">
|
||||
<!-- STATIC-SEO: canonical, Open Graph, Twitter, JSON-LD (aus seo-config.js gebacken) -->
|
||||
<!-- STATIC-SEO: canonical, Open Graph, Twitter, JSON-LD (aus seo-config.js gebacken) -->
|
||||
<link rel="canonical" href="https://leon-tonhaeuser.de/eventfotografie">
|
||||
<meta property="og:title" content="Eventfotograf Hamburg & deutschlandweit | Leon Tonhäuser">
|
||||
<meta property="og:description" content="Eventfotograf für Firmenevents, Tagungen, Messen und Konferenzen in Hamburg und deutschlandweit. Authentische Bilder für PR, Web und Social Media.">
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
<link href="https://fonts.googleapis.com/css2?family=Fragment+Mono&display=swap" rel="stylesheet">
|
||||
|
||||
<link rel="stylesheet" href="custom/site.css">
|
||||
<!-- STATIC-SEO: canonical, Open Graph, Twitter, JSON-LD (aus seo-config.js gebacken) -->
|
||||
<!-- STATIC-SEO: canonical, Open Graph, Twitter, JSON-LD (aus seo-config.js gebacken) -->
|
||||
<link rel="canonical" href="https://leon-tonhaeuser.de/impressum">
|
||||
<meta property="og:title" content="Impressum | Leon Tonhäuser">
|
||||
<meta property="og:description" content="Impressum und Kontaktdaten von Leon Tonhäuser, Sportfotograf aus Ebstorf.">
|
||||
|
||||
+1
-1
@@ -59,7 +59,7 @@
|
||||
|
||||
<link rel="stylesheet" href="custom/site.css">
|
||||
<link rel="stylesheet" href="custom/fokus.css">
|
||||
<!-- STATIC-SEO: canonical, Open Graph, Twitter, JSON-LD (aus seo-config.js gebacken) -->
|
||||
<!-- STATIC-SEO: canonical, Open Graph, Twitter, JSON-LD (aus seo-config.js gebacken) -->
|
||||
<link rel="canonical" href="https://leon-tonhaeuser.de/">
|
||||
<meta property="og:title" content="Leon Tonhäuser | Sport- & Eventfotografie aus Ebstorf">
|
||||
<meta property="og:description" content="Sport- und Eventfotograf aus Ebstorf, regelmäßig im Einsatz in Hamburg, Hannover und Norddeutschland. Portfolio, Leistungen und direkte Anfrage.">
|
||||
|
||||
+1
-1
@@ -58,7 +58,7 @@
|
||||
<link href="https://fonts.googleapis.com/css2?family=Fragment+Mono&display=swap" rel="stylesheet">
|
||||
|
||||
<link rel="stylesheet" href="custom/site.css">
|
||||
<!-- STATIC-SEO: canonical, Open Graph, Twitter, JSON-LD (aus seo-config.js gebacken) -->
|
||||
<!-- STATIC-SEO: canonical, Open Graph, Twitter, JSON-LD (aus seo-config.js gebacken) -->
|
||||
<link rel="canonical" href="https://leon-tonhaeuser.de/kontakt">
|
||||
<meta property="og:title" content="Kontakt | Leon Tonhäuser — Sportfotograf">
|
||||
<meta property="og:description" content="Kontakt zu Leon Tonhäuser — Sportfotograf aus Ebstorf für Hamburg, Hannover und Norddeutschland. Telefon 0162-5434418, E-Mail mail@leon-tonhaeuser.de, Anfrageformular.">
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
<link href="https://fonts.googleapis.com/css2?family=Fragment+Mono&display=swap" rel="stylesheet">
|
||||
|
||||
<link rel="stylesheet" href="custom/site.css">
|
||||
<!-- STATIC-SEO: canonical, Open Graph, Twitter, JSON-LD (aus seo-config.js gebacken) -->
|
||||
<!-- STATIC-SEO: canonical, Open Graph, Twitter, JSON-LD (aus seo-config.js gebacken) -->
|
||||
<link rel="canonical" href="https://leon-tonhaeuser.de/leistungen">
|
||||
<meta property="og:title" content="Leistungen | Leon Tonhäuser — Sport- & Eventfotografie">
|
||||
<meta property="og:description" content="Eventfotografie, Sportfotografie und Reportagefotografie — Leistungen für Vereine, Veranstalter und Unternehmen in Uelzen, Lüneburg und Hamburg.">
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
<link href="https://fonts.googleapis.com/css2?family=Fragment+Mono&display=swap" rel="stylesheet">
|
||||
|
||||
<link rel="stylesheet" href="custom/site.css">
|
||||
<!-- STATIC-SEO: canonical, Open Graph, Twitter, JSON-LD (aus seo-config.js gebacken) -->
|
||||
<!-- STATIC-SEO: canonical, Open Graph, Twitter, JSON-LD (aus seo-config.js gebacken) -->
|
||||
<link rel="canonical" href="https://leon-tonhaeuser.de/portfolio-abiball">
|
||||
<meta property="og:title" content="Abiball | Leon Tonhäuser — Eventfotografie Uelzen & Lüneburg">
|
||||
<meta property="og:description" content="Abiball-Fotografie von Leon Tonhäuser — Stimmung, Tanz und Emotionen vom Abschlussball. Eventfotograf für Schulen in Uelzen, Lüneburg und Umgebung.">
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
<link href="https://fonts.googleapis.com/css2?family=Fragment+Mono&display=swap" rel="stylesheet">
|
||||
|
||||
<link rel="stylesheet" href="custom/site.css">
|
||||
<!-- STATIC-SEO: canonical, Open Graph, Twitter, JSON-LD (aus seo-config.js gebacken) -->
|
||||
<!-- STATIC-SEO: canonical, Open Graph, Twitter, JSON-LD (aus seo-config.js gebacken) -->
|
||||
<link rel="canonical" href="https://leon-tonhaeuser.de/portfolio-aufstiegsfeier">
|
||||
<meta property="og:title" content="Aufstiegsfeier | Leon Tonhäuser — Eventfotografie">
|
||||
<meta property="og:description" content="Aufstiegsfeier fotografiert von Leon Tonhäuser. Emotionen, Jubel und der Moment des Erfolgs — Eventfotografie für Vereine und Veranstalter.">
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
<link href="https://fonts.googleapis.com/css2?family=Fragment+Mono&display=swap" rel="stylesheet">
|
||||
|
||||
<link rel="stylesheet" href="custom/site.css">
|
||||
<!-- STATIC-SEO: canonical, Open Graph, Twitter, JSON-LD (aus seo-config.js gebacken) -->
|
||||
<!-- STATIC-SEO: canonical, Open Graph, Twitter, JSON-LD (aus seo-config.js gebacken) -->
|
||||
<link rel="canonical" href="https://leon-tonhaeuser.de/portfolio-beach-soccer-cup">
|
||||
<meta property="og:title" content="Beach Soccer Cup 2026 | Leon Tonhäuser — Sportfotografie">
|
||||
<meta property="og:description" content="Beach Soccer Cup 2026 fotografiert von Leon Tonhäuser. Sand, Tempo und Tore — Sportfotografie für Turniere und Veranstalter.">
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
<link href="https://fonts.googleapis.com/css2?family=Fragment+Mono&display=swap" rel="stylesheet">
|
||||
|
||||
<link rel="stylesheet" href="custom/site.css">
|
||||
<!-- STATIC-SEO: canonical, Open Graph, Twitter, JSON-LD (aus seo-config.js gebacken) -->
|
||||
<!-- STATIC-SEO: canonical, Open Graph, Twitter, JSON-LD (aus seo-config.js gebacken) -->
|
||||
<link rel="canonical" href="https://leon-tonhaeuser.de/portfolio-deutschland-u21">
|
||||
<meta property="og:title" content="Deutschland U21 | Leon Tonhäuser — Sportfotografie">
|
||||
<meta property="og:description" content="Spielberichte und Emotionen der Deutschland U21. Sportfotografie von Leon Tonhäuser — authentisch, dynamisch, nah dran.">
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
<link href="https://fonts.googleapis.com/css2?family=Fragment+Mono&display=swap" rel="stylesheet">
|
||||
|
||||
<link rel="stylesheet" href="custom/site.css">
|
||||
<!-- STATIC-SEO: canonical, Open Graph, Twitter, JSON-LD (aus seo-config.js gebacken) -->
|
||||
<!-- STATIC-SEO: canonical, Open Graph, Twitter, JSON-LD (aus seo-config.js gebacken) -->
|
||||
<link rel="canonical" href="https://leon-tonhaeuser.de/portfolio-fc-st-pauli">
|
||||
<meta property="og:title" content="FC St. Pauli | Leon Tonhäuser — Sportfotografie">
|
||||
<meta property="og:description" content="Spielberichte und Emotionen rund um den FC St. Pauli. Sportfotografie von Leon Tonhäuser aus Uelzen — für Vereine und Sponsoren.">
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
<link href="https://fonts.googleapis.com/css2?family=Fragment+Mono&display=swap" rel="stylesheet">
|
||||
|
||||
<link rel="stylesheet" href="custom/site.css">
|
||||
<!-- STATIC-SEO: canonical, Open Graph, Twitter, JSON-LD (aus seo-config.js gebacken) -->
|
||||
<!-- STATIC-SEO: canonical, Open Graph, Twitter, JSON-LD (aus seo-config.js gebacken) -->
|
||||
<link rel="canonical" href="https://leon-tonhaeuser.de/portfolio-frauen-bundesliga">
|
||||
<meta property="og:title" content="Frauen-Bundesliga | Leon Tonhäuser — Sportfotografie">
|
||||
<meta property="og:description" content="Spielberichte und Momente aus der Frauen-Bundesliga. Sportfotografie von Leon Tonhäuser — authentisch, dynamisch, nah am Geschehen.">
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
<link href="https://fonts.googleapis.com/css2?family=Fragment+Mono&display=swap" rel="stylesheet">
|
||||
|
||||
<link rel="stylesheet" href="custom/site.css">
|
||||
<!-- STATIC-SEO: canonical, Open Graph, Twitter, JSON-LD (aus seo-config.js gebacken) -->
|
||||
<!-- STATIC-SEO: canonical, Open Graph, Twitter, JSON-LD (aus seo-config.js gebacken) -->
|
||||
<link rel="canonical" href="https://leon-tonhaeuser.de/portfolio-hamburger-sv">
|
||||
<meta property="og:title" content="Hamburger SV | Leon Tonhäuser — Sportfotografie">
|
||||
<meta property="og:description" content="Spielberichte und Emotionen rund um den Hamburger SV. Sportfotografie von Leon Tonhäuser aus Uelzen — für Vereine und Sponsoren.">
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
<link href="https://fonts.googleapis.com/css2?family=Fragment+Mono&display=swap" rel="stylesheet">
|
||||
|
||||
<link rel="stylesheet" href="custom/site.css">
|
||||
<!-- STATIC-SEO: canonical, Open Graph, Twitter, JSON-LD (aus seo-config.js gebacken) -->
|
||||
<!-- STATIC-SEO: canonical, Open Graph, Twitter, JSON-LD (aus seo-config.js gebacken) -->
|
||||
<link rel="canonical" href="https://leon-tonhaeuser.de/portfolio-hannover-96">
|
||||
<meta property="og:title" content="Hannover 96 | Leon Tonhäuser — Sportfotografie">
|
||||
<meta property="og:description" content="Spielberichte und Momente rund um Hannover 96. Sportfotografie von Leon Tonhäuser aus Uelzen — für Vereine und Sponsoren.">
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
<link href="https://fonts.googleapis.com/css2?family=Fragment+Mono&display=swap" rel="stylesheet">
|
||||
|
||||
<link rel="stylesheet" href="custom/site.css">
|
||||
<!-- STATIC-SEO: canonical, Open Graph, Twitter, JSON-LD (aus seo-config.js gebacken) -->
|
||||
<!-- STATIC-SEO: canonical, Open Graph, Twitter, JSON-LD (aus seo-config.js gebacken) -->
|
||||
<link rel="canonical" href="https://leon-tonhaeuser.de/portfolio-nfv-pokalfinale-2026">
|
||||
<meta property="og:title" content="NFV-Pokalfinale 2026 | Leon Tonhäuser — Sportfotografie">
|
||||
<meta property="og:description" content="NFV-Pokalfinale 2026 fotografiert von Leon Tonhäuser. Pokal, Emotionen und Entscheidung — Sportfotografie für den NFV.">
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
<link href="https://fonts.googleapis.com/css2?family=Fragment+Mono&display=swap" rel="stylesheet">
|
||||
|
||||
<link rel="stylesheet" href="custom/site.css">
|
||||
<!-- STATIC-SEO: canonical, Open Graph, Twitter, JSON-LD (aus seo-config.js gebacken) -->
|
||||
<!-- STATIC-SEO: canonical, Open Graph, Twitter, JSON-LD (aus seo-config.js gebacken) -->
|
||||
<link rel="canonical" href="https://leon-tonhaeuser.de/portfolio-omr-yes-wecancer">
|
||||
<meta property="og:title" content="OMR x yes!wecancer | Leon Tonhäuser — Eventfotografie">
|
||||
<meta property="og:description" content="OMR x yes!wecancer — Eventfotografie von Leon Tonhäuser. Menschen, Begegnung und Botschaft in Bildern.">
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
<link href="https://fonts.googleapis.com/css2?family=Fragment+Mono&display=swap" rel="stylesheet">
|
||||
|
||||
<link rel="stylesheet" href="custom/site.css">
|
||||
<!-- STATIC-SEO: canonical, Open Graph, Twitter, JSON-LD (aus seo-config.js gebacken) -->
|
||||
<!-- STATIC-SEO: canonical, Open Graph, Twitter, JSON-LD (aus seo-config.js gebacken) -->
|
||||
<link rel="canonical" href="https://leon-tonhaeuser.de/portfolio-rhine-ruhr-3x3">
|
||||
<meta property="og:title" content="Rhine-Ruhr 2025 – 3×3 Basketball | Leon Tonhäuser">
|
||||
<meta property="og:description" content="3×3 Basketball vom Rhine-Ruhr 2025 Sports Event. Streetball, Dynamik, Teamgeist — fotografiert von Leon Tonhäuser.">
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
<link href="https://fonts.googleapis.com/css2?family=Fragment+Mono&display=swap" rel="stylesheet">
|
||||
|
||||
<link rel="stylesheet" href="custom/site.css">
|
||||
<!-- STATIC-SEO: canonical, Open Graph, Twitter, JSON-LD (aus seo-config.js gebacken) -->
|
||||
<!-- STATIC-SEO: canonical, Open Graph, Twitter, JSON-LD (aus seo-config.js gebacken) -->
|
||||
<link rel="canonical" href="https://leon-tonhaeuser.de/portfolio-rhine-ruhr-basketball">
|
||||
<meta property="og:title" content="Rhine-Ruhr 2025 – Basketball | Leon Tonhäuser">
|
||||
<meta property="og:description" content="Basketball-Shootings vom Rhine-Ruhr 2025 Sports Event. Professionelle Eventfotografie von Leon Tonhäuser.">
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
<link href="https://fonts.googleapis.com/css2?family=Fragment+Mono&display=swap" rel="stylesheet">
|
||||
|
||||
<link rel="stylesheet" href="custom/site.css">
|
||||
<!-- STATIC-SEO: canonical, Open Graph, Twitter, JSON-LD (aus seo-config.js gebacken) -->
|
||||
<!-- STATIC-SEO: canonical, Open Graph, Twitter, JSON-LD (aus seo-config.js gebacken) -->
|
||||
<link rel="canonical" href="https://leon-tonhaeuser.de/portfolio-rhine-ruhr-beachvolleyball">
|
||||
<meta property="og:title" content="Rhine-Ruhr 2025 – Beachvolleyball | Leon Tonhäuser">
|
||||
<meta property="og:description" content="Beachvolleyball vom Rhine-Ruhr 2025 Sports Event. Sand, Sonne, Dynamik — Sportfotografie von Leon Tonhäuser.">
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
<link href="https://fonts.googleapis.com/css2?family=Fragment+Mono&display=swap" rel="stylesheet">
|
||||
|
||||
<link rel="stylesheet" href="custom/site.css">
|
||||
<!-- STATIC-SEO: canonical, Open Graph, Twitter, JSON-LD (aus seo-config.js gebacken) -->
|
||||
<!-- STATIC-SEO: canonical, Open Graph, Twitter, JSON-LD (aus seo-config.js gebacken) -->
|
||||
<link rel="canonical" href="https://leon-tonhaeuser.de/portfolio-rhine-ruhr-sport">
|
||||
<meta property="og:title" content="Rhine-Ruhr 2025 – Sportarten | Leon Tonhäuser">
|
||||
<meta property="og:description" content="Impressionen vom Rhine-Ruhr 2025 Sports Event. Verschiedene Sportarten in einer Bildserie — fotografiert von Leon Tonhäuser.">
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
<link href="https://fonts.googleapis.com/css2?family=Fragment+Mono&display=swap" rel="stylesheet">
|
||||
|
||||
<link rel="stylesheet" href="custom/site.css">
|
||||
<!-- STATIC-SEO: canonical, Open Graph, Twitter, JSON-LD (aus seo-config.js gebacken) -->
|
||||
<!-- STATIC-SEO: canonical, Open Graph, Twitter, JSON-LD (aus seo-config.js gebacken) -->
|
||||
<link rel="canonical" href="https://leon-tonhaeuser.de/portfolio-sv-meppen">
|
||||
<meta property="og:title" content="SV Meppen | Leon Tonhäuser — Sportfotografie">
|
||||
<meta property="og:description" content="Spielberichte und Momente des SV Meppen. Sportfotografie von Leon Tonhäuser — regional, authentisch, leidenschaftlich.">
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
<link href="https://fonts.googleapis.com/css2?family=Fragment+Mono&display=swap" rel="stylesheet">
|
||||
|
||||
<link rel="stylesheet" href="custom/site.css">
|
||||
<!-- STATIC-SEO: canonical, Open Graph, Twitter, JSON-LD (aus seo-config.js gebacken) -->
|
||||
<!-- STATIC-SEO: canonical, Open Graph, Twitter, JSON-LD (aus seo-config.js gebacken) -->
|
||||
<link rel="canonical" href="https://leon-tonhaeuser.de/portfolio-svg-lueneburg">
|
||||
<meta property="og:title" content="SVG Lüneburg | Leon Tonhäuser — Sportfotografie">
|
||||
<meta property="og:description" content="Spielberichte und Momente der SVG Lüneburg. Sportfotografie von Leon Tonhäuser — regional, authentisch, leidenschaftlich.">
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
<link href="https://fonts.googleapis.com/css2?family=Fragment+Mono&display=swap" rel="stylesheet">
|
||||
|
||||
<link rel="stylesheet" href="custom/site.css">
|
||||
<!-- STATIC-SEO: canonical, Open Graph, Twitter, JSON-LD (aus seo-config.js gebacken) -->
|
||||
<!-- STATIC-SEO: canonical, Open Graph, Twitter, JSON-LD (aus seo-config.js gebacken) -->
|
||||
<link rel="canonical" href="https://leon-tonhaeuser.de/portfolio-yes-con-2026">
|
||||
<meta property="og:title" content="YES!CON 2026 | Leon Tonhäuser — Eventfotografie">
|
||||
<meta property="og:description" content="YES!CON 2026 fotografiert von Leon Tonhäuser. Messe, Vorträge und Stimmung — Eventfotografie für Veranstalter.">
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
<link href="https://fonts.googleapis.com/css2?family=Fragment+Mono&display=swap" rel="stylesheet">
|
||||
|
||||
<link rel="stylesheet" href="custom/site.css">
|
||||
<!-- STATIC-SEO: canonical, Open Graph, Twitter, JSON-LD (aus seo-config.js gebacken) -->
|
||||
<!-- STATIC-SEO: canonical, Open Graph, Twitter, JSON-LD (aus seo-config.js gebacken) -->
|
||||
<link rel="canonical" href="https://leon-tonhaeuser.de/portfolio">
|
||||
<meta property="og:title" content="Portfolio | Leon Tonhäuser — Sportfotograf">
|
||||
<meta property="og:description" content="Portfolio von Leon Tonhäuser: Sportfotografie von Rhine-Ruhr 2025, Frauen-Bundesliga, Hamburg und regionalen Events. Eindrücke, Momente und Emotionen.">
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
<link href="https://fonts.googleapis.com/css2?family=Fragment+Mono&display=swap" rel="stylesheet">
|
||||
|
||||
<link rel="stylesheet" href="custom/site.css">
|
||||
<!-- STATIC-SEO: canonical, Open Graph, Twitter, JSON-LD (aus seo-config.js gebacken) -->
|
||||
<!-- STATIC-SEO: canonical, Open Graph, Twitter, JSON-LD (aus seo-config.js gebacken) -->
|
||||
<link rel="canonical" href="https://leon-tonhaeuser.de/über-mich">
|
||||
<meta property="og:title" content="Über mich | Leon Tonhäuser — Sportfotograf">
|
||||
<meta property="og:description" content="Über Leon Tonhäuser: Sportfotograf aus Ebstorf, tätig in Lüneburg, Hamburg und Niedersachsen. Leidenschaft für Sport, Events und Reportage.">
|
||||
|
||||
@@ -132,7 +132,7 @@ for (const f of readdirSync(PUB).filter((x) => x.endsWith('.html'))) {
|
||||
html = html.replace('</title>', `</title>\n\t${descriptionTag}`);
|
||||
}
|
||||
}
|
||||
const re = new RegExp(reEsc(BEGIN) + '[\\s\\S]*?' + reEsc(END) + '\\n?');
|
||||
const re = new RegExp('[\\t ]*' + reEsc(BEGIN) + '[\\s\\S]*?' + reEsc(END) + '\\n?');
|
||||
html = html.replace(re, '');
|
||||
if (!html.includes('</head>')) { console.warn('kein </head> in', f); continue; }
|
||||
html = html.replace('</head>', buildBlock(p) + '\n</head>');
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import assert from 'node:assert/strict';
|
||||
import { execFileSync } from 'node:child_process';
|
||||
import { existsSync, readFileSync, readdirSync } from 'node:fs';
|
||||
import path from 'node:path';
|
||||
import vm from 'node:vm';
|
||||
@@ -43,6 +44,13 @@ function check(name, fn) {
|
||||
}
|
||||
}
|
||||
|
||||
function bakeSeo() {
|
||||
execFileSync(process.execPath, ['scripts/bake-seo.mjs'], {
|
||||
cwd: ROOT,
|
||||
stdio: 'pipe'
|
||||
});
|
||||
}
|
||||
|
||||
if (wants('core')) {
|
||||
const config = loadConfig();
|
||||
const cities = ['Hamburg', 'Hannover', 'Wolfsburg', 'Uelzen', 'Celle', 'Lüneburg'];
|
||||
@@ -87,6 +95,12 @@ if (wants('core')) {
|
||||
assert.ok(html.includes('"serviceType":"Eventfotografie"'));
|
||||
assert.ok(html.includes('"@type":"Country","name":"Deutschland"'));
|
||||
});
|
||||
|
||||
check('erneutes SEO-Backen verändert den Event-Head nicht', () => {
|
||||
const before = read('public/eventfotografie.html');
|
||||
bakeSeo();
|
||||
assert.equal(read('public/eventfotografie.html'), before);
|
||||
});
|
||||
}
|
||||
|
||||
if (failures.length) {
|
||||
|
||||
Reference in new issue
Block a user