Add show_meta MACRO
Refactor show_summary to use show_meta
This commit is contained in:
parent
c34ddc6256
commit
de8bee7114
@ -1,18 +1,21 @@
|
||||
<!--% PROCESS 'shared-utils.tpl.html' %-->
|
||||
|
||||
<!--% MACRO show_series(series, series_id) IF series != "" %-->
|
||||
<label>Series:</label> <a href="<!--% absolute_path(baseurl) %-->series/<!--% zero_pad_left(series_id) %-->.html"><!--% series %--></a>.
|
||||
<!--% END %-->
|
||||
|
||||
<!--% MACRO show_meta(show) BLOCK %-->
|
||||
<span><label>Released:</label> <!--% show.date %-->.</span> <span><label>Duration:</label> <!--% show.duration %-->.</span> <span><label>Flag:</label> <!--% show.explicit %-->.</span> <span><!--% show_series(show.series, show.seriesid) %--></span> <br>
|
||||
<span><label>Tags:</label> <em><!--% show.tags %--></em>.</span>
|
||||
<!--% END %-->
|
||||
|
||||
<!--% MACRO show_summary(show, hide_host) BLOCK %-->
|
||||
|
||||
<h3 class="title"><a href="episodes/hpr<!--% show.id %-->.html">hpr<!--% show.id %--> :: <!--% show.title %--></a> <!--% IF hide_host == "" %-->
|
||||
hosted by <a href="correspondents/host<!--% show.id %-->.html"><!--% show.host %--></a>
|
||||
<!--% END %-->
|
||||
</h3>
|
||||
<p class="meta"><span><label>Released:</label> <!--% show.date %-->.</span> <span><label>Duration:</label> <!--% show.duration %-->.</span> <span><label>Flag:</label> <!--% show.explicit %-->.</span> <span><!--% show_series(show.series, show.seriesid) %--></span> <br>
|
||||
<span><label>Tags:</label> <em><!--% show.tags %--></em>.</span><br>
|
||||
<p class="meta"><!--% show_meta(show) %--><br>
|
||||
<!--% show.summary %-->
|
||||
</p>
|
||||
<!--% END %-->
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user