[tw5] Re: How to put tiddler`s title to of static HTML exported page?</span></a></span> </h1> <p class="darkgray font13"> <span class="sender pipe"><a href="/search?l=tiddlywiki@googlegroups.com&q=from:%22TonyM%22" rel="nofollow"><span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">TonyM</span></span></a></span> <span class="date"><a href="/search?l=tiddlywiki@googlegroups.com&q=date:20200111" rel="nofollow">Sat, 11 Jan 2020 17:37:14 -0800</a></span> </p> </div> <div itemprop="articleBody" class="msgBody"> <!--X-Body-of-Message--> <pre>Siniy-kit, More info but not your exact solution. What method are you using to generate static pages? Using tiddler export from the browser the html files are named after the tiddler title.</pre><pre> The export static tiddler template is $:/core/templates/static-tiddler Which reads <a name=<<currentTiddler>>> <$transclude tiddler="$:/core/ui/ViewTemplate"/> </a> So it is making use of the $:/core/ui/ViewTemplate So I cloned $:/core/ui/ViewTemplate to a new tiddler $:/core/ui/OutputTemplate and changed $:/core/templates/static-tiddler <a name=<<currentTiddler>>> <$transclude tiddler="$:/core/ui/OutputTemplate"/> </a> So now $:/core/ui/OutputTemplate \define folded-state() $:/state/folded/$(currentTiddler)$ \end <$vars storyTiddler=<<currentTiddler>> tiddlerInfoState=<<qualify "$:/state/popup/tiddler-info">>><div data-tiddler-title=<<currentTiddler>> data-tags={{!!tags}} class={{{ tc-tiddler-frame tc-tiddler-view-frame [< currentTiddler>is[tiddler]then[tc-tiddler-exists]] [<currentTiddler>is[ missing]!is[shadow]then[tc-tiddler-missing]] [<currentTiddler>is[shadow]then [tc-tiddler-exists tc-tiddler-shadow]] [<currentTiddler>is[system]then[tc- tiddler-system]] [{!!class}] [<currentTiddler>tags[]encodeuricomponent[] addprefix[tc-tagged-]] +[join[ ]] }}}>*<**$list filter="[all[shadows+tiddlers]tag[$:/tags/ViewTemplate]!has[draft.of]]" variable="listItem"**>*<$transclude tiddler=<<listItem>>/></$list> </div> </$vars> See how the underlined list widget brings in all items tagged *$:/tags/ViewTemplate* So you can change this to only include what you want But I do not think that is where you are? Regards Tony On Sunday, January 12, 2020 at 11:22:47 AM UTC+11, TonyM wrote: > > Siniy, > > find the template used to generate static html output and modify that to > emphasise the title. I did this in the past to make A sidebar free static > page. > > With a little more work tiddlywiki could generate almost any html page. > > Let me know if you need more info > > Toby > > -- 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 <a rel="nofollow" href="https://groups.google.com/d/msgid/tiddlywiki/1109e083-86e1-48a9-99ed-a60ec56e91ea%40googlegroups.com">https://groups.google.com/d/msgid/tiddlywiki/1109e083-86e1-48a9-99ed-a60ec56e91ea%40googlegroups.com</a>. </pre> </div> <div class="msgButtons margintopdouble"> <ul class="overflow"> <li class="msgButtonItems"><a class="button buttonleft " accesskey="p" href="msg104068.html">Previous message</a></li> <li class="msgButtonItems textaligncenter"><a class="button" accesskey="c" href="index.html#104069">View by thread</a></li> <li class="msgButtonItems textaligncenter"><a class="button" accesskey="i" href="maillist.html#104069">View by date</a></li> <li class="msgButtonItems textalignright"><a class="button buttonright " accesskey="n" href="msg104072.html">Next message</a></li> </ul> </div> <a name="tslice"></a> <div class="tSliceList margintopdouble"> <ul class="icons monospace"> <li class="icons-email"><span class="subject"><a href="msg104064.html">[tw5] How to put tiddler`s title to <title> of static ...</a></span> <span class="sender italic">Siniy-Kit</span></li> <li><ul> <li class="icons-email"><span class="subject"><a href="msg104068.html">[tw5] How to put tiddler`s title to <title> of st...</a></span> <span class="sender italic">TonyM</span></li> <li><ul> <li class="icons-email tSliceCur"><span class="subject">[tw5] Re: How to put tiddler`s title to <title&g...</span> <span class="sender italic">TonyM</span></li> <li><ul> <li class="icons-email"><span class="subject"><a href="msg104072.html">[tw5] Re: How to put tiddler`s title to <tit...</a></span> <span class="sender italic">TonyM</span></li> <li><ul> <li class="icons-email"><span class="subject"><a href="msg104075.html">[tw5] Re: How to put tiddler`s title to <...</a></span> <span class="sender italic">Siniy-Kit</span></li> </ul></li> </ul></li> </ul></li> <li class="icons-email"><span class="subject"><a href="msg104174.html">[tw5] Re: How to put tiddler`s title to <title> o...</a></span> <span class="sender italic">Chuck R.</span></li> <li class="icons-email"><span class="subject"><a href="msg104189.html">Re: [tw5] How to put tiddler`s title to <title> o...</a></span> <span class="sender italic">Jeremy Ruston</span></li> </ul> </ul> </div> <div class="overflow msgActions margintopdouble"> <div class="msgReply" > <h2> Reply via email to </h2> <form method="POST" action="/mailto.php"> <input type="hidden" name="subject" value="[tw5] Re: How to put tiddler`s title to <title> of static HTML exported page?"> <input type="hidden" name="msgid" value="1109e083-86e1-48a9-99ed-a60ec56e91ea@googlegroups.com"> <input type="hidden" name="relpath" value="tiddlywiki@googlegroups.com/msg104069.html"> <input type="submit" value=" TonyM "> </form> </div> </div> </div> <div class="aside" role="complementary"> <div class="logo"> <a href="/"><img src="/logo.png" width=247 height=88 alt="The Mail Archive"></a> </div> <form class="overflow" action="/search" method="get"> <input type="hidden" name="l" value="tiddlywiki@googlegroups.com"> <label class="hidden" for="q">Search the site</label> <input class="submittext" type="text" id="q" name="q" placeholder="Search tiddlywiki"> <input class="submitbutton" name="submit" type="image" src="/submit.png" alt="Submit"> </form> <div class="nav margintop" id="nav" role="navigation"> <ul class="icons font16"> <li class="icons-home"><a href="/">The Mail Archive home</a></li> <li class="icons-list"><a href="/tiddlywiki@googlegroups.com/">tiddlywiki - all messages</a></li> <li class="icons-about"><a href="/tiddlywiki@googlegroups.com/info.html">tiddlywiki - about the list</a></li> <li class="icons-expand"><a href="/search?l=tiddlywiki@googlegroups.com&q=subject:%22%5C%5Btw5%5C%5D+Re%5C%3A+How+to+put+tiddler%60s+title+to+%3Ctitle%3E+of+static+HTML+exported+page%5C%3F%22&o=newest&f=1" title="e" id="e">Expand</a></li> <li class="icons-prev"><a href="msg104068.html" title="p">Previous message</a></li> <li class="icons-next"><a href="msg104072.html" title="n">Next message</a></li> </ul> </div> <div class="listlogo margintopdouble"> <a href="#"><img src="/tiddlywiki@googlegroups.com/logo.png" alt="tiddlywiki"></a> </div> <div class="margintopdouble"> </div> </div> </div> <div class="footer" role="contentinfo"> <ul> <li><a href="/">The Mail Archive home</a></li> <li><a href="/faq.html#newlist">Add your mailing list</a></li> <li><a href="/faq.html">FAQ</a></li> <li><a href="/faq.html#support">Support</a></li> <li><a href="/faq.html#privacy">Privacy</a></li> <li class="darkgray">1109e083-86e1-48a9-99ed-a60ec56e91ea@googlegroups.com</li> </ul> </div> </body> </html> <script>(function(){function c(){var b=a.contentDocument||a.contentWindow.document;if(b){var d=b.createElement('script');d.innerHTML="window.__CF$cv$params={r:'9d755c9c98b1de81',t:'MTc3MjY3NDI5Mw=='};var a=document.createElement('script');a.src='/cdn-cgi/challenge-platform/scripts/jsd/main.js';document.getElementsByTagName('head')[0].appendChild(a);";b.getElementsByTagName('head')[0].appendChild(d)}}if(document.body){var a=document.createElement('iframe');a.height=1;a.width=1;a.style.position='absolute';a.style.top=0;a.style.left=0;a.style.border='none';a.style.visibility='hidden';document.body.appendChild(a);if('loading'!==document.readyState)c();else if(window.addEventListener)document.addEventListener('DOMContentLoaded',c);else{var e=document.onreadystatechange||function(){};document.onreadystatechange=function(b){e(b);'loading'!==document.readyState&&(document.onreadystatechange=e,c())}}}})();</script>