Skip to content

Commit

Permalink
fix: SEO
Browse files Browse the repository at this point in the history
  • Loading branch information
flornkm committed Dec 23, 2023
1 parent 6b91dad commit 030a8e4
Show file tree
Hide file tree
Showing 5 changed files with 56 additions and 53 deletions.
2 changes: 1 addition & 1 deletion build/generateSitemap.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import fs from "node:fs/promises"

const siteURL = "https://preview.floriankiem.com"
const siteURL = "https://floriankiem.com"

// Add all routes that should be included in the sitemap here, dynamic routes should be marked with dynamic: true
const routes = [
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,11 @@
"vercel-build": "npm run compile && npm run build:og && vite build",
"--- Single commands ------------------------": "",
"clean": "rm -rf dist && rm -rf node_modules && rm -rf .vite",
"build:icons": "node ./build/generateIcons.js",
"build:og": "node ./build/generateOpengraph.js",
"build:sitemap": "node ./build/generateSitemap.js",
"compile": "paraglide-js compile --project ./lang/project.inlang --outdir ./lang/paraglide",
"--- Not in use, but nenpcessary to include ---": "",
"build": "npm run compile && npm run build:og && npm run build:sitemap && npm run build:icons && vite build"
"build": "npm run compile && npm run build:og && npm run build:sitemap && vite build"
},
"dependencies": {
"@babel/core": "^7.17.10",
Expand Down
Binary file added public/generated/website-launch.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
100 changes: 52 additions & 48 deletions public/sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,99 +2,103 @@
<?xml-stylesheet type="text/xsl" href="https://www.nsb.com/wp-content/plugins/wordpress-seo-premium/css/main-sitemap.xsl"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://preview.floriankiem.com/</loc>
<lastmod>2023-12-09T12:18:30.005Z</lastmod>
<loc>https://floriankiem.com/</loc>
<lastmod>2023-12-23T17:27:00.929Z</lastmod>
</url>
<url>
<loc>https://preview.floriankiem.com/work</loc>
<lastmod>2023-12-09T12:18:30.005Z</lastmod>
<loc>https://floriankiem.com/work</loc>
<lastmod>2023-12-23T17:27:00.929Z</lastmod>
</url>
<url>
<loc>https://preview.floriankiem.com/work/boost</loc>
<lastmod>2023-12-09T12:18:30.005Z</lastmod>
<loc>https://floriankiem.com/work/boost</loc>
<lastmod>2023-12-23T17:27:00.929Z</lastmod>
</url>
<url>
<loc>https://preview.floriankiem.com/work/bridge</loc>
<lastmod>2023-12-09T12:18:30.005Z</lastmod>
<loc>https://floriankiem.com/work/bridge</loc>
<lastmod>2023-12-23T17:27:00.929Z</lastmod>
</url>
<url>
<loc>https://preview.floriankiem.com/work/curations</loc>
<lastmod>2023-12-09T12:18:30.005Z</lastmod>
<loc>https://floriankiem.com/work/curations</loc>
<lastmod>2023-12-23T17:27:00.929Z</lastmod>
</url>
<url>
<loc>https://preview.floriankiem.com/about</loc>
<lastmod>2023-12-09T12:18:30.005Z</lastmod>
<loc>https://floriankiem.com/about</loc>
<lastmod>2023-12-23T17:27:00.929Z</lastmod>
</url>
<url>
<loc>https://preview.floriankiem.com/feed</loc>
<lastmod>2023-12-09T12:18:30.005Z</lastmod>
<loc>https://floriankiem.com/feed</loc>
<lastmod>2023-12-23T17:27:00.929Z</lastmod>
</url>
<url>
<loc>https://preview.floriankiem.com/feed/essentials</loc>
<lastmod>2023-12-09T12:18:30.005Z</lastmod>
<loc>https://floriankiem.com/feed/essentials</loc>
<lastmod>2023-12-23T17:27:00.929Z</lastmod>
</url>
<url>
<loc>https://preview.floriankiem.com/feed/first-post</loc>
<lastmod>2023-12-09T12:18:30.005Z</lastmod>
<loc>https://floriankiem.com/feed/first-post</loc>
<lastmod>2023-12-23T17:27:00.929Z</lastmod>
</url>
<url>
<loc>https://preview.floriankiem.com/feed/workout-1</loc>
<lastmod>2023-12-09T12:18:30.005Z</lastmod>
<loc>https://floriankiem.com/feed/website-launch</loc>
<lastmod>2023-12-23T17:27:00.929Z</lastmod>
</url>
<url>
<loc>https://preview.floriankiem.com/archive</loc>
<lastmod>2023-12-09T12:18:30.005Z</lastmod>
<loc>https://floriankiem.com/feed/workout-1</loc>
<lastmod>2023-12-23T17:27:00.929Z</lastmod>
</url>
<url>
<loc>https://preview.floriankiem.com/archive/projects</loc>
<lastmod>2023-12-09T12:18:30.005Z</lastmod>
<loc>https://floriankiem.com/archive</loc>
<lastmod>2023-12-23T17:27:00.929Z</lastmod>
</url>
<url>
<loc>https://preview.floriankiem.com/archive/projects/ambient-chat</loc>
<lastmod>2023-12-09T12:18:30.005Z</lastmod>
<loc>https://floriankiem.com/archive/projects</loc>
<lastmod>2023-12-23T17:27:00.929Z</lastmod>
</url>
<url>
<loc>https://preview.floriankiem.com/archive/projects/homebility</loc>
<lastmod>2023-12-09T12:18:30.005Z</lastmod>
<loc>https://floriankiem.com/archive/projects/ambient-chat</loc>
<lastmod>2023-12-23T17:27:00.929Z</lastmod>
</url>
<url>
<loc>https://preview.floriankiem.com/archive/short-projects</loc>
<lastmod>2023-12-09T12:18:30.005Z</lastmod>
<loc>https://floriankiem.com/archive/projects/homebility</loc>
<lastmod>2023-12-23T17:27:00.929Z</lastmod>
</url>
<url>
<loc>https://preview.floriankiem.com/archive/short-projects/granny-ai</loc>
<lastmod>2023-12-09T12:18:30.005Z</lastmod>
<loc>https://floriankiem.com/archive/short-projects</loc>
<lastmod>2023-12-23T17:27:00.929Z</lastmod>
</url>
<url>
<loc>https://preview.floriankiem.com/archive/short-projects/heartbeat</loc>
<lastmod>2023-12-09T12:18:30.005Z</lastmod>
<loc>https://floriankiem.com/archive/short-projects/granny-ai</loc>
<lastmod>2023-12-23T17:27:00.929Z</lastmod>
</url>
<url>
<loc>https://preview.floriankiem.com/archive/short-projects/nutri</loc>
<lastmod>2023-12-09T12:18:30.005Z</lastmod>
<loc>https://floriankiem.com/archive/short-projects/heartbeat</loc>
<lastmod>2023-12-23T17:27:00.929Z</lastmod>
</url>
<url>
<loc>https://preview.floriankiem.com/archive/short-projects/stackoverflow-redesign</loc>
<lastmod>2023-12-09T12:18:30.005Z</lastmod>
<loc>https://floriankiem.com/archive/short-projects/nutri</loc>
<lastmod>2023-12-23T17:27:00.929Z</lastmod>
</url>
<url>
<loc>https://preview.floriankiem.com/archive/short-projects/visualization</loc>
<lastmod>2023-12-09T12:18:30.005Z</lastmod>
<loc>https://floriankiem.com/archive/short-projects/stackoverflow-redesign</loc>
<lastmod>2023-12-23T17:27:00.929Z</lastmod>
</url>
<url>
<loc>https://preview.floriankiem.com/archive/short-projects/web-audit</loc>
<lastmod>2023-12-09T12:18:30.005Z</lastmod>
<loc>https://floriankiem.com/archive/short-projects/visualization</loc>
<lastmod>2023-12-23T17:27:00.929Z</lastmod>
</url>
<url>
<loc>https://preview.floriankiem.com/colophon</loc>
<lastmod>2023-12-09T12:18:30.005Z</lastmod>
<loc>https://floriankiem.com/archive/short-projects/web-audit</loc>
<lastmod>2023-12-23T17:27:00.929Z</lastmod>
</url>
<url>
<loc>https://preview.floriankiem.com/imprint</loc>
<lastmod>2023-12-09T12:18:30.005Z</lastmod>
<loc>https://floriankiem.com/colophon</loc>
<lastmod>2023-12-23T17:27:00.929Z</lastmod>
</url>
<url>
<loc>https://preview.floriankiem.com/privacy-policy</loc>
<lastmod>2023-12-09T12:18:30.005Z</lastmod>
<loc>https://floriankiem.com/imprint</loc>
<lastmod>2023-12-23T17:27:00.929Z</lastmod>
</url>
<url>
<loc>https://floriankiem.com/privacy-policy</loc>
<lastmod>2023-12-23T17:27:00.929Z</lastmod>
</url>
</urlset>
4 changes: 2 additions & 2 deletions renderer/+onRenderHtml.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@ async function onRenderHtml(pageContext: PageContext) {
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>${title}</title>
<meta name="description" content="${desc}" />
<meta property="og:image" content="https://florians-site-preview.vercel.app${image}" />
<meta property="og:image" content="https://floriankiem.com${image}" />
<meta property="og:description" content="${desc}" />
<meta property="og:title" content="${title}" />
<meta name="twitter:card" content="summary_large_image" />
<meta property="twitter:image" content="https://florians-site-preview.vercel.app${image}" />
<meta property="twitter:image" content="https://floriankiem.com${image}" />
<meta property="twitter:description" content="${desc}" />
<meta property="twitter:title" content="${title}" />
<meta name="twitter:site" content="@flornkm" />
Expand Down

1 comment on commit 030a8e4

@vercel
Copy link

@vercel vercel bot commented on 030a8e4 Dec 23, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.