Zim

Comment 3 for bug 1625977

Revision history for this message
santiago (serware) wrote :

I am ordering export templates and I have come to realize that the problem also affects the Default.html template.

The name "Default_With_index" means that the template will generate a left side index panel, because if a index name is specified in the Export dialog the index page is always generated regardless of the template used.

The header links to the index document broken in each page are generated by the following template code included in Default_With_index.html and also in Default.html:

        [% IF links.get("index") %]
        [ <a href='[% uri(links.get("index")) %]'>Index</a> ]
        [% ELSE %]
        [ <span class='insen'>Index</span> ]
        [% END %]

And the problem arises because "uri(links.get("index"))" doesn't return current page relative paths.