Skip to content

Commit

Permalink
content: update
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Roxberry committed Mar 20, 2023
1 parent a8b69be commit b6d2a14
Show file tree
Hide file tree
Showing 2 changed files with 113 additions and 106 deletions.
217 changes: 112 additions & 105 deletions gatsby-config.js
Expand Up @@ -5,88 +5,95 @@
*/

module.exports = {
siteMetadata: {
title: "Roxberry.DEV",
url: "https://www.roxberry.dev",
siteUrl: "https://www.roxberry.dev",
twitterUsername: "@roxberry",
author: "Mark Roxberry",
keywords: ["roxberry", "journal", "development"],
featuredTags: ["Russia", "development", "performance", "robotics", "security", "privacy", "apple", "soccer"],
version: "2022.09.29.01",
},
plugins: [
"gatsby-plugin-sass",
"gatsby-plugin-react-helmet",
"gatsby-plugin-image",
"gatsby-transformer-sharp",
"gatsby-plugin-sharp",
{
resolve: "gatsby-source-filesystem",
options: {
name: "posts",
path: `${__dirname}/src/posts`,
},
siteMetadata: {
title: "Roxberry.DEV",
url: "https://www.roxberry.dev",
siteUrl: "https://www.roxberry.dev",
twitterUsername: "@roxberry",
author: "Mark Roxberry",
keywords: ["roxberry", "journal", "development"],
featuredTags: ["Russia", "development", "performance", "robotics", "security", "privacy", "apple", "soccer"],
version: "2022.09.29.01",
},
// {
// resolve: "gatsby-source-filesystem",
// options: {
// name: "posts",
// path: `${__dirname}/src/drafts`,
// },
// },
{
resolve: "gatsby-transformer-remark",
options: {
plugins: [
// {
// resolve: "gatsby-remark-prismjs",
// // options: {
// // showLineNumbers: true,
// // }
// },
// "gatsby-remark-mermaid",
// {
// resolve: "gatsby-remark-vscode",
// options: {
// theme: "Dark+ (default dark)" // Or install your favorite theme from GitHub
// }
// },
"gatsby-remark-relative-images",
{
resolve: "gatsby-remark-images",
plugins: [
"gatsby-plugin-sass",
"gatsby-plugin-react-helmet",
"gatsby-plugin-image",
"gatsby-transformer-sharp",
"gatsby-plugin-sharp",
{
resolve: "gatsby-source-filesystem",
options: {
maxWidth: 800,
linkImagesToOriginal: false,
name: "posts",
path: `${__dirname}/src/posts`,
},
},
{
resolve: `gatsby-remark-twitter-cards`,
},
// {
// resolve: "gatsby-source-filesystem",
// options: {
// name: "posts",
// path: `${__dirname}/src/drafts`,
// },
// },
{
resolve: "gatsby-transformer-remark",
options: {
title: "roxberry.dev",
separator: "|",
author: "Mark Roxberry",
background: require.resolve("./src/images/profile.1.jpg"),
fontColor: "#011a27",
titleFontSize: 96,
subtitleFontSize: 60,
fontStyle: "monospace",
plugins: [
// {
// resolve: "gatsby-remark-prismjs",
// // options: {
// // showLineNumbers: true,
// // }
// },
// "gatsby-remark-mermaid",
// {
// resolve: "gatsby-remark-vscode",
// options: {
// launchOptions: {
// executablePath: puppeteer.executablePath(),
// defaultViewport: {
// width: 1280,
// height: 3000,
// }
// },
// theme: "Dark+ (default dark)" // Or install your favorite theme from GitHub
// }
// },
"gatsby-remark-relative-images",
{
resolve: "gatsby-remark-images",
options: {
maxWidth: 800,
linkImagesToOriginal: false,
},
},
{
resolve: `gatsby-remark-twitter-cards`,
options: {
title: "roxberry.dev",
separator: "|",
author: "Mark Roxberry",
background: require.resolve("./src/images/profile.1.jpg"),
fontColor: "#011a27",
titleFontSize: 96,
subtitleFontSize: 60,
fontStyle: "monospace",
},
},
],
},
},
],
},
},
// {
// resolve: "gatsby-plugin-doctype",
// options: {
// doctype: `HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"`,
// },
// },
// "gatsby-plugin-fontawesome-css",
{
resolve: "gatsby-plugin-feed",
options: {
query: `
},
// {
// resolve: "gatsby-plugin-doctype",
// options: {
// doctype: `HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"`,
// },
// },
// "gatsby-plugin-fontawesome-css",
{
resolve: "gatsby-plugin-feed",
options: {
query: `
{
site {
siteMetadata {
Expand All @@ -98,20 +105,20 @@ module.exports = {
}
}
`,
feeds: [
{
serialize: ({ query: { site, allMarkdownRemark } }) => {
return allMarkdownRemark.edges.map(edge => {
return Object.assign({}, edge.node.frontmatter, {
description: edge.node.excerpt,
date: edge.node.frontmatter.date,
url: site.siteMetadata.siteUrl + edge.node.fields.slug,
guid: site.siteMetadata.siteUrl + edge.node.fields.slug,
custom_elements: [{ "content:encoded": edge.node.excerpt }],
})
})
},
query: `
feeds: [
{
serialize: ({ query: { site, allMarkdownRemark } }) => {
return allMarkdownRemark.edges.map(edge => {
return Object.assign({}, edge.node.frontmatter, {
description: edge.node.excerpt,
date: edge.node.frontmatter.date,
url: site.siteMetadata.siteUrl + edge.node.fields.slug,
guid: site.siteMetadata.siteUrl + edge.node.fields.slug,
custom_elements: [{ "content:encoded": edge.node.excerpt }],
})
})
},
query: `
{
allMarkdownRemark(
sort: { order: DESC, fields: [frontmatter___date] },
Expand All @@ -130,18 +137,18 @@ module.exports = {
}
}
`,
output: "/feed.xml",
title: "Roxberry.DEV RSS Feed",
// // optional configuration to insert feed reference in pages:
// // if `string` is used, it will be used to create RegExp and then test if pathname of
// // current page satisfied this regular expression;
// // if not provided or `undefined`, all pages will have feed reference inserted
// match: "^/blog/",
// // optional configuration to specify external rss feed, such as feedburner
// link: "https://feeds.feedburner.com/gatsby/blog",
},
],
},
},
],
output: "/feed.xml",
title: "Roxberry.DEV RSS Feed",
// // optional configuration to insert feed reference in pages:
// // if `string` is used, it will be used to create RegExp and then test if pathname of
// // current page satisfied this regular expression;
// // if not provided or `undefined`, all pages will have feed reference inserted
// match: "^/blog/",
// // optional configuration to specify external rss feed, such as feedburner
// link: "https://feeds.feedburner.com/gatsby/blog",
},
],
},
},
],
}
2 changes: 1 addition & 1 deletion src/posts/2023-03-20-touchpoint-march-2023/index.md
Expand Up @@ -5,7 +5,7 @@ subtitle: "Either write something worth reading or do something worth writing. -
comments: true
date: 2023-03-19 23:00:00
author: Mark Roxberry
excerpt: "Maybe something worth reading, maybe something worth remembering. Touchpoint notes for "
excerpt: "Maybe something worth reading, maybe something worth remembering. Touchpoint notes for March 2023."
tags: [planning]
categories:
- planning
Expand Down

0 comments on commit b6d2a14

Please sign in to comment.