2023-01-05 07:13:30 +00:00
|
|
|
/**
|
|
|
|
* Configure your Gatsby site with this file.
|
|
|
|
*
|
|
|
|
* See: https://www.gatsbyjs.com/docs/reference/config-files/gatsby-config/
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @type {import('gatsby').GatsbyConfig}
|
|
|
|
*/
|
|
|
|
module.exports = {
|
|
|
|
siteMetadata: {
|
2023-01-05 08:09:45 +00:00
|
|
|
title: `Autonomic Co-operative`,
|
|
|
|
description: `Autonomic is a tech co-operative that builds and runs infrastructure to help people make a positive impact on the world.`,
|
|
|
|
siteUrl: `https://autonomic.zone/`,
|
2023-01-05 07:13:30 +00:00
|
|
|
social: {
|
2023-01-05 08:09:45 +00:00
|
|
|
twitter: `autonomiccoop`,
|
2023-01-05 07:13:30 +00:00
|
|
|
},
|
|
|
|
},
|
|
|
|
plugins: [
|
|
|
|
`gatsby-plugin-image`,
|
|
|
|
{
|
|
|
|
resolve: `gatsby-source-filesystem`,
|
|
|
|
options: {
|
|
|
|
path: `${__dirname}/content/blog`,
|
|
|
|
name: `blog`,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
resolve: `gatsby-source-filesystem`,
|
|
|
|
options: {
|
|
|
|
name: `images`,
|
|
|
|
path: `${__dirname}/src/images`,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
resolve: `gatsby-transformer-remark`,
|
|
|
|
options: {
|
|
|
|
plugins: [
|
|
|
|
{
|
|
|
|
resolve: `gatsby-remark-images`,
|
|
|
|
options: {
|
|
|
|
maxWidth: 630,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
resolve: `gatsby-remark-responsive-iframe`,
|
|
|
|
options: {
|
|
|
|
wrapperStyle: `margin-bottom: 1.0725rem`,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
`gatsby-transformer-sharp`,
|
|
|
|
`gatsby-plugin-sharp`,
|
|
|
|
{
|
|
|
|
resolve: `gatsby-plugin-feed`,
|
|
|
|
options: {
|
|
|
|
query: `
|
|
|
|
{
|
|
|
|
site {
|
|
|
|
siteMetadata {
|
|
|
|
title
|
|
|
|
description
|
|
|
|
siteUrl
|
|
|
|
site_url: siteUrl
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
`,
|
|
|
|
feeds: [
|
|
|
|
{
|
|
|
|
serialize: ({ query: { site, allMarkdownRemark } }) => {
|
|
|
|
return allMarkdownRemark.nodes.map(node => {
|
|
|
|
return Object.assign({}, node.frontmatter, {
|
|
|
|
description: node.excerpt,
|
|
|
|
date: node.frontmatter.date,
|
|
|
|
url: site.siteMetadata.siteUrl + node.fields.slug,
|
|
|
|
guid: site.siteMetadata.siteUrl + node.fields.slug,
|
|
|
|
custom_elements: [{ "content:encoded": node.html }],
|
|
|
|
})
|
|
|
|
})
|
|
|
|
},
|
|
|
|
query: `{
|
|
|
|
allMarkdownRemark(sort: {frontmatter: {date: DESC}}) {
|
|
|
|
nodes {
|
|
|
|
excerpt
|
|
|
|
html
|
|
|
|
fields {
|
|
|
|
slug
|
|
|
|
}
|
|
|
|
frontmatter {
|
|
|
|
title
|
|
|
|
date
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}`,
|
|
|
|
output: "/rss.xml",
|
2023-01-05 08:09:45 +00:00
|
|
|
title: "Autonomic Blog RSS Feed",
|
2023-01-05 07:13:30 +00:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
resolve: `gatsby-plugin-manifest`,
|
|
|
|
options: {
|
2023-01-05 08:09:45 +00:00
|
|
|
name: `Autonomic Co-operative`,
|
|
|
|
short_name: `Autonomic`,
|
2023-01-05 07:13:30 +00:00
|
|
|
start_url: `/`,
|
|
|
|
background_color: `#ffffff`,
|
|
|
|
// This will impact how browsers show your PWA/website
|
|
|
|
// https://css-tricks.com/meta-theme-color-and-trickery/
|
|
|
|
// theme_color: `#663399`,
|
|
|
|
display: `minimal-ui`,
|
|
|
|
icon: `src/images/gatsby-icon.png`, // This path is relative to the root of the site.
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
}
|