Fix MACRO step_navigation
absolute_path MACRO was named incorrectly and baseurl must be passed into macro.
This commit is contained in:
parent
ccfcd4b7fb
commit
8eda6ca9a8
@ -49,7 +49,7 @@
|
|||||||
<header>
|
<header>
|
||||||
<h1>hpr<!--% episode.id %--> :: <!--% episode.title %--></h1>
|
<h1>hpr<!--% episode.id %--> :: <!--% episode.title %--></h1>
|
||||||
<h3><!--% episode.summary %--></h3>
|
<h3><!--% episode.summary %--></h3>
|
||||||
<p class="meta"><!--% step_navigation(episode) %-->
|
<p class="meta"><!--% step_navigation(baseurl,episode) %-->
|
||||||
</p>
|
</p>
|
||||||
<p><!--% IF get_avatar(episode.hostid) != 'hpr_logo.png' %-->
|
<p><!--% IF get_avatar(episode.hostid) != 'hpr_logo.png' %-->
|
||||||
<img src="<!--% absolute_path(baseurl) %-->images/<!--% get_avatar(episode.hostid) %-->" height="80" width="80" alt="" /></a><br><!--% END %-->
|
<img src="<!--% absolute_path(baseurl) %-->images/<!--% get_avatar(episode.hostid) %-->" height="80" width="80" alt="" /></a><br><!--% END %-->
|
||||||
|
@ -16,17 +16,17 @@
|
|||||||
<!--% IF baseurl %-->./<!--% ELSE %-->/<!--% END %-->
|
<!--% IF baseurl %-->./<!--% ELSE %-->/<!--% END %-->
|
||||||
<!--% END %-->
|
<!--% END %-->
|
||||||
|
|
||||||
<!--% MACRO step_navigation(links) BLOCK %-->
|
<!--% MACRO step_navigation(baseurl, links) BLOCK %-->
|
||||||
<small><a href="<!--% absolute_url(baseurl) %-->eps/hpr<!--% zero_pad_left(links.earliest) %-->/index.html" rel="first"><< First</a>,
|
<small><a href="<!--% absolute_path(baseurl) %-->eps/hpr<!--% zero_pad_left(links.earliest) %-->/index.html" rel="first"><< First</a>,
|
||||||
<!--% IF links.previous %-->
|
<!--% IF links.previous %-->
|
||||||
<a href="<!--% absolute_url(baseurl) %-->eps/hpr<!--% zero_pad_left(links.previous) %-->/index.html" rel="previous">< Previous</a>,
|
<a href="<!--% absolute_path(baseurl) %-->eps/hpr<!--% zero_pad_left(links.previous) %-->/index.html" rel="previous">< Previous</a>,
|
||||||
<!--% ELSE %-->
|
<!--% ELSE %-->
|
||||||
<span><</span> Previous,
|
<span><</span> Previous,
|
||||||
<!--% END %-->
|
<!--% END %-->
|
||||||
<!--% IF links.next %-->
|
<!--% IF links.next %-->
|
||||||
<a href="<!--% absolute_url(baseurl) %-->eps/hpr<!--% zero_pad_left(links.next) %-->/index.html" rel="next">Next ></a>,
|
<a href="<!--% absolute_path(baseurl) %-->eps/hpr<!--% zero_pad_left(links.next) %-->/index.html" rel="next">Next ></a>,
|
||||||
<!--% ELSE %-->
|
<!--% ELSE %-->
|
||||||
Next <span>></span>
|
Next <span>></span>
|
||||||
<!--% END %-->
|
<!--% END %-->
|
||||||
<a href="<!--% absolute_url(baseurl) %-->eps/hpr<!--% zero_pad_left(links.latest) %-->/index.html" rel="last">Latest >></a></small>
|
<a href="<!--% absolute_path(baseurl) %-->eps/hpr<!--% zero_pad_left(links.latest) %-->/index.html" rel="last">Latest >></a></small>
|
||||||
<!--% END %-->
|
<!--% END %-->
|
||||||
|
Loading…
Reference in New Issue
Block a user