SVG logotype as $:/SiteTitle /

94 views
Skip to first unread message

Thierry

unread,
Sep 22, 2019, 3:14:37 PM9/22/19
to TiddlyWiki
Hello,

I'd like to use a SVG as a header inside the sidebar.
The result is appropriate but the site has no title.
Therefore the browser displays a blank space in the tab/window title.
Look at the screenshots.

How could I use the logotype and have the title LABSud displayed ?

Thank you very much for helping me.

Thierry



Screen Shot 2019-09-22 at 20.08.12.png
Screen Shot 2019-09-22 at 20.48.40.png
Screen Shot 2019-09-22 at 20.56.09.png

Mark Kerrigan

unread,
Sep 22, 2019, 5:10:58 PM9/22/19
to TiddlyWiki
Hello

I'm sure someone else might have a more clever answer, but I'm not sure if it's possible to use an image as part of the site title.

You could modify the following shadow tiddler and replace it with your text "LABSud". This would put the text in the site title.

$:/core/wiki/title

Then you could also create a favicon. See the instructions below.


Thanks
Mark Kerrigan

Birthe C

unread,
Sep 22, 2019, 5:55:12 PM9/22/19
to TiddlyWiki
The title would be there but invisible - only your logo visible, but the browser shows the title.
Keep what you have and add:

@@display:none;LABSud@@


Birthe

TonyM

unread,
Sep 22, 2019, 8:27:26 PM9/22/19
to TiddlyWiki
Thierry

Just use the system tag $:/tags/SideBarSegment to introduce any new element like your image to the sidebar, click on a tag pill for $:/tags/SideBarSegment to change the order.

This will just add the logo and leave the 

$:/SiteTitle

 intact, but if you then want to hide the title, change only its display in the sidebar (remove sidebarsegment tag on $:/core/ui/SideBarSegments/site-title), since the site title is used to construct the save filename, the tab title and more "leave it alone).

You may also consider modifying $:/core/wiki/title to change the text on the browser tab.

Regards
Tony

Thierry

unread,
Sep 23, 2019, 4:22:42 AM9/23/19
to TiddlyWiki
Thank you very much, that will be the best, clean way. 

Thierry

Thierry

unread,
Sep 23, 2019, 5:09:48 AM9/23/19
to TiddlyWiki
Success! Thank you again.
Screen Shot 2019-09-23 at 11.07.05.png
Reply all
Reply to author
Forward
0 new messages