From e49cd3cf87a241c9bdf8b0729c2a3446c119a1b5 Mon Sep 17 00:00:00 2001 From: Doge Date: Wed, 12 May 2021 13:11:14 +0800 Subject: Add podcast meta rendering --- layout/post.ejs | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) (limited to 'layout') diff --git a/layout/post.ejs b/layout/post.ejs index 008b20a..6997574 100644 --- a/layout/post.ejs +++ b/layout/post.ejs @@ -38,7 +38,48 @@ <% } %>
+ <%- page.content %> + + + + <% if (page.podcast && page.podcast.authors) { %> +

<%= __('authors') %>:

+ + <% } %> + + + <% if (page.podcast && page.podcast.chapters) { %> +

<%= __('timeline') %>:

+ + <% } %> + + + <% if (page.podcast && page.podcast.references) { %> +

<%= __('references') %>:

+ + <% } %> +
-- cgit v1.2.3