$51 GRAYBYTE WORDPRESS FILE MANAGER $37

SERVER : vnpttt-amd7f72-h1.vietnix.vn #1 SMP Fri May 24 12:42:50 UTC 2024
SERVER IP : 103.200.23.149 | ADMIN IP 216.73.216.22
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/alt/alt-nodejs12/root/usr/lib/node_modules/npm/docs/

HOME
Current File : /opt/alt/alt-nodejs12/root/usr/lib/node_modules/npm/docs//gatsby-node.js
const {createFilePath} = require('gatsby-source-filesystem')
const path = require('path')

exports.onCreateNode = ({node, getNode, actions}) => {
  const {createNodeField} = actions
  if (node.internal.type === 'MarkdownRemark') {
    const slug = createFilePath({node, getNode, basePath: 'content', trailingSlash: false})
    createNodeField({
      node,
      name: 'slug',
      value: slug
    })
  }
}

exports.createPages = ({graphql, actions}) => {
  const {createPage} = actions
  return graphql(`
    {
      allMarkdownRemark {
        edges {
          node {
            id
            fields {
              slug
            }
            html
          }
        }
      }
    }
  `).then(result => {
    result.data.allMarkdownRemark.edges.forEach(({node}) => {
      createPage({
        path: node.fields.slug,
        component: path.resolve('./src/templates/Page.js'),
        context: {
          slug: node.fields.slug
        }
      })
    })
  })
}

Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
31 Aug 2024 8.02 AM
root / root
0755
content
--
31 Aug 2024 8.02 AM
root / root
0755
public
--
31 Aug 2024 8.02 AM
root / root
0755
src
--
31 Aug 2024 8.02 AM
root / root
0755
LICENSE
1.051 KB
11 Jan 2022 8.49 AM
root / root
0644
gatsby-browser.js
0.244 KB
11 Jan 2022 8.49 AM
root / root
0644
gatsby-config.js
2.624 KB
11 Jan 2022 8.49 AM
root / root
0644
gatsby-node.js
0.951 KB
11 Jan 2022 8.49 AM
root / root
0644
gatsby-ssr.js
0.175 KB
11 Jan 2022 8.49 AM
root / root
0644
package-lock.json
716.782 KB
11 Jan 2022 8.49 AM
root / root
0644
package.json
1.394 KB
11 Jan 2022 8.49 AM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF