What doesn’t work out well for me is that in the sidebar the tabs are not accessible and that when I select a tiddler it takes up the entire screen and hides the sidebar. The corresponding icons do not appear within the tiddler itself either, especially the close one.
Does anyone know how to configure the export so that it is faithful to the original wiki?
Hello.
I’ve been testing a little and in the end I’ve managed to get the static site to show me the images from the original wiki that didn’t appear at first.
But I still don’t know how to make the sidebar tabs functional and that the tiddlers have an icon to close them and don’t take up the entire screen. I’ve searched the forum but haven’t been able to find anything…
I think you’re trying something that’s not really going to work. The static generation is intended to run without JavaScript, which means that although you can make it look a fair bit like the normal look (https://tiddlywiki.com/static.html), the sidebar does not function at all, and the links are to static pages without that sidebar. You can also get a version with all the tiddlers in alphabetic order (https://tiddlywiki.com/alltiddlers.html), but I personally see little use for that. There is more information in https://tiddlywiki.com/static/Generating%20Static%20Sites%20with%20TiddlyWiki.html, which also shows what the normal static process is meant to generate.
But I would want to ask if you have a strong need for more. The main site uses a static site generator to make it easier for indexers to find the content (SEO), but most users will likely eventually follow a link from there back to the main site (it’s at the top of every page.) If that’s your goal, then you might follow the same pattern.
Thanks for the clarification, I’ve been checking the Tiddlywiki static website and it does what’s wrong with me. I thought I was doing something wrong…
Well, then I’ll have to make a page with a TOC to navigate among the tiddlers.
If you name it “index”, it will generate as “index.html”, and that will be the default page at your root url for most hosting systems. https://mystaticwiki.example.com/ will generally be served with the index.html at the root of your deployment.
A banner can be added to the static export by defining a tiddler $:/StaticBanner. It is rendered at the top of all the core static templates. The tiddlywiki.com edititon defines the static banner as follows:
<div class="tc-static-alert"><div class="tc-static-alert-inner">This page is part of a static HTML representation of the ~TiddlyWiki at https://tiddlywiki.com/</div></div>
I notice that there is no documentation about this on tiddlywiki.com, contributions would be welcome here.