Refactor media_baseurl MACRO to media_basepath MACRO
Prevent name collision with media_basepath root_template/page property of same name. Also fix application of trailing forward slash to path based on existence of baseurl property.
This commit is contained in:
parent
b0d31ee507
commit
64ae9c4f86
@ -44,10 +44,10 @@
|
||||
<!--% IF baseurl %-->./<!--% ELSE %-->/<!--% END %-->
|
||||
<!--% END %-->
|
||||
|
||||
<!--% MACRO media_baseurl(baseurl, media_hostname) BLOCK %-->
|
||||
<!--% IF media_hostname %-->
|
||||
https://<!--% media_hostname %-->/<!--% ELSE %-->
|
||||
<!--% baseurl %-->/<!--% END %-->
|
||||
<!--% MACRO media_basepath(baseurl, media_baseurl) BLOCK %-->
|
||||
<!--% IF media_baseurl %-->
|
||||
<!--% media_baseurl %--><!--% ELSE %-->
|
||||
<!--% IF baseurl %--><!--% baseurl %--><!--% ELSE %-->/<!--% END %-->
|
||||
<!--% END %-->
|
||||
|
||||
<!--% MACRO step_navigation(baseurl, links, folder) BLOCK %-->
|
||||
|
Reference in New Issue
Block a user