mirror of
https://github.com/kremalicious/blog.git
synced 2025-01-03 18:35:07 +01:00
renaming
This commit is contained in:
parent
a58a6e87ad
commit
56d322bd2b
@ -54,7 +54,7 @@ In the end looks like this, including location display with [pigeon-maps](https:
|
|||||||
If you want to know how this works, have a look at the respective component under
|
If you want to know how this works, have a look at the respective component under
|
||||||
|
|
||||||
- [`src/components/atoms/Exif.jsx`](src/components/atoms/Exif.jsx)
|
- [`src/components/atoms/Exif.jsx`](src/components/atoms/Exif.jsx)
|
||||||
- the EXIF node fields creation [`gatsby/exif.js`](gatsby/exif.js) running in [`gatsby-node.js`](gatsby-node.js)
|
- the EXIF node fields creation [`gatsby/createExifFields.js`](gatsby/createExifFields.js) running in [`gatsby-node.js`](gatsby-node.js)
|
||||||
|
|
||||||
### 💰 Cryptocurrency donation via Web3/MetaMask
|
### 💰 Cryptocurrency donation via Web3/MetaMask
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
const { createMarkdownFields } = require('./gatsby/onCreateNode')
|
const { createMarkdownFields } = require('./gatsby/createMarkdownFields')
|
||||||
const { createExifFields } = require('./gatsby/exif')
|
const { createExifFields } = require('./gatsby/createExifFields')
|
||||||
const {
|
const {
|
||||||
generatePostPages,
|
generatePostPages,
|
||||||
generateTagPages,
|
generateTagPages,
|
||||||
|
@ -2,7 +2,7 @@ const path = require('path')
|
|||||||
const { createFilePath } = require('gatsby-source-filesystem')
|
const { createFilePath } = require('gatsby-source-filesystem')
|
||||||
const { repoContentPath } = require('../config')
|
const { repoContentPath } = require('../config')
|
||||||
|
|
||||||
// Create slug & date for posts from file path values
|
// Create slug, date & github file link for posts from file path values
|
||||||
exports.createMarkdownFields = (node, createNodeField, getNode) => {
|
exports.createMarkdownFields = (node, createNodeField, getNode) => {
|
||||||
const fileNode = getNode(node.parent)
|
const fileNode = getNode(node.parent)
|
||||||
const parsedFilePath = path.parse(fileNode.relativePath)
|
const parsedFilePath = path.parse(fileNode.relativePath)
|
Loading…
Reference in New Issue
Block a user