Hello,
in my footer template I usually have something like this::
<a href=
"https://www.lino-framework.org/{{ pagename|e
}}.html">Online link</a>
It's practical for me because usually I watch the generated output
in my local build, but sometimes I want to see the published version
of it.
The trick works perfectly for me, except on sites where I use the
dirhtml
builder. On such a site a can remove the ".html" in the href::
<a href=
"https://www.lino-framework.org/{{ pagename|e
}}">Online link</a>
which works for most pages, but *not* for the index.rst page of a
directory. Any thoughts on this?
Luc