component amp

This commit is contained in:
Sergey Yarkov 2020-08-15 20:29:23 +03:00
parent b669a04988
commit 6ea26d64a2

View File

@ -145,7 +145,7 @@ module.exports = {
resolve: `gatsby-plugin-amp`, resolve: `gatsby-plugin-amp`,
options: { options: {
canonicalBaseUrl: 'https://devthread.ru/', canonicalBaseUrl: 'https://devthread.ru/',
components: ['amp-form'], components: ['amp-form', 'amp-sidebar'],
excludedPaths: ['/404*', '/'], excludedPaths: ['/404*', '/'],
pathIdentifier: '/amp/', pathIdentifier: '/amp/',
relAmpHtmlPattern: '{{canonicalBaseUrl}}{{pathname}}{{pathIdentifier}}', relAmpHtmlPattern: '{{canonicalBaseUrl}}{{pathname}}{{pathIdentifier}}',