forked from HPR/hpr_generator
		
	absolute_path MACRO was named incorrectly and baseurl must be passed into macro.
		
			
				
	
	
		
			33 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <!--% MACRO zero_pad_left(word) BLOCK %-->
 | |
| <!--% USE String(word) %-->
 | |
| <!--% String.format("%04s") %-->
 | |
| <!--% END %-->
 | |
| 
 | |
| <!--% MACRO display_choice(choice, display_when_true, display_when_false) BLOCK %-->
 | |
| <!--% IF choice == 1 %--><!--% display_when_true %-->
 | |
| <!--% ELSE %--><!--% display_when_false %--><!--% END %-->
 | |
| <!--% END %-->
 | |
| 
 | |
| <!--% MACRO display_explicit(is_explicit) BLOCK %-->
 | |
| <!--% display_choice(is_explicit, 'Explicit', 'Clean') %-->
 | |
| <!--% END %-->
 | |
| 
 | |
| <!--% MACRO absolute_path(baseurl) BLOCK %-->
 | |
| <!--% IF baseurl %-->./<!--% ELSE %-->/<!--% END %-->
 | |
| <!--% END %-->
 | |
| 
 | |
| <!--% MACRO step_navigation(baseurl, links) BLOCK %-->
 | |
| <small><a href="<!--% absolute_path(baseurl) %-->eps/hpr<!--% zero_pad_left(links.earliest) %-->/index.html" rel="first"><< First</a>, 
 | |
| 	<!--% IF links.previous %-->
 | |
| 	<a href="<!--% absolute_path(baseurl) %-->eps/hpr<!--% zero_pad_left(links.previous) %-->/index.html" rel="previous">< Previous</a>,
 | |
| 	<!--% ELSE %-->
 | |
| 	<span><</span> Previous,
 | |
| 	<!--% END %-->
 | |
| 	<!--% IF links.next %-->
 | |
| 	<a href="<!--% absolute_path(baseurl) %-->eps/hpr<!--% zero_pad_left(links.next) %-->/index.html" rel="next">Next ></a>,
 | |
| 	<!--% ELSE %-->
 | |
| 	Next <span>></span>
 | |
| 	<!--% END %-->
 | |
| 	<a href="<!--% absolute_path(baseurl) %-->eps/hpr<!--% zero_pad_left(links.latest) %-->/index.html" rel="last">Latest >></a></small>
 | |
| <!--% END %-->
 |