Closed
Description
Links in my markdown files are not being prefixed when running gatsby build --prefix-paths
. I am on gatsby@v1.9.142
.
Any ideas about why this might be the case?
Here is my gatsby-config.js
:
module.exports = {
pathPrefix: config.pathPrefix,
siteMetadata: {
siteUrl: config.siteUrl + pathPrefix,
rssMetadata: {
site_url: config.siteUrl + pathPrefix,
feed_url: config.siteUrl + pathPrefix + config.siteRss,
title: config.siteTitle,
description: config.siteDescription,
image_url: `${config.siteUrl + pathPrefix}/logos/favicon.ico`,
copyright: config.copyright
}
},
plugins: [
"gatsby-plugin-react-helmet",
{
resolve: "gatsby-source-filesystem",
options: {
name: "pages",
path: `${__dirname}/src/pages/`
}
},
{
resolve: "gatsby-plugin-postcss-sass",
options: {
postCssPlugins: [
require("postcss-import")(),
require("postcss-url")({ url: "inline" }),
require("postcss-cssnext")(),
// Add plugins here:
require("postcss-inline-svg")(),
require("postcss-browser-reporter"),
require("postcss-reporter")
]
}
},
{
resolve: "gatsby-transformer-remark",
options: {
plugins: [
{
resolve: "gatsby-remark-images",
options: {
linkImagesToOriginal: false
}
},
"gatsby-remark-responsive-iframe",
"gatsby-remark-copy-linked-files",
"gatsby-remark-autolink-headers",
"gatsby-remark-smartypants",
{
resolve: "gatsby-remark-playground",
options: {
customCodeLang: "playground"
}
},
"gatsby-remark-prismjs"
]
}
},
{
resolve: "gatsby-plugin-google-analytics",
options: {
trackingId: config.googleAnalyticsID
}
},
{
resolve: "gatsby-plugin-nprogress",
options: {
color: config.themeColor
}
},
"gatsby-plugin-catch-links",
"gatsby-plugin-sharp",
"gatsby-plugin-sitemap"
]
};
Metadata
Metadata
Assignees
Labels
No labels