Mercurial > libervia-website
comparison templates/default/doc/doc.html @ 10:0e9e97777fe0
doc: `-` in doc name is replace by `/`:
this is needed for Cagou which is deskop/mobile frontend.
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 23 Apr 2021 11:04:23 +0200 |
parents | dc880664a8ec |
children |
comparison
equal
deleted
inserted
replaced
9:f47d6ba74a26 | 10:0e9e97777fe0 |
---|---|
11 </div> | 11 </div> |
12 </div> | 12 </div> |
13 <div class="tabs"> | 13 <div class="tabs"> |
14 <ul> | 14 <ul> |
15 {% for name in all_docs %} | 15 {% for name in all_docs %} |
16 <li class="{{"is-active" if name == doc_name}}"><a href="{{page_url}}/{{name}}">{{name}}</a></li> | 16 <li class="{{"is-active" if name == doc_name}}"><a href="{{page_url}}/{{name}}">{{name|replace('-', '/')}}</a></li> |
17 {% endfor %} | 17 {% endfor %} |
18 </ul> | 18 </ul> |
19 </div> | 19 </div> |
20 </div> | 20 </div> |
21 </div> | 21 </div> |