Fix MACRO step_navigation

Check for existence of folder arg instead of empty value.
This commit is contained in:
Roan Horning 2022-09-19 22:00:18 -04:00
parent 3723303e31
commit 2eaaa11a69
Signed by: rho_n
GPG Key ID: 234AEF20B72D5769

View File

@ -46,8 +46,8 @@ https://<!--% media_hostname %-->/<!--% ELSE %-->
<!--% END %--> <!--% END %-->
<!--% MACRO step_navigation(baseurl, links, folder) BLOCK %--> <!--% MACRO step_navigation(baseurl, links, folder) BLOCK %-->
<!--% IF folder == "" %--> <!--% IF folder %-->
<!--% folder = hpr %--> <!--% folder = folder %--><!--% ELSE %--><!--% folder = "hpr" %-->
<!--% END %--> <!--% END %-->
<small><a href="<!--% absolute_path(baseurl) %-->eps/<!--% folder %--><!--% zero_pad_left(links.earliest) %-->/index.html" rel="first">&lt;&lt; First</a>, <small><a href="<!--% absolute_path(baseurl) %-->eps/<!--% folder %--><!--% zero_pad_left(links.earliest) %-->/index.html" rel="first">&lt;&lt; First</a>,
<!--% IF links.previous %--> <!--% IF links.previous %-->