From 4972e93119c28e009c8e203ae5d3fd05c2a0da6f Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Thu, 6 Jan 2022 19:41:01 +0100 Subject: [PATCH] Do not include episode number in title It confuses many people what SCH001 means and it also looks somewhat weird, especially since we do not refer to the episode numbers. --- templates/macros.html | 5 ----- templates/podlove-player.html | 2 +- templates/post.html | 2 +- templates/rss.xml | 2 +- 4 files changed, 3 insertions(+), 8 deletions(-) diff --git a/templates/macros.html b/templates/macros.html index 86ab98d..b3bc48a 100644 --- a/templates/macros.html +++ b/templates/macros.html @@ -14,9 +14,4 @@ > {% endmacro podlove_subscribe_button %} {% macro title(page) -%} -{#- tera lacks zero padding and also log operator -#} -{%- if page.extra.episode is defined -%} -{%- set len = page.extra.episode | as_str | length -%} -{{ config.extra.acronym }}{% for i in range(end=config.extra.pad_to - len) %}0{% endfor %}{{ page.extra.episode }} {% endif -%} -{{ page.title }} {%- endmacro poster %} diff --git a/templates/podlove-player.html b/templates/podlove-player.html index 0d53233..cf146bc 100644 --- a/templates/podlove-player.html +++ b/templates/podlove-player.html @@ -21,7 +21,7 @@