You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if you want to link different templates and use:
{{ link.templates-templatename }}
it will be rendered to something like this:
/patterns/03-templates-10-subfolder-02-templatename/03-templates-10-subfolder-02-templatename.html
and this results in a 404.
so i put myself in sherlock mode and found this little buddy in builder.lip.php on line 304:
$this->d->link->$patternName = "/patterns/".$path."/".$path.".html";
a brief edit later
$this->d->link->$patternName = "../../patterns/".$path."/".$path.".html";
everything worked.
maybe there is a reason for the first linking pattern? would be nice to know
hi there,
if you want to link different templates and use:
{{ link.templates-templatename }}
it will be rendered to something like this:
/patterns/03-templates-10-subfolder-02-templatename/03-templates-10-subfolder-02-templatename.html
and this results in a 404.
so i put myself in sherlock mode and found this little buddy in builder.lip.php on line 304:
$this->d->link->$patternName = "/patterns/".$path."/".$path.".html";
a brief edit later
$this->d->link->$patternName = "../../patterns/".$path."/".$path.".html";
everything worked.
maybe there is a reason for the first linking pattern? would be nice to know