mirror of
				https://github.com/mastermindzh/rickvanlieshout.com
				synced 2025-11-04 10:40:09 +01:00 
			
		
		
		
	Fix eslint errors
This commit is contained in:
		@@ -51,14 +51,13 @@ module.exports = {
 | 
				
			|||||||
        `,
 | 
					        `,
 | 
				
			||||||
        feeds: [{
 | 
					        feeds: [{
 | 
				
			||||||
          serialize: ({ query: { site, allMarkdownRemark } }) => (
 | 
					          serialize: ({ query: { site, allMarkdownRemark } }) => (
 | 
				
			||||||
            allMarkdownRemark.edges.map((edge) =>
 | 
					            allMarkdownRemark.edges.map((edge) => Object.assign({}, edge.node.frontmatter, {
 | 
				
			||||||
              Object.assign({}, edge.node.frontmatter, {
 | 
					              description: edge.node.frontmatter.description,
 | 
				
			||||||
                description: edge.node.frontmatter.description,
 | 
					              date: edge.node.frontmatter.date,
 | 
				
			||||||
                date: edge.node.frontmatter.date,
 | 
					              url: site.siteMetadata.site_url + edge.node.fields.slug,
 | 
				
			||||||
                url: site.siteMetadata.site_url + edge.node.fields.slug,
 | 
					              guid: site.siteMetadata.site_url + edge.node.fields.slug,
 | 
				
			||||||
                guid: site.siteMetadata.site_url + edge.node.fields.slug,
 | 
					              custom_elements: [{ 'content:encoded': edge.node.html }]
 | 
				
			||||||
                custom_elements: [{ 'content:encoded': edge.node.html }]
 | 
					            }))
 | 
				
			||||||
              }))
 | 
					 | 
				
			||||||
          ),
 | 
					          ),
 | 
				
			||||||
          query: `
 | 
					          query: `
 | 
				
			||||||
              {
 | 
					              {
 | 
				
			||||||
@@ -144,12 +143,11 @@ module.exports = {
 | 
				
			|||||||
          }
 | 
					          }
 | 
				
			||||||
        `,
 | 
					        `,
 | 
				
			||||||
        output: '/sitemap.xml',
 | 
					        output: '/sitemap.xml',
 | 
				
			||||||
        serialize: ({ site, allSitePage }) =>
 | 
					        serialize: ({ site, allSitePage }) => allSitePage.edges.map((edge) => ({
 | 
				
			||||||
          allSitePage.edges.map((edge) => ({
 | 
					          url: site.siteMetadata.url + edge.node.path,
 | 
				
			||||||
            url: site.siteMetadata.url + edge.node.path,
 | 
					          changefreq: 'daily',
 | 
				
			||||||
            changefreq: 'daily',
 | 
					          priority: 0.7
 | 
				
			||||||
            priority: 0.7
 | 
					        }))
 | 
				
			||||||
          }))
 | 
					 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    'gatsby-plugin-offline',
 | 
					    'gatsby-plugin-offline',
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -18,12 +18,11 @@ const Author = ({ author, isIndex }) => (
 | 
				
			|||||||
      <h1 className={styles['author__title']}>
 | 
					      <h1 className={styles['author__title']}>
 | 
				
			||||||
        <Link className={styles['author__title-link']} to="/">{author.name}</Link>
 | 
					        <Link className={styles['author__title-link']} to="/">{author.name}</Link>
 | 
				
			||||||
      </h1>
 | 
					      </h1>
 | 
				
			||||||
    ) :
 | 
					    ) : (
 | 
				
			||||||
      <h2 className={styles['author__title']}>
 | 
					      <h2 className={styles['author__title']}>
 | 
				
			||||||
        <Link className={styles['author__title-link']} to="/">{author.name}</Link>
 | 
					        <Link className={styles['author__title-link']} to="/">{author.name}</Link>
 | 
				
			||||||
      </h2>
 | 
					      </h2>
 | 
				
			||||||
    }
 | 
					    )}
 | 
				
			||||||
 | 
					 | 
				
			||||||
    <p className={styles['author__subtitle']}>{author.bio}</p>
 | 
					    <p className={styles['author__subtitle']}>{author.bio}</p>
 | 
				
			||||||
  </div>
 | 
					  </div>
 | 
				
			||||||
);
 | 
					);
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user