Urednik Sebastjan Artič: avtor clankov (Person, Chefredakteur) + Impressum (Redaktion, § 18 Abs. 2 MStV) tudi v SSR
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -172,7 +172,7 @@ export default function ArticlePage() {
|
|||||||
ogUrl: articleUrl,
|
ogUrl: articleUrl,
|
||||||
articlePublishedTime: new Date(article.publishedAt).toISOString(),
|
articlePublishedTime: new Date(article.publishedAt).toISOString(),
|
||||||
articleModifiedTime: articleModifiedTime(article.content || "", 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,
|
articleSection: articleGenre(article.content || "").section,
|
||||||
} : undefined
|
} : undefined
|
||||||
);
|
);
|
||||||
@@ -189,9 +189,11 @@ export default function ArticlePage() {
|
|||||||
"datePublished": new Date(article.publishedAt).toISOString(),
|
"datePublished": new Date(article.publishedAt).toISOString(),
|
||||||
"dateModified": articleModifiedTime(article.content || "", new Date(article.publishedAt).toISOString()),
|
"dateModified": articleModifiedTime(article.content || "", new Date(article.publishedAt).toISOString()),
|
||||||
"author": {
|
"author": {
|
||||||
"@type": "Organization",
|
"@type": "Person",
|
||||||
"name": article.author || "Folx Music Television",
|
"name": "Sebastjan Artič",
|
||||||
"url": "https://folx.tv"
|
"jobTitle": "Chefredakteur",
|
||||||
|
"url": "https://folx.tv/impressum",
|
||||||
|
"worksFor": { "@type": "Organization", "name": "FOLX TV", "url": "https://folx.tv" }
|
||||||
},
|
},
|
||||||
"publisher": publisherSchema(),
|
"publisher": publisherSchema(),
|
||||||
"mainEntityOfPage": {
|
"mainEntityOfPage": {
|
||||||
@@ -381,7 +383,7 @@ export default function ArticlePage() {
|
|||||||
<div className="flex flex-wrap items-center gap-3 text-xs text-muted-foreground">
|
<div className="flex flex-wrap items-center gap-3 text-xs text-muted-foreground">
|
||||||
<span className="flex items-center gap-1.5">
|
<span className="flex items-center gap-1.5">
|
||||||
<User className="w-3.5 h-3.5" />
|
<User className="w-3.5 h-3.5" />
|
||||||
{article.author}
|
<a href="/impressum" className="hover:underline">Sebastjan Artič</a>
|
||||||
</span>
|
</span>
|
||||||
<span className="flex items-center gap-1.5">
|
<span className="flex items-center gap-1.5">
|
||||||
<Calendar className="w-3.5 h-3.5" />
|
<Calendar className="w-3.5 h-3.5" />
|
||||||
|
|||||||
@@ -41,6 +41,20 @@ export default function ImpressumPage() {
|
|||||||
</p>
|
</p>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
<section>
|
||||||
|
<h2 className="text-foreground font-semibold text-lg mb-3">Redaktion</h2>
|
||||||
|
<p>
|
||||||
|
Chefredakteur: Sebastjan Artič
|
||||||
|
<br />
|
||||||
|
Verantwortlich für den Inhalt nach § 18 Abs. 2 MStV: Sebastjan Artič, Sigmaringer Str. 10, 72379 Hechingen
|
||||||
|
<br />
|
||||||
|
E-Mail:{" "}
|
||||||
|
<a href="mailto:office@folx.tv" className="text-primary hover:underline">
|
||||||
|
office@folx.tv
|
||||||
|
</a>
|
||||||
|
</p>
|
||||||
|
</section>
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
<h2 className="text-foreground font-semibold text-lg mb-3">Offenlegung nach Mediengesetz</h2>
|
<h2 className="text-foreground font-semibold text-lg mb-3">Offenlegung nach Mediengesetz</h2>
|
||||||
<p>
|
<p>
|
||||||
|
|||||||
+13
-3
@@ -494,9 +494,11 @@ export function serveStatic(app: Express) {
|
|||||||
"articleSection": folxGenre(article).section,
|
"articleSection": folxGenre(article).section,
|
||||||
"keywords": folxGenre(article).words.join(", "),
|
"keywords": folxGenre(article).words.join(", "),
|
||||||
"author": {
|
"author": {
|
||||||
"@type": "Organization",
|
"@type": "Person",
|
||||||
"name": article.author || "Folx Music Television",
|
"name": "Sebastjan Artič",
|
||||||
"url": canonicalBase,
|
"jobTitle": "Chefredakteur",
|
||||||
|
"url": "https://folx.tv/impressum",
|
||||||
|
"worksFor": { "@type": "Organization", "name": "FOLX TV", "url": "https://folx.tv" },
|
||||||
},
|
},
|
||||||
"publisher": PUBLISHER(canonicalBase),
|
"publisher": PUBLISHER(canonicalBase),
|
||||||
"mainEntityOfPage": {
|
"mainEntityOfPage": {
|
||||||
@@ -787,6 +789,14 @@ export function serveStatic(app: Express) {
|
|||||||
res.status(404).set({ "Content-Type": "text/html" }).end(template);
|
res.status(404).set({ "Content-Type": "text/html" }).end(template);
|
||||||
return;
|
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 = `<main style="max-width:760px;margin:0 auto;padding:24px"><h1>Impressum</h1>`
|
||||||
|
+ `<h2>Herausgeber</h2><p>PRIME TIME Consulting GmbH<br/>Sigmaringer Str. 10<br/>72379 Hechingen<br/>Deutschland<br/>Geschäftsführerin: Heike Artič<br/>E-Mail: office@primetime.consulting</p>`
|
||||||
|
+ `<h2>Redaktion</h2><p>Chefredakteur: Sebastjan Artič<br/>Verantwortlich für den Inhalt nach § 18 Abs. 2 MStV: Sebastjan Artič, Sigmaringer Str. 10, 72379 Hechingen<br/>E-Mail: office@folx.tv</p>`
|
||||||
|
+ `<h2>Offenlegung nach Mediengesetz</h2><p>Medieninhaber: BoldFrame Productions d.o.o.<br/>Sokolska ulica 46, 2000 Maribor, Slowenien</p></main>`;
|
||||||
|
template = template.replace('<div id="root"></div>', () => `<div id="root">${imp}</div>`);
|
||||||
|
}
|
||||||
res.status(200).set({ "Content-Type": "text/html" }).end(template);
|
res.status(200).set({ "Content-Type": "text/html" }).end(template);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user