diff options
author | Michal Sapka <michal@sapka.me> | 2022-09-11 21:39:42 +0200 |
---|---|---|
committer | Michal Sapka <michal@sapka.me> | 2022-09-11 21:45:16 +0200 |
commit | 210815ed718a0c89ad938816a3d5bebfd99ae027 (patch) | |
tree | 6956982570fa7210498155ebe14a5e36de0c7db7 | |
parent | ce8d7e11ba9e3820c1c96eaca28d39d48e8134a4 (diff) |
fix: use top domain
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | components/layout.tsx | 2 | ||||
-rw-r--r-- | lib/feed.ts | 2 | ||||
-rw-r--r-- | pages/_document.tsx | 6 | ||||
-rw-r--r-- | pages/index.tsx | 2 | ||||
-rw-r--r-- | public/en/index.xml | 8 |
6 files changed, 11 insertions, 11 deletions
@@ -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 index bca00b8..7dab384 100644 --- 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 index 92d61fc..25f7b30 100644 --- 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 index 05755e2..954a73d 100644 --- 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 index 5f313fb..8b7a2a3 100644 --- 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 index 6888fd5..612583b 100644 --- a/public/en/index.xml +++ b/public/en/index.xml @@ -6,14 +6,14 @@ <description>Recent content on Michał'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> |