Commit Graph

19 Commits (1653a74475b9986f814e5d536cb9521de9bdd10c)

Author SHA1 Message Date
Simon McVittie f71f80bf43 Use templatebody for the templates in the basewiki and docwiki
Now that ikiwiki.info has ikiwiki (>= 3.20140916) we can do this.
2015-01-17 13:44:46 +00:00
Simon McVittie 3ed8340154 Revert "Use templatebody for the templates in the basewiki and docwiki"
This reverts commit 236c46a3f7.
We can't apply this bit until the ikiwiki on ikiwiki.info
(i.e. Branchable) supports [[!templatebody]].
2014-09-15 23:12:53 +01:00
Simon McVittie 236c46a3f7 Use templatebody for the templates in the basewiki and docwiki 2014-03-05 10:42:19 +00:00
Joey Hess f52f395437 consistently drop NAME= in templates
also add template syntax smoke test
2010-05-05 21:10:40 -04:00
Joey Hess 8f13e52a0d Revert "Added use of tag directive so I can play with tags in the sandbox."
This reverts commit b9e7064f70.

Er, no, I don't want a broken tag link on every plugin page, really.
2010-03-08 20:24:43 -05:00
Thiana b9e7064f70 Added use of tag directive so I can play with tags in the sandbox. 2010-03-09 00:42:38 +00:00
Simon McVittie 47d179802d Migrate everything else via prefix_directives
This is a partial commit of:
egrep -rl '\[\[[a-z]+ ' doc | xargs --max-args 1 ./ikiwiki-transition
prefix_directives
2008-07-21 12:32:31 +01:00
joey d86cd24a31 minor fix 2007-08-21 04:37:48 +00:00
joey 127bceef5b * Add all=no option to conditional, can be used to form conditionals that do
not need to examine every page in the wiki.
* Use this to simplify the goodstuff detection in the plugin template.
2007-05-09 00:31:49 +00:00
joey 85d0f445d9 Use an explicit glob(plugins/<TMPL_VAR name>) rather than relying on
implicit glob detection. This is necessary because when this page is being
built standalone, the TMPL_VAR will not be expanded, and is instead treated
as two globs, and the globlist is then invalid and produces build errors.
Using glob() causes it to treated as a single glob, avoiding this problem.
2007-05-08 21:46:00 +00:00
joey 03f26b6f09 web commit by JoshTriplett: Remove leading slash from the plugin pagespec itself... 2007-05-08 20:11:51 +00:00
joey 45e1a60f52 web commit by JoshTriplett: Remove leading slash from sourcepage. 2007-05-08 20:05:42 +00:00
joey f8fe627315 web commit by JoshTriplett: Fix page reference in backlink to avoid leading slash. 2007-05-08 20:01:46 +00:00
joey 006267f00a web commit by JoshTriplett: Add line for "included in goodstuff", using backlink(/plugins/goodstuff). 2007-05-08 19:26:45 +00:00
joey d73eb7d9b2 * Add a templates page to the basewiki. It will automatically list all
available templates. Rename the old templates page to wikitemplates.
* Include the note template in the basewiki.
* Add a popup template in the basewiki. CSS based on some by Martin Krafft.
* Make the note, popup, and plugin templates detect missing variables and be
  self-documenting, listing the available variables.
2007-03-31 06:55:12 +00:00
joey 139a8b09f5 web commit by JoshTriplett: Automatically add the tag `type/core` if passed the `core` parameter. 2007-02-14 01:59:20 +00:00
joey 19c58ac7c1 simplified plugin definitions 2007-02-13 18:51:21 +00:00
joey 479c7a1ea6 * Allow plugins to add new types of tests that can be used in PageSpecs.
* Add a "conditional" plugin, which allows displaying text if a condition
  is true. It is enabled by default so conditional can be used in the
  basewiki.
* Use conditionals in the template for plugins, so that plugin pages
  say if they're currently enabled or not, and in various other places
  in the wiki.
2007-02-12 02:44:47 +00:00
joey 9d7375c3b2 * Allow preprocessor directives to contain python-like triple-quoted
text blocks, for easy nesting of quotes inside.
* Add a template plugin.
* Use the template plugin to add infoboxes to each plugin page listing basic
  info about the plugin.
2006-08-23 05:41:07 +00:00