From cae9dbf5d1427e3a935e132f7d6ca6885a8f488e Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Wed, 20 Mar 2024 15:51:58 +0000 Subject: [PATCH] Fix colours in static renderings --- plugins/tiddlywiki/multiwikiserver/system-files/styles.css.tid | 1 + plugins/tiddlywiki/multiwikiserver/templates/get-index.tid | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/tiddlywiki/multiwikiserver/system-files/styles.css.tid b/plugins/tiddlywiki/multiwikiserver/system-files/styles.css.tid index 1c67f142e..2c84340e1 100644 --- a/plugins/tiddlywiki/multiwikiserver/system-files/styles.css.tid +++ b/plugins/tiddlywiki/multiwikiserver/system-files/styles.css.tid @@ -2,6 +2,7 @@ title: $:/plugins/tiddlywiki/multiwikiserver/system-files/styles.css tags: $:/tags/MWS/SystemFileWikified system-file-type: text/css +\import [subfilter{$:/core/config/GlobalImportFilter}] \rules only filteredtranscludeinline transcludeinline macrodef macrocallinline macrocallblock /* Import TiddlyWiki theme styles */ diff --git a/plugins/tiddlywiki/multiwikiserver/templates/get-index.tid b/plugins/tiddlywiki/multiwikiserver/templates/get-index.tid index 310e63718..8fd7f1743 100644 --- a/plugins/tiddlywiki/multiwikiserver/templates/get-index.tid +++ b/plugins/tiddlywiki/multiwikiserver/templates/get-index.tid @@ -1,6 +1,6 @@ title: $:/plugins/tiddlywiki/multiwikiserver/templates/get-index -\procedure bagPill(element-tag:"span",is-topmost:"no") +\procedure bagPill(element-tag:"span",is-topmost:"yes") \whitespace trim <$genesis $type=<> class={{{ mws-bag-pill [match[yes]then[mws-bag-pill-topmost]] +[join[ ]] }}}> encodeuricomponent[]] }$` rel="noopener noreferrer" target="_blank">