gatsby-theme-curiousity
Version:
The Gatsby theme that builds the portfolio component of my website
13 lines (11 loc) • 364 B
JavaScript
// eslint-disable-next-line @typescript-eslint/explicit-function-return-type
module.exports = (themeOptions) => {
const basePath = themeOptions.basePath || `/`;
const contentPath = themeOptions.contentPath || `content/portfolio`;
const assetPath = themeOptions.assetPath || `content/assets`;
return {
basePath,
contentPath,
assetPath,
};
};