cecil / theme-podcast
Cecil component theme: Podcast
Fund package maintenance!
ArnaudLigny
Open Collective
Installs: 824
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Language:Twig
Type:cecil-theme
Requires
- cecil/theme-installer: ^1.4
- dev-master / 2.x-dev
- 2.0.1
- 2.0.0
- 1.x-dev
- 1.16.0
- 1.15.3
- 1.15.2
- 1.15.1
- 1.15.0
- 1.14.0
- 1.13.7
- 1.13.6
- 1.13.5
- 1.13.4
- 1.13.3
- 1.13.2
- 1.13.1
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.2
- 1.9.1
- 1.9.0
- 1.8.6
- 1.8.5
- 1.8.4
- 1.8.3
- 1.8.2
- 1.8.1
- 1.8.0
- 1.7.2
- 1.7.1
- 1.7.0
- 1.6.2
- 1.6.1
- 1.6.0
- 1.5.1
- 1.5.0
- 1.4.2
- 1.4.1
- 1.4.0
- 1.3.1
- 1.3.0
- 1.2.0
- 1.1.2
- 1.1.1
- 1.1.0
- 1.0.0
This package is auto-updated.
Last update: 2024-10-12 12:10:47 UTC
README
The Podcast component theme for Cecil provide templates to publish an audio show on the web:
- a RSS output for the
episodes
section (with a style sheet) - a HTML audio player with resume feature and Media Session API support
Installation
composer require cecil/theme-podcast
Or download the latest archive and uncompress its content in
themes/podcast
.
Usage
Add podcast
in the theme
section of your config.yml
:
theme: - podcast
Add podcast configuration details in your config.yml
:
podcast: owner: name: Cecil email: contact@cecil.app image: cover.png author: Cecil # optional categories: # https://podcasters.apple.com/support/1691-apple-podcasts-categories - Technology type: episodic # optional, "episodic" (default) or "serial" explicit: no # optional block: no # optional newfeedurl: "" # optional, the URL of the new feed in case of hosting changement
Add a Markdown file in episodes
section with data (in the front matter) and description:
1.md:
--- title: "Episode X" date: YYYY-MM-DD episode: file: episode-X.mp3 season: 0 # optional number: X # optional type: full # optional, "full", "trailer" or "bonus" explicit: no # optional block: no # optional --- Description and notes of the episode.
Add the HTML player to your episode's template:
{% include 'partials/audioplayer.html.twig' %}