[templates] Use relative URLs when target is an internal anchor
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 03 Mar 2017 16:21:03 +0100
changeset 207 80eb000ff2ea
parent 206 3c3f5adeb0c6
child 208 13f6c2ee54eb
[templates] Use relative URLs when target is an internal anchor
cubicweb_sherpa/views/templates/index.jinja2.html
--- a/cubicweb_sherpa/views/templates/index.jinja2.html	Wed Mar 01 18:14:28 2017 +0100
+++ b/cubicweb_sherpa/views/templates/index.jinja2.html	Fri Mar 03 16:21:03 2017 +0100
@@ -8,16 +8,16 @@
     </p>
     <div id="anchors-wrapper">
       <div class="col-md-3">
-        <a href="{{base_url}}#commencer" class="btn btn-default">Commencer <br /><span class="anchor-part">tout de suite</span></a>
+        <a href="#commencer" class="btn btn-default">Commencer <br /><span class="anchor-part">tout de suite</span></a>
       </div>
       <div class="col-md-3">
-        <a href="{{base_url}}#project" class="btn btn-default">Savoir <br /><span class="anchor-part">ce qu'est un profil</span></a>
+        <a href="#project" class="btn btn-default">Savoir <br /><span class="anchor-part">ce qu'est un profil</span></a>
       </div>
       <div class="col-md-3">
-        <a href="{{base_url}}#seda" class="btn btn-default">En savoir plus <br /><span class="anchor-part">sur la norme SEDA</span></a>
+        <a href="#seda" class="btn btn-default">En savoir plus <br /><span class="anchor-part">sur la norme SEDA</span></a>
       </div>
       <div class="col-md-3">
-        <a href="{{base_url}}#utilisation" class="btn btn-default">Découvrir <br /><span class="anchor-part">quelques clés du SHERPA</span></a>
+        <a href="#utilisation" class="btn btn-default">Découvrir <br /><span class="anchor-part">quelques clés du SHERPA</span></a>
       </div>
     </div>
   </section>