Hi Siniy-Kit
You've got a customised "" tiddler. I'd suggest moving your customisations
to a new tiddler like "$:/_my-static-template".
Here are the changes you need:
\define tv-wikilink-template() $uri_doubleencoded$.html
\define tv-config-toolbar-icons() no
\define tv-config-toolbar-text() no
\define tv-config-toolbar-class() tc-btn-invisible
`<!doctype html>
<html>
<head>
<link rel="prerender" href="heeg.html" />
<meta name="viewport" content="width=device-width">
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<link id="faviconLink" rel="shortcut icon" href="favicon.ico">
<link rel="stylesheet" href="static.css">
<title>`{{!!title}} {{!!nazvanie}}`</title>
<meta name="description" content="`{{!!description}}`"/>
</head>
<body class="tc-body" style="width: 92%;">
`<$importvariables filter=
"[all[shadows+tiddlers]tag[$:/tags/Macro]!has[draft.of]]">`
<span class="tc-topbar tc-topbar-left">
`<$view tiddler="$:/_header" field="text" format="htmlwikified" />`
</span>
<section class="tc-story-river">
`<$view tiddler="$:/core/ui/ViewTemplate" format="htmlwikified"/>`
</section>
`</$importvariables>`
<script async src="heeg.js" type="text/javascript"></script>
</body>
</html>
`
Let me know how you get on,
Best wishes
Jeremy.
On Wednesday, October 14, 2015 at 4:48:03 PM UTC+1, Siniy-Kit wrote:
>
> I don't know where to move up <$importvariables> in what tiddler I can do
> it? I find it in $:/core/ui/PageTemplate , but there is no body there...
>
> среда, 14 октября 2015 г., 18:12:10 UTC+3 пользователь Jeremy Ruston
> написал:
>>
>> Hi Siniy-Kit
>>
>> I think it is very strange, because I render TOC from tiddler very good,
>> but not from header. I have no idea where to look for mistake…..
>>
>>
>> The issue is that global macros such as the TOC macro are only available
>> in your template within the importvariables widget that imports them.
>>
>> So the fix is to move your importvariables widget up to contain all the
>> body content of the page.
>>
>> Best wishes
>>
>> Jeremy
>>
>>
>> --
>> 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/00169f12-f331-46aa-b1bc-d9da6365c78c%40googlegroups.com
>>
>> <https://groups.google.com/d/msgid/tiddlywiki/00169f12-f331-46aa-b1bc-d9da6365c78c%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>>
>>
--
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/f42dca0e-70d5-4e59-8555-c546744540e2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.