← Back to team overview

zim-wiki team mailing list archive

Re: ZeroFiveEight template bug help ?

 

On Mon, 30 Jan 2017 23:48:29 -0600
<HawKing@xxxxxxxxxxxxx> wrote:

> Hello all,
> 
> In exporting a set of pages or notebook, the attractive ZeroFiveEight
> template seems to have one problem I've seen:
> 
> The first level of sub-pages under the top level page ends up with
> absolute (rather than relative) backlinks. Thus, when moving the
> pages, these break. Not all backlinks have this problem.
> 
> For example, 
> 
> ParentPage
> 
> 	childPage1 (this page has a "backlink" to ParentPage) and a
> TOC backlink, both of which are absolute, rather
> 	than ../Parentpage.html
> 
> 	childPage2
> 		childChildpage2 -- some of links are all relative as
> 		they should be (the backlinks to childPage2 and toc to
> 		childPage2), but the TOC link back to ParentPage is
> 		absolute (not portable to new dir). 
> 
> I'm looking at the template, and see how to edit, but am not sure
> where to look for these particular links, since i just see one single
> mention of an href...  Is there some more general zim exporter than
> the template is calling to get these backlinks?  
> 
> Any help would be greatly appreciated.
> 
> Thanks to everyone for contributing to this excellent project! 
> 
> 

Just a quick addition: the default and default with TOC templates
also have this issue. Is there any reason why all the backlinks and TOC
links to parentPages shouldn't be relative for portability? 



References