mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-16 23:04:50 +00:00
9ab0c84140
The new importvariables widget imports macro/variable definitions from the specified tiddlers and makes them available to its children. Allows us to split PageMacros up into separate tiddlers. We still support loading macros from $:/core/ui/PageMacros to help people upgrading. Fixes #644 and #559
24 lines
865 B
Plaintext
24 lines
865 B
Plaintext
title: $:/core/templates/static.tiddler.html
|
|
|
|
\define tw-wikilink-template() $uri_doubleencoded$.html
|
|
`<!doctype html>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
|
<meta name="generator" content="TiddlyWiki" />
|
|
<meta name="tiddlywiki-version" content="`{{$:/core/templates/version}}`" />
|
|
<meta name="format-detection" content="telephone=no">
|
|
<link id="faviconLink" rel="shortcut icon" href="favicon.ico">
|
|
<link rel="stylesheet" href="static.css">
|
|
<title>`{{$:/core/wiki/title}}`</title>
|
|
</head>
|
|
<body class="tw-body">
|
|
`{{$:/StaticBanner||$:/core/templates/html-tiddler}}`
|
|
<section class="story-river">
|
|
`<$importvariables filter="[[$:/core/ui/PageMacros]] [all[shadows+tiddlers]tag[$:/tags/Macro]!has[draft.of]]">
|
|
<$view tiddler="$:/core/ui/ViewTemplate" format="htmlwikified"/>
|
|
</$importvariables>`
|
|
</section>
|
|
</body>
|
|
</html>
|
|
` |