forked from HPR/hpr_generator
		
	Add MACRO show_summary
Shared macro that generates standardized summary information about an episode.
This commit is contained in:
		
							
								
								
									
										17
									
								
								templates/shared-episode-summary.tpl.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								templates/shared-episode-summary.tpl.html
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,17 @@ | ||||
| <!--% MACRO show_series(series)  IF series != "" %--> | ||||
| <label>Series:</label> <a href="series.php?id=11"><!--% series %--></a>. | ||||
| <!--% 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) %--></span>  <br> | ||||
| 	<span><label>Tags:</label> <em><!--% show.tags %--></em>.</span><br> | ||||
|     <!--% show.summary %--> | ||||
| 	</p> | ||||
| <!--% END %--> | ||||
|  | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user