Hi Mohammad

Apologies, I’d missed a bit off the content of the new wrapper template. Try 
this:

<$view tiddler="$:/mytemplate" mode="htmlwikified" mode="inline”/>

Where “$:/mytemplate” is the title of the template you were using before (ie 
the title of the template we’re wrapping).

Best wishes

Jeremy.

> On 1 May 2020, at 10:19, Mohammad <mohammad.rahm...@gmail.com> wrote:
> 
> Hi Jeremy,
> 
> No luck to remove the extra <p> nor the new template created correct html 
> page (rendered tiddler --> page.html)
> 
>  As you advised I used the below command in my tiddlywiki.info to build the 
> static pages and see the effects of new template: $:/kookma/mytemplate-wrapper
> 
>               "jeremy":[
>                   "--rendertiddlers", "[!is[system]tag[public]]", 
> "$:/kookma/templates/static.tiddler.html", "static", "text/plain",
>                       "--rendertiddlers", "[!is[system]tag[public]]", 
> "$:/kookma/mytemplate-wrapper", "static", "text/plain",
>                   "--rendertiddler", 
> "$:/kookma/templates/static.template.css", "static/static.css", "text/plain" 
>               ]
> 
> Then in a terminal window I issued the below command
> 
> tiddlywiki --build jeremy
> 
> I got the output folder with all tiddlers tagged with public BUT the pages 
> are raw texts
> 
> For example Home tiddler rendered into home.html with below content
> 
> !! Home This is a playground to make static website. !! Links This is an 
> [[Index]]. I also see `a code` here.
> 
> As you see nothing rendered!
> 
> 
> More info:
> My templates are copy of official templates so 
> $:/kookma/templates/static.tiddler.html is a copy of 
> $:/core/templates/static.tiddler.html
> I have only used a modified $:/core/ui/ViewTemplate called 
> "$:/kookma/ui/ViewTemplate " to remove the tags wrapper from displaying. So 
> this was reflected in "$:/core/templates/static.tiddler.html"as below
> <body class="tc-body">
> `{{$:/StaticBanner||$:/core/templates/html-tiddler}}`
> <section class="tc-story-river">
> `<$view tiddler="$:/kookma/ui/ViewTemplate" format="htmlwikified"/>`
> </section>
> </body>
> 
> 
> Mohammad
> 
> 
> 
> 
> -- 
> 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 
> <mailto:tiddlywiki+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/42d7919d-014f-408d-b853-fa5d65c50acd%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/tiddlywiki/42d7919d-014f-408d-b853-fa5d65c50acd%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
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/5153AB93-29E0-45D3-A85F-018C2791AFC7%40gmail.com.

Reply via email to