|
| 1 | +module.exports = { |
| 2 | + siteMetadata: { |
| 3 | + title: '10secondsofcode', |
| 4 | + author: '10secondsofcode', |
| 5 | + description: 'Love to Code', |
| 6 | + siteUrl: 'https://10secondsofcode.com', |
| 7 | + social: { |
| 8 | + twitter: '#', |
| 9 | + }, |
| 10 | + }, |
| 11 | + pathPrefix: '/', |
| 12 | + plugins: [ |
| 13 | + { |
| 14 | + resolve: `gatsby-source-filesystem`, |
| 15 | + options: { |
| 16 | + path: `${__dirname}/src/pages`, |
| 17 | + name: 'pages', |
| 18 | + }, |
| 19 | + }, |
| 20 | + { |
| 21 | + resolve: `gatsby-transformer-remark`, |
| 22 | + options: { |
| 23 | + plugins: [ |
| 24 | + { |
| 25 | + resolve: `gatsby-remark-images`, |
| 26 | + options: { |
| 27 | + maxWidth: 590, |
| 28 | + }, |
| 29 | + }, |
| 30 | + { |
| 31 | + resolve: `gatsby-remark-responsive-iframe`, |
| 32 | + options: { |
| 33 | + wrapperStyle: `margin-bottom: 1.0725rem`, |
| 34 | + }, |
| 35 | + }, |
| 36 | + 'gatsby-remark-autolink-headers', |
| 37 | + { |
| 38 | + resolve: 'gatsby-remark-prismjs', |
| 39 | + options: { |
| 40 | + inlineCodeMarker: '÷', |
| 41 | + }, |
| 42 | + }, |
| 43 | + 'gatsby-remark-copy-linked-files', |
| 44 | + 'gatsby-remark-smartypants', |
| 45 | + ], |
| 46 | + }, |
| 47 | + }, |
| 48 | + `gatsby-transformer-sharp`, |
| 49 | + `gatsby-plugin-sharp`, |
| 50 | + { |
| 51 | + resolve: `gatsby-plugin-google-analytics`, |
| 52 | + options: { |
| 53 | + trackingId: `UA-122222-1`, |
| 54 | + head: true |
| 55 | + }, |
| 56 | + }, |
| 57 | + `gatsby-plugin-feed`, |
| 58 | + `gatsby-plugin-sitemap`, |
| 59 | + { |
| 60 | + resolve: `gatsby-plugin-manifest`, |
| 61 | + options: { |
| 62 | + name: `10secondsofcode`, |
| 63 | + short_name: `10secondsofcode`, |
| 64 | + start_url: `/`, |
| 65 | + background_color: `#ffffff`, |
| 66 | + theme_color: `#d23636`, |
| 67 | + display: `minimal-ui`, |
| 68 | + icon: `src/assets/icon.png`, |
| 69 | + }, |
| 70 | + }, |
| 71 | + `gatsby-plugin-react-helmet`, |
| 72 | + { |
| 73 | + resolve: 'gatsby-plugin-typography', |
| 74 | + options: { |
| 75 | + pathToConfigModule: 'src/utils/typography', |
| 76 | + }, |
| 77 | + }, |
| 78 | + 'gatsby-plugin-offline', |
| 79 | + ], |
| 80 | +} |
0 commit comments