michal-sapka-me

Codebase for my homepage.
git clone git://vcs.sapka.me/michal-sapka-me
Log | Files | Refs

commit 210815ed718a0c89ad938816a3d5bebfd99ae027
parent ce8d7e11ba9e3820c1c96eaca28d39d48e8134a4
Author: Michal Sapka <michal@sapka.me>
Date:   Sun, 11 Sep 2022 21:39:42 +0200

fix: use top domain

Diffstat:
MREADME.md | 2+-
Mcomponents/layout.tsx | 2+-
Mlib/feed.ts | 2+-
Mpages/_document.tsx | 6+++---
Mpages/index.tsx | 2+-
Mpublic/en/index.xml | 8++++----
6 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/README.md b/README.md @@ -1,5 +1,5 @@ # Michal's homepage -https://michal.sapka.pl +https://sapka.pl This is code of for my homepage. diff --git a/components/layout.tsx b/components/layout.tsx @@ -14,7 +14,7 @@ export default function Layout({ children } : Props) { openGraph={{ type: 'website', locale: 'en_US', - url: 'https://michal.sapka.me/', + url: 'https://www.sapka.me/', site_name: 'Michał Sapka' }} twitter={{ diff --git a/lib/feed.ts b/lib/feed.ts @@ -3,7 +3,7 @@ import { Feed } from "feed"; import Publications from "../data/publications"; const generateRssFeed = async () => { - const siteURL = "https://michal.sapka.pl"; + const siteURL = "https://www.sapka.me"; const date = new Date(); const author = { name: "Michał M. Sapka", diff --git a/pages/_document.tsx b/pages/_document.tsx @@ -6,9 +6,9 @@ export default function Document() { return ( <Html lang="en"> <Head> - <link rel="alternate" type="application/rss+xml" href="https://michal.sapka.me/rss/feed.xml" title="Recent publications RSS Feed" /> - <link rel="alternate" type="application/feed+json" href="https://michal.sapka.me/rss/feed.json" title="Recent publications RSS Feed" /> - <link rel="alternate" type="application/atom+xml" href="https://michal.sapka.me/rss/atom.xml" title="Recent publications RSS Feed" /> + <link rel="alternate" type="application/rss+xml" href="https://www.sapka.me/rss/feed.xml" title="Recent publications RSS Feed" /> + <link rel="alternate" type="application/feed+json" href="https://www.sapka.me/rss/feed.json" title="Recent publications RSS Feed" /> + <link rel="alternate" type="application/atom+xml" href="https://www.sapka.me/rss/atom.xml" title="Recent publications RSS Feed" /> </Head> <body> <ColorModeScript initialColorMode={theme.config.initialColorMode} /> diff --git a/pages/index.tsx b/pages/index.tsx @@ -98,7 +98,7 @@ const Home: NextPage = () => { <Button>Subscribe to my newsletter</Button> </Link> <Box opacity="0.5"> - <Link href="https://michal.sapka.me/rss/feed.xml"> + <Link href="https://www.sapka.me/rss/feed.xml"> or subscribe via RSS </Link> </Box> diff --git a/public/en/index.xml b/public/en/index.xml @@ -6,14 +6,14 @@ <description>Recent content on Michał&#39;s website</description> <generator>Hugo -- gohugo.io</generator> <language>en-us</language> - <lastBuildDate>Mon, 28 Mar 2022 23:29:00 +0200</lastBuildDate><atom:link href="https://michal.sapka.pl/en/index.xml" rel="self" type="application/rss+xml" /> + <lastBuildDate>Mon, 28 Mar 2022 23:29:00 +0200</lastBuildDate><atom:link href="https://www.sapka.me" rel="self" type="application/rss+xml" /> <item> <title>RSS feed moved</title> - <link>https://michal.sapka.pl/</link> + <link>https://www.sapka.com/</link> <pubDate>Mon, 02 Sept 2022 21:10:00 +0200</pubDate> - <guid>https://michal.sapka.pl</guid> - <description>The RSS feed has moved. Please go to https://michal.sapka.pl and update the bookmark</description> + <guid>https://www.sapka.me</guid> + <description>The RSS feed has moved. Please go to https://www.sapka.me and update the bookmark</description> </item> </channel> </rss>