fix image link and xml blog path
This commit is contained in:
		| @@ -86,7 +86,7 @@ export const BlogSeo = ({ title, summary, date, lastmod, url, tags, images = [] | ||||
|         additionalMetaTags={[ | ||||
|           { | ||||
|             name: 'twitter:image', | ||||
|             content: featuredImages[0], | ||||
|             content: featuredImages[0].url, | ||||
|           }, | ||||
|         ]} | ||||
|       /> | ||||
|   | ||||
| @@ -2,9 +2,9 @@ import siteMetadata from '@/data/siteMetadata' | ||||
|  | ||||
| const generateRssItem = (post) => ` | ||||
|   <item> | ||||
|     <guid>${siteMetadata.siteUrl}/${post.slug}</guid> | ||||
|     <guid>${siteMetadata.siteUrl}/blog/${post.slug}</guid> | ||||
|     <title>${post.title}</title> | ||||
|     <link>${siteMetadata.siteUrl}/${post.slug}</link> | ||||
|     <link>${siteMetadata.siteUrl}/blog/${post.slug}</link> | ||||
|     <description>${post.summary}</description> | ||||
|     <pubDate>${new Date(post.date).toUTCString()}</pubDate> | ||||
|     <author>${siteMetadata.email} (${siteMetadata.author})</author> | ||||
|   | ||||
| @@ -11,9 +11,9 @@ | ||||
|       <atom:link href="https://tailwind-nextjs-starter-blog.vercel.app/index.xml" rel="self" type="application/rss+xml"/> | ||||
|        | ||||
|   <item> | ||||
|     <guid>https://tailwind-nextjs-starter-blog.vercel.appintroducing-tailwind-nextjs-starter-blog</guid> | ||||
|     <guid>https://tailwind-nextjs-starter-blog.vercel.app/blog/introducing-tailwind-nextjs-starter-blog</guid> | ||||
|     <title>Introducing Tailwind Nexjs Starter Blog</title> | ||||
|     <link>https://tailwind-nextjs-starter-blog.vercel.appintroducing-tailwind-nextjs-starter-blog</link> | ||||
|     <link>https://tailwind-nextjs-starter-blog.vercel.app/blog/introducing-tailwind-nextjs-starter-blog</link> | ||||
|     <description>Looking for a performant, out of the box template, with all the best in web technology to support your blogging needs? Checkout the Tailwind Nextjs Starter Blog template.</description> | ||||
|     <pubDate>Tue, 12 Jan 2021 00:00:00 GMT</pubDate> | ||||
|     <author>address@yoursite.com (Tails Azimuth)</author> | ||||
| @@ -21,9 +21,9 @@ | ||||
|   </item> | ||||
|  | ||||
|   <item> | ||||
|     <guid>https://tailwind-nextjs-starter-blog.vercel.appguide-to-using-images-in-nextjs</guid> | ||||
|     <guid>https://tailwind-nextjs-starter-blog.vercel.app/blog/guide-to-using-images-in-nextjs</guid> | ||||
|     <title>Images in Next.js</title> | ||||
|     <link>https://tailwind-nextjs-starter-blog.vercel.appguide-to-using-images-in-nextjs</link> | ||||
|     <link>https://tailwind-nextjs-starter-blog.vercel.app/blog/guide-to-using-images-in-nextjs</link> | ||||
|     <description>In this article we introduce adding images in the tailwind starter blog and the benefits and limitations of the next/image component.</description> | ||||
|     <pubDate>Wed, 11 Nov 2020 00:00:00 GMT</pubDate> | ||||
|     <author>address@yoursite.com (Tails Azimuth)</author> | ||||
| @@ -31,9 +31,9 @@ | ||||
|   </item> | ||||
|  | ||||
|   <item> | ||||
|     <guid>https://tailwind-nextjs-starter-blog.vercel.appderiving-ols-estimator</guid> | ||||
|     <guid>https://tailwind-nextjs-starter-blog.vercel.app/blog/deriving-ols-estimator</guid> | ||||
|     <title>Deriving the OLS Estimator</title> | ||||
|     <link>https://tailwind-nextjs-starter-blog.vercel.appderiving-ols-estimator</link> | ||||
|     <link>https://tailwind-nextjs-starter-blog.vercel.app/blog/deriving-ols-estimator</link> | ||||
|     <description>How to derive the OLS Estimator with matrix notation and a tour of math typesetting using markdown with the help of KaTeX.</description> | ||||
|     <pubDate>Sat, 16 Nov 2019 00:00:00 GMT</pubDate> | ||||
|     <author>address@yoursite.com (Tails Azimuth)</author> | ||||
| @@ -41,9 +41,9 @@ | ||||
|   </item> | ||||
|  | ||||
|   <item> | ||||
|     <guid>https://tailwind-nextjs-starter-blog.vercel.appgithub-markdown-guide</guid> | ||||
|     <guid>https://tailwind-nextjs-starter-blog.vercel.app/blog/github-markdown-guide</guid> | ||||
|     <title>Markdown Guide</title> | ||||
|     <link>https://tailwind-nextjs-starter-blog.vercel.appgithub-markdown-guide</link> | ||||
|     <link>https://tailwind-nextjs-starter-blog.vercel.app/blog/github-markdown-guide</link> | ||||
|     <description>Markdown cheatsheet for all your blogging needs - headers, lists, images, tables and more! An illustrated guide based on Github Flavored Markdown.</description> | ||||
|     <pubDate>Fri, 11 Oct 2019 00:00:00 GMT</pubDate> | ||||
|     <author>address@yoursite.com (Tails Azimuth)</author> | ||||
| @@ -51,9 +51,9 @@ | ||||
|   </item> | ||||
|  | ||||
|   <item> | ||||
|     <guid>https://tailwind-nextjs-starter-blog.vercel.appthe-time-machine</guid> | ||||
|     <guid>https://tailwind-nextjs-starter-blog.vercel.app/blog/the-time-machine</guid> | ||||
|     <title>The Time Machine</title> | ||||
|     <link>https://tailwind-nextjs-starter-blog.vercel.appthe-time-machine</link> | ||||
|     <link>https://tailwind-nextjs-starter-blog.vercel.app/blog/the-time-machine</link> | ||||
|     <description>The Time Traveller (for so it will be convenient to speak of him) was expounding a recondite matter to us. His pale grey eyes shone and twinkled, and his usually pale face was flushed and animated...</description> | ||||
|     <pubDate>Wed, 15 Aug 2018 00:00:00 GMT</pubDate> | ||||
|     <author>address@yoursite.com (Tails Azimuth)</author> | ||||
| @@ -61,9 +61,9 @@ | ||||
|   </item> | ||||
|  | ||||
|   <item> | ||||
|     <guid>https://tailwind-nextjs-starter-blog.vercel.apppictures-of-canada</guid> | ||||
|     <guid>https://tailwind-nextjs-starter-blog.vercel.app/blog/pictures-of-canada</guid> | ||||
|     <title>O Canada</title> | ||||
|     <link>https://tailwind-nextjs-starter-blog.vercel.apppictures-of-canada</link> | ||||
|     <link>https://tailwind-nextjs-starter-blog.vercel.app/blog/pictures-of-canada</link> | ||||
|     <description>The scenic lands of Canada featuring maple leaves, snow-capped mountains, turquoise lakes and Toronto. Take in the sights in this photo gallery exhibition and see how easy it is to replicate with some MDX magic and tailwind classes.</description> | ||||
|     <pubDate>Sat, 15 Jul 2017 00:00:00 GMT</pubDate> | ||||
|     <author>address@yoursite.com (Tails Azimuth)</author> | ||||
| @@ -71,9 +71,9 @@ | ||||
|   </item> | ||||
|  | ||||
|   <item> | ||||
|     <guid>https://tailwind-nextjs-starter-blog.vercel.appcode-sample</guid> | ||||
|     <guid>https://tailwind-nextjs-starter-blog.vercel.app/blog/code-sample</guid> | ||||
|     <title>Sample .md file</title> | ||||
|     <link>https://tailwind-nextjs-starter-blog.vercel.appcode-sample</link> | ||||
|     <link>https://tailwind-nextjs-starter-blog.vercel.app/blog/code-sample</link> | ||||
|     <description>Example of a markdown file with code blocks and syntax highlighting</description> | ||||
|     <pubDate>Tue, 08 Mar 2016 00:00:00 GMT</pubDate> | ||||
|     <author>address@yoursite.com (Tails Azimuth)</author> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user