fixed some domain issues
All checks were successful
Deploy SingleChat / deploy (push) Successful in 24s

This commit is contained in:
Torsten Schulz (local)
2026-06-16 12:47:58 +02:00
parent e279215b85
commit 8c9a600645
13 changed files with 61 additions and 42 deletions

View File

@@ -2,7 +2,7 @@ import { readFileSync, existsSync } from 'fs';
import { join, resolve } from 'path';
import { loadFeedback } from './feedback-store.js';
const SITE_URL = 'https://ypchat.net';
const SITE_URL = 'https://www.ypchat.net';
const DEFAULT_IMAGE = `${SITE_URL}/static/favicon.png`;
const SEO_LOCALES = [
{ code: 'de', label: 'Deutsch' },
@@ -363,7 +363,7 @@ for (const page of landingPages) {
isPartOf: {
'@type': 'WebSite',
name: 'SingleChat',
alternateName: 'Single-Chat.net',
alternateName: 'YPChat',
url: `${SITE_URL}/`
},
inLanguage: 'de-DE'
@@ -515,7 +515,7 @@ function buildSeoLandingContent(route) {
.join('\n');
return `<section lang="de" style="max-width:960px;margin:24px auto;padding:0 16px;">
<p style="font:700 12px/1.2 sans-serif;color:#637067;text-transform:uppercase;margin:0 0 6px;">Single-Chat.net</p>
<p style="font:700 12px/1.2 sans-serif;color:#637067;text-transform:uppercase;margin:0 0 6px;">YPChat</p>
<h1 style="font:700 34px/1.15 sans-serif;color:#18201b;margin:0 0 12px;">${escapeHtml(page.heading)}</h1>
<p style="font:400 16px/1.6 sans-serif;color:#344038;margin:0 0 18px;max-width:760px;">${escapeHtml(page.intro)}</p>
<div style="display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;">${sectionMarkup}</div>