[tw5] Re: RenderCommand: internal links incorrect
Should anyone in the future come across this. Apparently you can use the RenderCommand to generate static html which have working internal links using using render-type of text/plain and $:/core/templates/static.tiddler.html (I don't know if it works with any other template.) tiddlywiki --render [!is[system]] "[encodeuricomponent[]addprefix[tiddlers/]addsuffix[.html]]" text/plain "$:/core/templates/static.tiddler.html" On Sunday, May 30, 2021 at 9:23:37 AM UTC-4 Louis Davout wrote: > OK I got the links to work by following > https://www.didaxy.com/exporting-static-sites-from-tiddlywiki-part-1 and > using the deprecated RenderTiddlersCommand not sure yet if it's because > of the parameters or the command itself. Looking further into it. > > > On Saturday, May 29, 2021 at 10:25:36 AM UTC-4 Louis Davout wrote: > >> >> I have TW 5.1.23 running on node. I'm exporting to static html using the >> RenderCommand: >> >> tiddlywiki --render [!is[system]] "[encodeuricomponent[]addsuffix[.html]]" >> >> The internal links generated still have the # like an achor tag. Ex: >> >> In topicA I have a link to topicB ([[topicB]] the html generated for >> topicA has >> >> topicB >> >> How can I get the links to point to the files? >> >> > href="#topicB.html">topicB >> >> Thanks. >> > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/3dcbe94a-d523-4a0c-b24c-01588b24c1b4n%40googlegroups.com.
[tw5] Re: RenderCommand: internal links incorrect
OK I got the links to work by following https://www.didaxy.com/exporting-static-sites-from-tiddlywiki-part-1 and using the deprecated RenderTiddlersCommand not sure yet if it's because of the parameters or the command itself. Looking further into it. On Saturday, May 29, 2021 at 10:25:36 AM UTC-4 Louis Davout wrote: > > I have TW 5.1.23 running on node. I'm exporting to static html using the > RenderCommand: > > tiddlywiki --render [!is[system]] "[encodeuricomponent[]addsuffix[.html]]" > > The internal links generated still have the # like an achor tag. Ex: > > In topicA I have a link to topicB ([[topicB]] the html generated for > topicA has > > topicB > > How can I get the links to point to the files? > > href="#topicB.html">topicB > > Thanks. > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/250da767-4eab-4396-85d4-ccd315dadfdcn%40googlegroups.com.
[tw5] Re: RenderCommand: internal links incorrect
OK I got the links to work by following https://www.didaxy.com/exporting-static-sites-from-tiddlywiki-part-1 and using the deprecated RenderTiddlerCommand not sure yet if it's because of the parameters or the command itself. Looking further into it. On Saturday, May 29, 2021 at 10:25:36 AM UTC-4 Louis Davout wrote: > > I have TW 5.1.23 running on node. I'm exporting to static html using the > RenderCommand: > > tiddlywiki --render [!is[system]] "[encodeuricomponent[]addsuffix[.html]]" > > The internal links generated still have the # like an achor tag. Ex: > > In topicA I have a link to topicB ([[topicB]] the html generated for > topicA has > > topicB > > How can I get the links to point to the files? > > href="#topicB.html">topicB > > Thanks. > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/4b93f514-1563-4492-b98c-3e0b6175c089n%40googlegroups.com.