[I332] Dynamically set page titles #333
@@ -1,3 +1,4 @@
|
||||
<!--% page_title = "HPR ~ About this community podcast" %-->
|
||||
<h1 id="welcome">Welcome to HPR<a href="<!--% absolute_url(baseurl,'about.html#about') %-->">.</a></h1>
|
||||
|
||||
<ul>
|
||||
|
||||
1848
templates/content-about.tpl.html.orig
Normal file
1848
templates/content-about.tpl.html.orig
Normal file
File diff suppressed because it is too large
Load Diff
@@ -3,7 +3,7 @@
|
||||
<!--% PROCESS 'shared-listen-now.tpl.html' %-->
|
||||
<!--% PROCESS "queries-episode.tpl.html" %-->
|
||||
<!--% USE DBI(constants.driver) %-->
|
||||
|
||||
<!--% page_title = "HPR ~ Current comments on the shows" %-->
|
||||
<h2>Comment Viewer</h2>
|
||||
<p>Because of the spammers we have had to turn on comment moderation. Sorry about the delay this will cause.</p>
|
||||
<p><a href="<!--% absolute_path(baseurl) %-->comments.rss">Subscribe</a> to the comment feed.</p>
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
<!--% page_title = "HPR ~ Contact the Community" %-->
|
||||
<article>
|
||||
<header>
|
||||
<h1>Contact</h1>
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
<!--% hosts = DBI.tie('hosts', 'hostid') %-->
|
||||
|
||||
<!--% this_host = hosts.$id %-->
|
||||
<!--% page_title = "HPR ~ Host: " _ this_host.host %-->
|
||||
<h2 class="title">Correspondent</h2>
|
||||
<div id="host" class="lane">
|
||||
<div id="host_id">
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
<!--% PROCESS 'shared-utils.tpl.html' %-->
|
||||
<!--% PROCESS 'shared-avatar.tpl.html' %-->
|
||||
<!--% page_title = "HPR ~ Hosts/Correspondents" %-->
|
||||
<h2 class="title">Correspondents</h2>
|
||||
<p>For more information on how to become a Correspondent see our <a href="<!--% absolute_url(baseurl) %-->../about.html#so_you_want_to_record_a_podcast">contribute</a></center> page. To add a logo here, either email one to admin at hpr or setup your email on <a href="https://en.gravatar.com/">Gravatar</a>. To protect your browsing privacy we gather the images every hour and serve them directly from HPR.<p />
|
||||
<!--% USE DBI(constants.driver) %-->
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
<!--% page_title = "HPR ~ Download all the episodes" %-->
|
||||
<article>
|
||||
<header>
|
||||
<h1>Download Archive</h1>
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
<!--% FOREACH episode IN episode_result %-->
|
||||
<!--% in_window = ( episode.id > episode.latest || episode.id < ( episode.latest - 20 ) ? 0 : 1 ) %-->
|
||||
<!--% episode_navigation = step_navigation(baseurl,episode) %-->
|
||||
<!--% page_title = "HPR" _ zero_pad_left(episode.id) _ "::" _ episode.title %-->
|
||||
<article>
|
||||
<header>
|
||||
<h1>hpr<!--% zero_pad_left(episode.id) %--> :: <!--% episode.title %--></h1>
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
<!--% PROCESS 'shared-episode-summary.tpl.html' %-->
|
||||
<!--% PROCESS "queries-episodes.tpl.html" %-->
|
||||
<!--% page_title = "HPR ~ All the shows" %-->
|
||||
<h1>Complete Archive of Shows.</h1>
|
||||
<p>
|
||||
All this information is available to the public. Scrape if you wish but if we can format the data for you then we're happy to help.
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
<!--% page_title = "HPR ~ Find a show" %-->
|
||||
<section id="search">
|
||||
<header>
|
||||
<h1>Search HPR.</h1>
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
<!--% PROCESS 'shared-utils.tpl.html' %-->
|
||||
<!--% PROCESS "queries-series.tpl.html" %-->
|
||||
<!--% USE DBI(constants.driver) %-->
|
||||
<!--% page_title = "HPR ~ Show series" %-->
|
||||
<h1 class="title">In-Depth Series</h1>
|
||||
<div class="lane stack">
|
||||
<!--% FOREACH series IN DBI.query(query_episodes) %-->
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
%-->
|
||||
<!--% series_result = query_series.execute(id) %-->
|
||||
<!--% FOREACH series IN series_result %-->
|
||||
<!--% page_title = "HPR ~ Series: " _ series.name %-->
|
||||
<h1 class="title">In-Depth Series: <!--% series.name %--></h1>
|
||||
<ul>
|
||||
<li>Number of episodes: <!--% series.number_of_episodes %--></li>
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<!--% PROCESS 'shared-utils.tpl.html' %-->
|
||||
<!--% page_title = "HPR ~ Sitemap" %-->
|
||||
<h1>Sitemap</h1>
|
||||
<ul>
|
||||
<li><a href="<!--% hub_baseurl %-->calendar.php"><strong>⇧Upload⇧</strong></a> ← Upload Your Show</li>
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
<!--% page_title = "HPR ~ Subscribe to our feeds" %-->
|
||||
<h1>RSS Syndication</h1>
|
||||
<h2>Subscribe to our Feeds</h2>
|
||||
<p>
|
||||
|
||||
@@ -46,6 +46,7 @@
|
||||
<!--% episode_result = query_episodes.execute(id, id, id, id, id) %-->
|
||||
<!--% FOREACH episode IN episode_result %-->
|
||||
<!--% episode_navigation = step_navigation(baseurl,episode,"twt") %-->
|
||||
<!--% page_title = "TWT" _ episode.id _ "::" _ episode.title %-->
|
||||
<article>
|
||||
<header>
|
||||
<h1><!--% episode.id %--> :: <!--% episode.title %--></h1>
|
||||
|
||||
Reference in New Issue
Block a user