i240_Rename-Today-with-a-Techie-folder #241

Merged
ken_fallon merged 2 commits from i240_Rename-Today-with-a-Techie-folder into main 2025-01-22 12:12:15 +00:00
3 changed files with 4 additions and 4 deletions
Showing only changes of commit 15547a2e87 - Show all commits

View File

@ -119,8 +119,7 @@ content: content-tags.tpl.html
navigation: navigation-get-shows.tpl.html
content: content-twat_episode.tpl.html
multipage: true
filename: eps/twat[id]/index.html
media_baseurl: https://www.hackerpublicradio.org/eps/
filename: eps/twt[id]/index.html
[mumble-howto]
navigation: navigation-about.tpl.html

View File

@ -45,7 +45,7 @@
%-->
<!--% episode_result = query_episodes.execute(id, id, id, id, id) %-->
<!--% FOREACH episode IN episode_result %-->
<!--% episode_navigation = step_navigation(baseurl,episode,"twat") %-->
<!--% episode_navigation = step_navigation(baseurl,episode,"twt") %-->
<article>
<header>
<h1><!--% episode.id %--> :: <!--% episode.title %--></h1>

View File

@ -94,6 +94,7 @@
<!--% MACRO media_path(episode_id, episode_type, media_type, baseurl, media_baseurl) BLOCK %-->
<!--% IF episode_type == "twat" %-->
<!--% episode_type = "twt" %-->
<!--% padding = 3 %-->
<!--% media_folder = "eps/"; padding = 3 %-->
<!--% ELSE %-->
@ -107,7 +108,7 @@
<!--% media_baseurl = "${media_baseurl}hpr\$eps_id/" %-->
<!--% END %-->
<!--% media_folder = "" %-->
<!--% media_baseurl = media_baseurl.replace('\$eps_id', zero_pad_left(episode_id)) %-->
<!--% media_baseurl = media_baseurl.replace('hpr\$eps_id', episode_type _ zero_pad_left(episode_id, padding)) %-->
<!--% END %-->
<!--% media_basepath(baseurl, media_baseurl) %--><!--% media_folder %--><!--% episode_type %--><!--% zero_pad_left(episode_id, padding) %-->.<!--% media_type %-->
<!--% END %-->