SHIP IT FASTER

The average enterprise on Netlify ships 140 times per week. Where does your team rank?

ContactSign Up
Community Plugin
View plugin on GitHub

Gatsby Theme Simplecast

Gatsby theme that sources data from Simplecast API which can be combined with Markdown files to associate more information to each episode. Inspired by syntax.fm.

→ Preview Theme

Installation

To use this theme in your Gatsby sites, follow these instructions:

  1. Install the theme
    yarn add @vojtaholik/gatsby-theme-simplecast
  2. Add the theme to your gatsby-config.js:
module.exports = {
plugins: [
  {
    resolve: '@vojtaholik/gatsby-theme-simplecast',
    options: {
      podcastId: PODCAST_ID, // theme uses mockup data if no podcastId provided
      simplecastApiSecret: SIMPLECAST_API_SECRET, 
      markdownPath: 'content/episodes',
    },
  },
],
}

Plugin options

  • simplecastApiSecret: Grab your Simplecast API token here.
  • podcastId: Podcast ID can be found in your Simplecast account under embeds settings.
  • markdownPath: Path to your markdown files. For markdown file to show up, it’s frontmatter.id must match episode.id.
  • episodeSlug: default “show”. (/show/05/episode-title)
  1. Create index page in src/pages/index.js

    • You can use this example which displays latest episode by default.
  2. Start your site

    gatsby develop
© 2023 Gatsby, Inc.