cecil/theme-podcast
最新稳定版本:2.1.0
Composer 安装命令:
composer require cecil/theme-podcast
包简介
Cecil component theme: Podcast
README 文档
README
The Podcast component theme for Cecil provide templates to publish an audio show on the web:
- a RSS output for the
episodessection (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' %}
统计信息
- 总下载量: 862
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-06-11