From e375ef6c2c8462abfbd28939627aab7c35781d7b Mon Sep 17 00:00:00 2001 From: PTC Date: Tue, 13 Oct 2026 09:49:23 +0200 Subject: [PATCH] =?UTF-8?q?Urednik=20Sebastjan=20Arti=C4=8D:=20avtor=20cla?= =?UTF-8?q?nkov=20(Person,=20Chefredakteur)=20+=20Impressum=20(Redaktion,?= =?UTF-8?q?=20=C2=A7=2018=20Abs.=202=20MStV)=20tudi=20v=20SSR?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 --- client/src/pages/article.tsx | 12 +++++++----- client/src/pages/impressum.tsx | 14 ++++++++++++++ server/static.ts | 16 +++++++++++++--- 3 files changed, 34 insertions(+), 8 deletions(-) diff --git a/client/src/pages/article.tsx b/client/src/pages/article.tsx index e487e9f..362ad27 100644 --- a/client/src/pages/article.tsx +++ b/client/src/pages/article.tsx @@ -172,7 +172,7 @@ export default function ArticlePage() { ogUrl: articleUrl, articlePublishedTime: new Date(article.publishedAt).toISOString(), articleModifiedTime: articleModifiedTime(article.content || "", new Date(article.publishedAt).toISOString()), - articleAuthor: article.author || "Folx Music Television", + articleAuthor: "Sebastjan Artič", articleSection: articleGenre(article.content || "").section, } : undefined ); @@ -189,9 +189,11 @@ export default function ArticlePage() { "datePublished": new Date(article.publishedAt).toISOString(), "dateModified": articleModifiedTime(article.content || "", new Date(article.publishedAt).toISOString()), "author": { - "@type": "Organization", - "name": article.author || "Folx Music Television", - "url": "https://folx.tv" + "@type": "Person", + "name": "Sebastjan Artič", + "jobTitle": "Chefredakteur", + "url": "https://folx.tv/impressum", + "worksFor": { "@type": "Organization", "name": "FOLX TV", "url": "https://folx.tv" } }, "publisher": publisherSchema(), "mainEntityOfPage": { @@ -381,7 +383,7 @@ export default function ArticlePage() {
- {article.author} + Sebastjan Artič diff --git a/client/src/pages/impressum.tsx b/client/src/pages/impressum.tsx index 581d838..3ee70ce 100644 --- a/client/src/pages/impressum.tsx +++ b/client/src/pages/impressum.tsx @@ -41,6 +41,20 @@ export default function ImpressumPage() {

+
+

Redaktion

+

+ Chefredakteur: Sebastjan Artič +
+ Verantwortlich für den Inhalt nach § 18 Abs. 2 MStV: Sebastjan Artič, Sigmaringer Str. 10, 72379 Hechingen +
+ E-Mail:{" "} + + office@folx.tv + +

+
+

Offenlegung nach Mediengesetz

diff --git a/server/static.ts b/server/static.ts index 60f24a1..377516f 100644 --- a/server/static.ts +++ b/server/static.ts @@ -494,9 +494,11 @@ export function serveStatic(app: Express) { "articleSection": folxGenre(article).section, "keywords": folxGenre(article).words.join(", "), "author": { - "@type": "Organization", - "name": article.author || "Folx Music Television", - "url": canonicalBase, + "@type": "Person", + "name": "Sebastjan Artič", + "jobTitle": "Chefredakteur", + "url": "https://folx.tv/impressum", + "worksFor": { "@type": "Organization", "name": "FOLX TV", "url": "https://folx.tv" }, }, "publisher": PUBLISHER(canonicalBase), "mainEntityOfPage": { @@ -787,6 +789,14 @@ export function serveStatic(app: Express) { res.status(404).set({ "Content-Type": "text/html" }).end(template); return; } + // 13. 10. 2026: Impressum (izdajatelj + odgovorni urednik) tudi v SSR, da ga Google vidi brez JS (E-E-A-T) + if (/^\/impressum\/?$/.test(cleanPath)) { + const imp = `

Impressum

` + + `

Herausgeber

PRIME TIME Consulting GmbH
Sigmaringer Str. 10
72379 Hechingen
Deutschland
Geschäftsführerin: Heike Artič
E-Mail: office@primetime.consulting

` + + `

Redaktion

Chefredakteur: Sebastjan Artič
Verantwortlich für den Inhalt nach § 18 Abs. 2 MStV: Sebastjan Artič, Sigmaringer Str. 10, 72379 Hechingen
E-Mail: office@folx.tv

` + + `

Offenlegung nach Mediengesetz

Medieninhaber: BoldFrame Productions d.o.o.
Sokolska ulica 46, 2000 Maribor, Slowenien

`; + template = template.replace('
', () => `
${imp}
`); + } res.status(200).set({ "Content-Type": "text/html" }).end(template); }); }