Hi Suzanne

> I am wondering if there is an expression to use in the
$:/core/templates/static.tiddler.html that would enable each Node.js
generated tiddler to have its individual title in the <title> tag (in the
HTML page <head> section), rather than the main Tiddlywiki title that is
currently used? (i.e.: <title>`{{$:/core/wiki/title}}`</title>) I have
found a regular expression to do this in Notepad++ after the static site
pages are generated (see below), but it would be much more convenient for
it to be done automatically. (Hope that all makes sense!)

I think that the current behaviour is pretty much a bug. I've added the
tiddler title or caption to the template for 5.1.9:

https://github.com/Jermolene/TiddlyWiki5/commit/9aa9b5928418cfd57db709e12f20b173c41b58e3

You can copy the revised template into 5.1.8, but you should give it a
different name, and adjust the title used in the rendertiddlers command
accordingly.

Best wishes

Jeremy.



On Mon, Jun 15, 2015 at 9:07 AM, Suzanne McHale <[email protected]>
wrote:

> I am wondering if there is an expression to use in the
> $:/core/templates/static.tiddler.html that would enable each Node.js
> generated tiddler to have its individual title in the <title> tag (in the
> HTML page <head> section), rather than the main Tiddlywiki title that is
> currently used? (i.e.: <title>`{{$:/core/wiki/title}}`</title>) I have
> found a regular expression to do this in Notepad++ after the static site
> pages are generated (see below), but it would be much more convenient for
> it to be done automatically. (Hope that all makes sense!)
>
>
> ---
> Find: <title>([^<]+)(</title>[\S\s]+?<h2 class="tc-title">)([^<]+)
> Replace: <title>$3$2$3
>
> --
> 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 [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/f8de8d93-8a53-4e50-a0ee-42ebed376364%40googlegroups.com
> <https://groups.google.com/d/msgid/tiddlywiki/f8de8d93-8a53-4e50-a0ee-42ebed376364%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Jeremy Ruston
mailto:[email protected]

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAPKKYJbJX%2Bd0C39ow8SjGTzcrSiyE_VnO2ZOf3JXtnJjbS73%3DQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to