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-podcast-core
Advanced tools
This core theme includes a Podcast
and PodcastEpisode
type that you can use to build a podcast site. Episodes are sourced from a Podcast RSS feed. It includes no styles.
yarn add @arshad/gatsby-theme-podcast-core
gatsby-config.js
// gatsby-config.js
...
plugins: [
{
resolve: `@arshad/gatsby-theme-podcast-core`,
options: {
feedUrl: `https://example.com/feed`,
podcast: {
name: `Name of Podcast`,
description: `Eligendi nisi nobis nisi voluptate. Corporis deserunt provident hic numquam. Veritatis vero necessitatibus adipisci cumque voluptate rerum at.`,
image: `assets/images/podcast.jpg`,
social: [
{
name: `Apple Podcast`,
url: `https://itunes.apple.com`,
},
{
name: `Google Podcast`,
url: `https://podcasts.google.com`,
},
],
},
},
},
]
...
Key | Default value | Description |
---|---|---|
feedUrl | null | The url for the podcast feed |
basePath | /podcast | Root url for all photo posts |
episodesPerPage | 10 | Number of phoepisodestos to show per page for pagination |
podcast | null | Configuration for the podcast. Includes name , description , image and social {name, url} links. |
// gatsby-config.js
// gatsby-config.js
...
plugins: [
{
resolve: `@arshad/gatsby-theme-podcast-core`,
options: {
feedUrl: `https://example.com/feed`,
podcast: {
name: `Name of Podcast`,
description: `Eligendi nisi nobis nisi voluptate. Corporis deserunt provident hic numquam. Veritatis vero necessitatibus adipisci cumque voluptate rerum at.`,
image: `assets/images/podcast.jpg`,
social: [
{
name: `Apple Podcast`,
url: `https://itunes.apple.com`,
},
{
name: `Google Podcast`,
url: `https://podcasts.google.com`,
},
],
},
},
},
]
...
type Podcast implements Node @dontInfer {
id: ID!
name: String!
description: String!
image: File
social: [PodcastSocialLink]
}
type PodcastEpisode implements Node @dontInfer {
id: ID!
guid: String!
title: String!
slug: String!
date: Date! @dateformat
duration: Int!
subtitle: String!
summary: String!
url: String!
}
type PodcastSocialLink implements Node @dontInfer {
name: String!
url: String!
}
Create the following components in your site to shadow and customize the core components:
src
└── @arshad
└── gatsby-theme-podcast-core
└── components
├── episode-teaser.js
├── episode.js
├── episodes.js
└── podcast.js
To learn more about component shadowing, check out the official theme docs.
Create an issue on the main repo @arshad/gatsby-themes.
FAQs
Adds support for podcast to Gatsby sites
We found that @arshad/gatsby-theme-podcast-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.