Question about width of tiddlers for statics

Hi everyone

My new Spanish site, : Índice central giffmex, built from statics created by TiddlyWiki in node.js, has one remaining issue and I am not sure how to tackle it.

I close the sidebar in node.js so the tiddler expands the entire width of the screen. But when I create the statics for the site, they all have the empty gray space to the right where the sidebar would be.

Is there any way to make the tiddler spread across the page in statics? (I don’t want a mobile theme or centralized theme, just a way to hide that extra space.)

David,

I don’t have answer but here are some leads.

The answer would lay in the template(s) used to generate the static tiddlers I believe it starts here $:/core/templates/static.tiddler.html A brief look suggests to me it is simply reusing the same templates used for normal tiddlers. This is the tiddler level save as static and there is the command driven one, perhaps they use different templates?

See the info
https://tiddlywiki.com/#Generating%20Static%20Sites%20with%20TiddlyWiki

<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>

If we try and open $:/core/templates/html-tiddler it throws and error so do not, its content is;

<!--

This template is used for saving tiddlers as raw HTML

--><$view field="text" format="htmlwikified" />

Clearly only the text field.

Best of luck
Tony

Changing the sidebar setting from fixed/fluid to fluid/fixed seems to have done the trick!

1 Like