Change Today with a Techie folder name
Change name to twt$eps_id Fix media_path to call Today with a Techie shows from the CCDN.
This commit is contained in:
parent
b572673c93
commit
15547a2e87
3
site.cfg
3
site.cfg
@ -119,8 +119,7 @@ content: content-tags.tpl.html
|
|||||||
navigation: navigation-get-shows.tpl.html
|
navigation: navigation-get-shows.tpl.html
|
||||||
content: content-twat_episode.tpl.html
|
content: content-twat_episode.tpl.html
|
||||||
multipage: true
|
multipage: true
|
||||||
filename: eps/twat[id]/index.html
|
filename: eps/twt[id]/index.html
|
||||||
media_baseurl: https://www.hackerpublicradio.org/eps/
|
|
||||||
|
|
||||||
[mumble-howto]
|
[mumble-howto]
|
||||||
navigation: navigation-about.tpl.html
|
navigation: navigation-about.tpl.html
|
||||||
|
@ -45,7 +45,7 @@
|
|||||||
%-->
|
%-->
|
||||||
<!--% episode_result = query_episodes.execute(id, id, id, id, id) %-->
|
<!--% episode_result = query_episodes.execute(id, id, id, id, id) %-->
|
||||||
<!--% FOREACH episode IN episode_result %-->
|
<!--% FOREACH episode IN episode_result %-->
|
||||||
<!--% episode_navigation = step_navigation(baseurl,episode,"twat") %-->
|
<!--% episode_navigation = step_navigation(baseurl,episode,"twt") %-->
|
||||||
<article>
|
<article>
|
||||||
<header>
|
<header>
|
||||||
<h1><!--% episode.id %--> :: <!--% episode.title %--></h1>
|
<h1><!--% episode.id %--> :: <!--% episode.title %--></h1>
|
||||||
|
@ -94,6 +94,7 @@
|
|||||||
|
|
||||||
<!--% MACRO media_path(episode_id, episode_type, media_type, baseurl, media_baseurl) BLOCK %-->
|
<!--% MACRO media_path(episode_id, episode_type, media_type, baseurl, media_baseurl) BLOCK %-->
|
||||||
<!--% IF episode_type == "twat" %-->
|
<!--% IF episode_type == "twat" %-->
|
||||||
|
<!--% episode_type = "twt" %-->
|
||||||
<!--% padding = 3 %-->
|
<!--% padding = 3 %-->
|
||||||
<!--% media_folder = "eps/"; padding = 3 %-->
|
<!--% media_folder = "eps/"; padding = 3 %-->
|
||||||
<!--% ELSE %-->
|
<!--% ELSE %-->
|
||||||
@ -107,7 +108,7 @@
|
|||||||
<!--% media_baseurl = "${media_baseurl}hpr\$eps_id/" %-->
|
<!--% media_baseurl = "${media_baseurl}hpr\$eps_id/" %-->
|
||||||
<!--% END %-->
|
<!--% END %-->
|
||||||
<!--% media_folder = "" %-->
|
<!--% 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 %-->
|
<!--% END %-->
|
||||||
<!--% media_basepath(baseurl, media_baseurl) %--><!--% media_folder %--><!--% episode_type %--><!--% zero_pad_left(episode_id, padding) %-->.<!--% media_type %-->
|
<!--% media_basepath(baseurl, media_baseurl) %--><!--% media_folder %--><!--% episode_type %--><!--% zero_pad_left(episode_id, padding) %-->.<!--% media_type %-->
|
||||||
<!--% END %-->
|
<!--% END %-->
|
||||||
|
Loading…
Reference in New Issue
Block a user