1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-06-26 11:16:25 +02:00
This commit is contained in:
Matthias Kretschmann 2018-12-01 23:54:45 +01:00
parent 62071b706e
commit fcdcad8f68
Signed by: m
GPG Key ID: 606EEEF3C479A91F
3 changed files with 5 additions and 5 deletions

View File

@ -35,7 +35,7 @@ module.exports = {
maxWidth: 630, maxWidth: 630,
quality: 80, quality: 80,
withWebp: true, withWebp: true,
linkImagesToOriginal: false, linkImagesToOriginal: true,
sizeByPixelDensity: true, sizeByPixelDensity: true,
showCaptions: true, showCaptions: true,
backgroundColor: '#e7eef4' backgroundColor: '#e7eef4'

View File

@ -33,16 +33,16 @@
"dms2dec": "^1.1.0", "dms2dec": "^1.1.0",
"fast-exif": "^1.0.1", "fast-exif": "^1.0.1",
"fraction.js": "^4.0.11", "fraction.js": "^4.0.11",
"gatsby": "^2.0.59", "gatsby": "^2.0.60",
"gatsby-image": "^2.0.22", "gatsby-image": "^2.0.22",
"gatsby-plugin-catch-links": "^2.0.9", "gatsby-plugin-catch-links": "^2.0.9",
"gatsby-plugin-favicon": "^3.1.4", "gatsby-plugin-favicon": "^3.1.4",
"gatsby-plugin-feed": "^2.0.10", "gatsby-plugin-feed": "^2.0.11",
"gatsby-plugin-lunr": "^1.2.0", "gatsby-plugin-lunr": "^1.2.0",
"gatsby-plugin-matomo": "^0.5.1", "gatsby-plugin-matomo": "^0.5.1",
"gatsby-plugin-meta-redirect": "^1.1.1", "gatsby-plugin-meta-redirect": "^1.1.1",
"gatsby-plugin-offline": "^2.0.18", "gatsby-plugin-offline": "^2.0.18",
"gatsby-plugin-react-helmet": "^3.0.3", "gatsby-plugin-react-helmet": "^3.0.4",
"gatsby-plugin-sass": "^2.0.5", "gatsby-plugin-sass": "^2.0.5",
"gatsby-plugin-sharp": "^2.0.14", "gatsby-plugin-sharp": "^2.0.14",
"gatsby-plugin-sitemap": "^2.0.3", "gatsby-plugin-sitemap": "^2.0.3",

View File

@ -28,7 +28,7 @@ const Posts = ({ data, location, pageContext }) => {
)} )}
{image && ( {image && (
<Link to={slug}> <Link to={slug} title={title}>
<PostImage <PostImage
title={type === 'photo' ? title : null} title={type === 'photo' ? title : null}
fluid={image.childImageSharp.fluid} fluid={image.childImageSharp.fluid}