(Update) Update projet + todo
Deploy to VPS / deploy (push) Has been cancelled

This commit is contained in:
2026-06-22 23:32:18 +02:00
parent ea71039071
commit 0c88206a23
20 changed files with 192 additions and 246 deletions
+4 -3
View File
@@ -4,6 +4,7 @@ import type { Metadata } from "next";
import { MDXRemote } from "next-mdx-remote/rsc";
import remarkGfm from "remark-gfm";
import { getAdjacentPosts, getAllPosts, getPost } from "@/lib/devblog";
import { SITE_URL, LOGO_URL } from "@/lib/site";
type Props = { params: Promise<{ slug: string }> };
@@ -15,7 +16,7 @@ export async function generateMetadata({ params }: Props): Promise<Metadata> {
const { slug } = await params;
const post = getPost(slug);
if (!post) return {};
const url = `https://highlandgamesstudio.com/devblog/${post.slug}`;
const url = `${SITE_URL}/devblog/${post.slug}`;
return {
title: post.title,
description: post.excerpt,
@@ -109,7 +110,7 @@ export default async function DevblogPost({ params }: Props) {
if (!post) notFound();
const { newer, older } = getAdjacentPosts(slug);
const url = `https://highlandgamesstudio.com/devblog/${post.slug}`;
const url = `${SITE_URL}/devblog/${post.slug}`;
const jsonLd = {
"@context": "https://schema.org",
"@type": "BlogPosting",
@@ -126,7 +127,7 @@ export default async function DevblogPost({ params }: Props) {
name: "Highland Games Studio",
logo: {
"@type": "ImageObject",
url: "https://highlandgamesstudio.com/image/Studio/Logo Flat.png",
url: LOGO_URL,
},
},
mainEntityOfPage: { "@type": "WebPage", "@id": url },