Tobias Beer
2017-02-18 11:23:21 UTC
Hi everyone,
To answer Gesundeslehre's request
<https://groups.google.com/forum/?fromgroups=#!topic/tiddlywiki/Z-ueyVCzpdI>
,
I enhanced tobibeer/sysinfo <http://tobibeer.github.io/tw5-plugins#sysinfo> with
version 0.6.0 <https://github.com/tobibeer/tw5-sysinfo/releases/tag/0.6.0>
so that you can now probe for the environment you're in.
You can now do:
<<sysinfo env>>
which will either output *browser* or *node* respectively.
This can be useful to render content conditionally
<http://tobibeer.github.io/tb5/#Conditional%20ViewTemplate%20Section> for static
sites
<http://tiddlywiki.com/#Generating%20Static%20Sites%20with%20TiddlyWiki>
only.
Get the update from here:
http://tobibeer.github.io/tw5-plugins/#sysinfo-Install
or install via my plugin library:
http://tobibeer.github.io/tw5-plugins/#Library
Best wishes,
Tobias.
To answer Gesundeslehre's request
<https://groups.google.com/forum/?fromgroups=#!topic/tiddlywiki/Z-ueyVCzpdI>
,
I enhanced tobibeer/sysinfo <http://tobibeer.github.io/tw5-plugins#sysinfo> with
version 0.6.0 <https://github.com/tobibeer/tw5-sysinfo/releases/tag/0.6.0>
so that you can now probe for the environment you're in.
You can now do:
<<sysinfo env>>
which will either output *browser* or *node* respectively.
This can be useful to render content conditionally
<http://tobibeer.github.io/tb5/#Conditional%20ViewTemplate%20Section> for static
sites
<http://tiddlywiki.com/#Generating%20Static%20Sites%20with%20TiddlyWiki>
only.
Get the update from here:
http://tobibeer.github.io/tw5-plugins/#sysinfo-Install
or install via my plugin library:
http://tobibeer.github.io/tw5-plugins/#Library
Best wishes,
Tobias.
--
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 tiddlywiki+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/ad4e21f4-9345-46a9-aa77-8af3deb6efbd%40googlegroups.com.
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 tiddlywiki+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/ad4e21f4-9345-46a9-aa77-8af3deb6efbd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.