Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
@arshad/gatsby-theme-page-core
Advanced tools
This core theme includes a Page
type that you can use to build MDX pages. It includes no styles.
yarn add @arshad/gatsby-theme-page-core
gatsby-config.js
// gatsby-config.js
...
plugins: [
`@arshad/gatsby-theme-page-core`
]
...
Key | Default value | Description |
---|---|---|
contentPath | content/pages | Location of your pages |
// gatsby-config.js
...
plugins: [
{
resolve: `@arshad/gatsby-theme-page-core`,
options: {
contentPath: `content/pages`,
}
}
]
...
type Page implements Node @dontInfer {
id: ID!
title: String!
excerpt: String
slug: String!
body: String!
is_front: Boolean!
}
Place your pages inside content/pages
as follows:
site
├── content
│ └── pages
│ └── about-us
│ ├── image.jpg
│ └── index.mdx
├── node_modules
├── gatsby-config.js
└── package.json
# site/content/pages/about-us/index.mdx
---
title: About Us
excerpt: Temporibus tenetur eveniet ipsa. Enim eum consequatur magnam.
---
![Picture](image.jpg)
Quos totam nihil saepe ipsam incidunt. Quo ipsam soluta sapiente.
Create the following components in your site to shadow and customize the core components:
src
└── @arshad
└── gatsby-theme-page-core
└── components
└── page.js
To learn more about component shadowing, check out the official theme docs.
Create an issue on the main repo @arshad/gatsby-themes.
FAQs
A Gatsby theme that adds MDX page support.
We found that @arshad/gatsby-theme-page-core demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.