diff --git a/config/default.js b/config/default.js index 3de57d25..dfa0b625 100644 --- a/config/default.js +++ b/config/default.js @@ -1,7 +1,7 @@ module.exports = { metadata: { name: 'BooGi', - short_name: '', + short_name: 'BooGi', description: '', language: 'en', url: 'http://localhost', @@ -37,13 +37,6 @@ module.exports = { theme_color: '#6b37bf', display: 'minimal-ui', crossOrigin: 'anonymous', - icons: [ - { - src: 'src/pwa-512.png', - sizes: `512x512`, - type: `image/png`, - }, - ], }, }, social: { @@ -114,9 +107,10 @@ module.exports = { rss: { enabled: true, showIcon: true, - copyright: '2020, Mateusz Filipowicz', - webMaster: 'Mateusz Filipowicz (matfilipowicz@gmail.com)', - managingEditor: 'Mateusz Filipowicz (matfilipowicz@gmail.com)', + title: 'My RSS feed', + copyright: '', + webMaster: 'M', + managingEditor: '', categories: ['GatsbyJS', 'Docs'], ttl: '60', matchRegex: '^/', diff --git a/content/index.mdx b/content/index.mdx index 2f602f76..4f2a69cc 100644 --- a/content/index.mdx +++ b/content/index.mdx @@ -2,7 +2,7 @@ title: 'About BooGi' showMetadata: false editable: false -skipToC: true +showToc : false --- :wave: **Hello!** diff --git a/gatsby-config.js b/gatsby-config.js index 9d36a60f..26259f34 100755 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -181,7 +181,7 @@ if (config.features.rss && config.features.rss.enabled) { const items = allMdx.edges.map((edge) => { const frontmatter = edge.node.frontmatter; const fields = edge.node.parent.fields; - const rawTitle = frontmatter.metaTitle ? frontmatter.metaTitle : frontmatter.title; + const rawTitle = frontmatter.metaTitle && frontmatter.metaTitle.length > 0 ? frontmatter.metaTitle : frontmatter.title; const title = emoji.clean(rawTitle); const date = fields && fields.gitLogLatestDate ? fields.gitLogLatestDate : new Date(); const author = @@ -225,6 +225,7 @@ if (config.features.rss && config.features.rss.enabled) { `, output: config.features.rss.outputPath, match: config.features.rss.matchRegex, + title: config.features.rss.title ? config.features.rss.title : config.metadata.title }, ], }, diff --git a/src/templates/docs.js b/src/templates/docs.js index 3dbc2487..20fe8bb8 100644 --- a/src/templates/docs.js +++ b/src/templates/docs.js @@ -125,7 +125,7 @@ export default class MDXRuntimeTest extends React.Component { {docTitle} - {(editable && mdx.frontmatter.editable != false) || mdx.frontmatter.editable ? ( + {docsLocation && ((editable && mdx.frontmatter.editable !== false) || mdx.frontmatter.editable === true) ? (