forked from HPR/hpr_generator
		
	Replace day_from_date MACRO with day_and_date MACRO
Refactor content templates to use day_and_date MACRO
This commit is contained in:
		| @@ -17,7 +17,7 @@ | |||||||
| 		<p class="meta"><!--% episode_navigation %--> | 		<p class="meta"><!--% episode_navigation %--> | ||||||
| 		</p> | 		</p> | ||||||
| <p><!--% show_avatar(episode.hostid, episode.host) %--> | <p><!--% show_avatar(episode.hostid, episode.host) %--> | ||||||
| Hosted by <a href="<!--% absolute_path(baseurl) %-->correspondents/<!--% zero_pad_left(episode.hostid) %-->.html"><!--% episode.host %--></a> on <span><!--% day_from_date(episode.date) %-->, <!--% episode.date %--></span> is flagged as <span><!--% display_explicit(episode.explicit) %--></span> and is released under a <span><!--% episode.license %--> license</span>. <br> | Hosted by <a href="<!--% absolute_path(baseurl) %-->correspondents/<!--% zero_pad_left(episode.hostid) %-->.html"><!--% episode.host %--></a> on <span><!--% day_and_date(episode.date) %--></span> is flagged as <span><!--% display_explicit(episode.explicit) %--></span> and is released under a <span><!--% episode.license %--> license</span>. <br> | ||||||
| <!--% display_tags(episode.tags) %--> | <!--% display_tags(episode.tags) %--> | ||||||
|  |  | ||||||
| <label>Comments: </label><!--% display_comments_tally(episode.id, episode.eps_tally) %--> <br> | <label>Comments: </label><!--% display_comments_tally(episode.id, episode.eps_tally) %--> <br> | ||||||
|   | |||||||
| @@ -55,7 +55,7 @@ | |||||||
| 			<h1><a href="<!--% absolute_path(baseurl) %-->eps/hpr<!--% zero_pad_left(latest_episodes.id) %-->/index.html">hpr<!--% latest_episodes.id %--> :: <!--% latest_episodes.title %--></a></h1> | 			<h1><a href="<!--% absolute_path(baseurl) %-->eps/hpr<!--% zero_pad_left(latest_episodes.id) %-->/index.html">hpr<!--% latest_episodes.id %--> :: <!--% latest_episodes.title %--></a></h1> | ||||||
| 		<h3><!--% latest_episodes.summary%--></h3> | 		<h3><!--% latest_episodes.summary%--></h3> | ||||||
| 		<p class="meta"$><!--% show_avatar(latest_episodes.hostid, latest_episodes.host, host_cnt) %--> | 		<p class="meta"$><!--% show_avatar(latest_episodes.hostid, latest_episodes.host, host_cnt) %--> | ||||||
| 	Hosted by <a href="<!--% absolute_path(baseurl) %-->correspondents/<!--% zero_pad_left(latest_episodes.hostid) %-->.html"><!--% latest_episodes.host %--></a> on <!--% day_from_date(latest_episodes.date) %-->, <!--% latest_episodes.date %--> is flagged as <!--% display_explicit(latest_episodes.explicit) %--> and released under a <!--% latest_episodes.license %--> license. <br> | 	Hosted by <a href="<!--% absolute_path(baseurl) %-->correspondents/<!--% zero_pad_left(latest_episodes.hostid) %-->.html"><!--% latest_episodes.host %--></a> on <!--% day_and_date(latest_episodes.date) %--> is flagged as <!--% display_explicit(latest_episodes.explicit) %--> and released under a <!--% latest_episodes.license %--> license. <br> | ||||||
| 	<!--% display_tags(latest_episodes.tags) %--> | 	<!--% display_tags(latest_episodes.tags) %--> | ||||||
| 	<span><!--% show_series(latest_episodes.series, latest_episodes.seriesid) %--></span> | 	<span><!--% show_series(latest_episodes.series, latest_episodes.seriesid) %--></span> | ||||||
| 	<span><label>Comments: </label><!--% display_comments_tally(latest_episodes.id, latest_episodes.eps_tally) %--></span><br> | 	<span><label>Comments: </label><!--% display_comments_tally(latest_episodes.id, latest_episodes.eps_tally) %--></span><br> | ||||||
|   | |||||||
| @@ -53,7 +53,7 @@ | |||||||
| 		<p class="meta"><!--% episode_navigation %--> | 		<p class="meta"><!--% episode_navigation %--> | ||||||
| 		</p> | 		</p> | ||||||
| <p><!--% show_avatar(episode.hostid, episode.host) %--> | <p><!--% show_avatar(episode.hostid, episode.host) %--> | ||||||
| Hosted by <a href="<!--% absolute_path(baseurl) %-->correspondents/<!--% zero_pad_left(episode.hostid) %-->.html"><!--% episode.host %--></a> on <span><!--% day_from_date(episode.date) %-->, <!--% episode.date %--></span> is flagged as <span><!--% display_explicit(episode.explicit) %--></span> and is released under a <span><!--% episode.license %--> license</span>. <br> | Hosted by <a href="<!--% absolute_path(baseurl) %-->correspondents/<!--% zero_pad_left(episode.hostid) %-->.html"><!--% episode.host %--></a> on <span><!--% day_and_date(episode.date) %--></span> is flagged as <span><!--% display_explicit(episode.explicit) %--></span> and is released under a <span><!--% episode.license %--> license</span>. <br> | ||||||
| <!--% display_tags(episode.tags) %--> <br> | <!--% display_tags(episode.tags) %--> <br> | ||||||
| <!--% listen_now(episode, "twat", baseurl, media_baseurl) %--> | <!--% listen_now(episode, "twat", baseurl, media_baseurl) %--> | ||||||
| <!--% display_listen_in(episode.id, "twat") %-->   | <!--% display_listen_in(episode.id, "twat") %-->   | ||||||
|   | |||||||
| @@ -35,7 +35,7 @@ or | |||||||
| <!--% END %--> | <!--% END %--> | ||||||
|  |  | ||||||
| <!--% MACRO show_meta(show, hide_tags) BLOCK %--> | <!--% MACRO show_meta(show, hide_tags) BLOCK %--> | ||||||
| <span><label>Released:</label> <!--% day_from_date(show.date) %-->, <!--% show.date %-->.</span>  | <span><label>Released:</label> <!--% day_and_date(show.date) %-->.</span>  | ||||||
| 	<span><label>Duration:</label> <!--% display_episode_duration(show.duration) %-->.</span>  | 	<span><label>Duration:</label> <!--% display_episode_duration(show.duration) %-->.</span>  | ||||||
| 	<span><label>Flag:</label> <!--% display_explicit(show.explicit) %-->.</span>  | 	<span><label>Flag:</label> <!--% display_explicit(show.explicit) %-->.</span>  | ||||||
| 	<span><!--% show_series(show.series, show.seriesid) %--></span>  <br> | 	<span><!--% show_series(show.series, show.seriesid) %--></span>  <br> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user