forked from FWS/FWS-TEMPLATE-Website-OnePage
fix(pages): make page URLs and assets base-aware
Root-absolute asset paths and ?p= links broke when the site is served from a subfolder (WAMP). Screenshots from the database and avatars from creators.json go through fws_url() as well.
This commit is contained in:
7 files changed
+25
-25
No files matched your search
@@ -16,6 +16,6 @@ $title = 'Page introuvable | FWS Linux';
|
||||
<h1>Page introuvable</h1>
|
||||
<p class="lead">Cette page n'existe pas ou a été déplacée.</p>
|
||||
<div class="hero-actions">
|
||||
<a class="button button-primary" href="/?p/index/">Retour à l'accueil</a>
|
||||
<a class="button button-primary" href="<?= e(fws_url('/?p/index/')) ?>">Retour à l'accueil</a>
|
||||
</div>
|
||||
</section>
|
||||
Reference in new issue
Block a user