Mercurial > libervia-website
changeset 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 | f47d6ba74a26 |
children | 87262027cbf5 |
files | templates/default/doc/doc.html |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/templates/default/doc/doc.html Fri Apr 23 11:01:24 2021 +0200 +++ b/templates/default/doc/doc.html Fri Apr 23 11:04:23 2021 +0200 @@ -13,7 +13,7 @@ <div class="tabs"> <ul> {% for name in all_docs %} - <li class="{{"is-active" if name == doc_name}}"><a href="{{page_url}}/{{name}}">{{name}}</a></li> + <li class="{{"is-active" if name == doc_name}}"><a href="{{page_url}}/{{name}}">{{name|replace('-', '/')}}</a></li> {% endfor %} </ul> </div>