fixed remark images

This commit is contained in:
Sergey Yarkov 2020-08-18 17:04:54 +03:00
parent 4d2db20caf
commit f17c1253a5
2 changed files with 26 additions and 33 deletions

View File

@ -174,8 +174,8 @@ module.exports = {
showSpinner: false,
},
},
"gatsby-plugin-sharp",
"gatsby-transformer-sharp",
"gatsby-plugin-sharp",
{
resolve: `gatsby-transformer-remark`,
options: {
@ -189,11 +189,11 @@ module.exports = {
{
resolve: `gatsby-remark-images`,
options: {
maxWidth: 2400,
quality: 100,
maxWidth: 900,
quality: 85,
withWebp: true,
loading: "lazy",
linkImagesToOriginal: false,
linkImagesToOriginal: true,
},
},
`gatsby-remark-responsive-iframe`,
@ -215,10 +215,6 @@ module.exports = {
elements: [`h1`, `h2`, `h3`, `h4`],
},
},
{
resolve: `gatsby-transformer-remark`,
options: {
plugins: [
{
resolve: `gatsby-remark-prismjs`,
options: {
@ -252,9 +248,6 @@ module.exports = {
],
},
},
],
},
},
"gatsby-plugin-netlify-cms",
],
}

View File

@ -5,7 +5,7 @@ const Newsletter = () => {
<div className="newsletter">
<div className="newsletter-heading">Новостная рассылка</div>
<div className="newsletter-content">
<form action="#">
<form action="#" target='Новостная рассылка'>
<p>
<span role="img" aria-label="hot">
🔥