From 2305393ae79687fd62fe38b60fa0d25dd6fec428 Mon Sep 17 00:00:00 2001 From: "@s.roertgen" Date: Wed, 8 Nov 2023 14:31:43 +0100 Subject: [PATCH] Use `withPrefix` instead of Link component Link component is only for files handled internally by Gatsby, but rss.xml is contructed programtically. --- README.md | 4 ++-- src/components/layout.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 1040af2..7e63abd 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# Curricula Blog +# DINI-AG-KIM Blog -This project is the source for the new blog of the curricula group in DINI-AG-KIM. +This project is the source for the blog of the DINI-AG-KIM. This project was created with the gatsby template [gatsby-starter-blog](https://github.com/gatsbyjs/gatsby-starter-blog). ## Adding a new blog post diff --git a/src/components/layout.js b/src/components/layout.js index 454e4ac..2a10e4e 100644 --- a/src/components/layout.js +++ b/src/components/layout.js @@ -1,6 +1,6 @@ import * as React from "react" import { useStaticQuery, graphql } from "gatsby" -import { Link } from "gatsby" +import { Link, withPrefix } from "gatsby" import { FontAwesomeIcon } from "@fortawesome/react-fontawesome" import { faGithub } from "@fortawesome/free-brands-svg-icons" @@ -46,7 +46,7 @@ const Layout = ({ location, title, children }) => { GitHub {` | `} - Feed + Feed )