1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-23 18:17:20 +00:00

Remove extra dashes in page title (#5370)

When Tiddlywiki has no subtitle you see extra dashes!
This commit is contained in:
Mohammad Rahmani 2021-01-05 21:05:26 +03:30 committed by GitHub
parent 5832002feb
commit 87b9dbcda1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,3 +1,6 @@
title: $:/core/wiki/title title: $:/core/wiki/title
{{$:/SiteTitle}} --- {{$:/SiteSubtitle}} {{$:/SiteTitle}}
<$list filter="[{$:/SiteSubtitle}trim[]minlength[1]]" variable="ignore">
--- {{$:/SiteSubtitle}}
</$list>