If you go to tiddlywiki.com/empty.html, add the centralised theme, and export a tiddler as static html, it will render right-aligned rather than centered.
@DaveGifford I expect that’s because the export template does not take into account the theme.
I believe the html tiddler export uses the following template $:/core/templates/static.tiddler.html
Here is the result of some research by me should it help you or others respond to this thread.
Which defines the body of the html file, thus the tiddler
<body class="tc-body">
`{{$:/StaticBanner||$:/core/templates/html-tiddler}}`
<section class="tc-story-river tc-static-story-river">
`<$view tiddler="$:/core/ui/ViewTemplate" format="htmlwikified"/>`
</section>
</body>
Here you can see the static tiddlers consist of a banner and the text is added using the part
<$view tiddler="$:/core/ui/ViewTemplate" format="htmlwikified"/>
which then transcludes the content
<$transclude tiddler=<<listItem>>/></$list>
You may also be aware that the static html tiddler is an exporter. We should be able to build a separate exporter for centralised static tiddlers. I have build custom exporters before, but a while ago.
If it is too hard to clone and interpret the existing static tiddler you could build a new exporter from the ground up however whoever created the centralised tiddler theme should be able to build the exporter more easily.
Thanks Tones
I am just alerting the TW community to the issue so someone will do a pull request on Github. I discovered it when I was exploring, but don’t have need for it myself at this time. Thanks again.