From 4ad7f73c7f04609a57fb322f652fbf4d6edd0241 Mon Sep 17 00:00:00 2001 From: Doge Date: Sat, 15 May 2021 17:35:35 +0800 Subject: Add chapters to web-player support --- layout/_partial/scripts.ejs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'layout/_partial') diff --git a/layout/_partial/scripts.ejs b/layout/_partial/scripts.ejs index da0a8a1..2efb659 100644 --- a/layout/_partial/scripts.ejs +++ b/layout/_partial/scripts.ejs @@ -41,6 +41,11 @@ <% if (is_post() && theme.podcast && page.podcast) { %> + <% if (page.podcast.chapters) { %> + + + <% } %> <% } %> -- cgit v1.2.3