Commit Graph

67 Commits (4ce18a7f4a85c5ba2cea73dc2dab093bc44ea934)

Author SHA1 Message Date
Simon McVittie 7672014582 Add templatebody plugin and directive, and enable it by default
Also add a regression test for templatebody.
2014-03-05 10:42:19 +00:00
Joey Hess accf79f94a polishing notifyemail 2012-03-28 19:39:08 -04:00
Joey Hess 723c5b97d3 changemail: New plugin, sends emails about changed pages. 2012-03-28 16:40:10 -04:00
Simon McVittie 156f709122 trail: new plugin (3rd attempt) 2011-11-09 22:49:37 +00:00
Joey Hess 5d6a455367 Revert change adding a huge, unformatted, unmaintainable, and basically
useless set of every variable in every template file.

This reverts commit 39d37c7c1b.
2011-02-25 14:55:06 -04:00
justint 39d37c7c1b 2011-02-23 04:43:00 +00:00
Joey Hess f5e806ecbc typo 2011-01-14 13:24:55 -04:00
Joey Hess e45671decb more reorg 2011-01-14 13:23:47 -04:00
Joey Hess 4f1866853b wording 2011-01-14 13:21:29 -04:00
Joey Hess e998ab4cf5 further improvement 2011-01-14 13:17:59 -04:00
Joey Hess c2fe8b9c89 slight reorg 2011-01-14 13:07:05 -04:00
Joey Hess 0e781b60b8 add section heading for clarity 2011-01-14 13:04:36 -04:00
Peter Gammie acecbad0ff First cut at the revert plugin. 2010-09-29 15:14:19 +10:00
Jonas Smedegaard 296955ea37 Fix a couple of grammar errors. 2010-07-16 19:52:06 +02:00
Joey Hess 4e18d4415b fix links 2010-06-14 16:36:54 -04:00
Joey Hess ba00ff81c0 add links to mentioned directives
Using the !iki shortcut, since the directive pages may not be included in
the basewiki.
2010-06-14 16:35:12 -04:00
Joey Hess bbdc69b699 speling 2010-06-13 01:14:24 -04:00
Joey Hess ec06929316 typo 2010-06-13 01:12:04 -04:00
Joey Hess dccd764871 edittemplate: Look for template pages under templates/ like everything else (still looks in old location for backwards compatability). 2010-06-12 22:43:34 -04:00
Joey Hess 378c647768 patch hidden field setting code
Fixes http://code.google.com/p/openid-selector/issues/detail?id=11#c3
2010-05-07 19:10:50 -04: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 66cc23a591 no more misc.tmpl
* Removed misc.tmpl. Now to theme ikiwiki, you only need to customise
  a single template, page.tmpl.
* misc.tmpl will, however, still be read if a locally modified version
  exists. This is to avoid forcing users to update page.tmpl right now.
2010-05-05 18:22:47 -04:00
Joey Hess 5afda33672 wording 2010-04-24 21:39:03 -04:00
Joey Hess c6a473b8ee update 2010-04-24 20:30:05 -04:00
Joey Hess a95d824cb4 update 2010-04-24 01:39:39 -04:00
Joey Hess c0b2334815 reword, reorg, add example 2010-04-24 01:13:37 -04:00
Joey Hess 05517a5426 wording 2010-04-24 00:41:52 -04:00
Joey Hess 9b112cc986 add test case to ensure all templates are documented 2010-04-23 17:23:31 -04:00
Joey Hess 7e79da7633 template docu reorg
Remove wikitemplates page; fold its contents into templates page.
Update all backlinks. Document new ability to put templates inside srcdir.
2010-04-23 16:14:33 -04:00
Joey Hess 83703d2f4a move template documentation to the template directive
allow new templates to be created via the inline that lists them
2010-04-23 15:32:39 -04:00
Joey Hess 59ba938822 template: Search for templates in the templatedir, if they are not found as pages in the wiki. 2010-04-02 16:54:06 -04:00
Joey Hess f555778069 fix links 2008-09-14 17:01:05 -04:00
Joey Hess 96acc32173 fix broken link in basewiki 2008-09-11 18:56:11 -04:00
Joey Hess eb92d09360 squash redundant text
A lot of text was copies from templates to directive/template.
Remove most of it and have each page link to the other.
2008-09-11 18:23:32 -04:00
Joey Hess 03765e037d fix example 2008-08-25 15:11:35 -04:00
Joey Hess dcab5e2e48 template: Add support for a BASENAME variable. 2008-07-10 15:25:42 -04:00
martin f. krafft a64d31d293 Tell robots to noindex,follow basewiki pages
Those pages show up in the basewiki on most ikiwiki sites and thus
really ought not to be indexed. We can let robots follow them though.

Signed-off-by: martin f. krafft <madduck@madduck.net>
2008-03-11 15:44:18 -04:00
Joey Hess 909a901424 remove link to wikitemplates
this page is in the basewiki, and so it should not link to pages that are not
2008-02-29 23:11:51 -05:00
Joey Hess badd3bc00c improve wording 2008-02-24 17:46:54 -05:00
Joey Hess 6ed7ea211b web commit by http://hendry.iki.fi/: clearer to avoid the mistake i did 2008-02-19 04:48:32 -05:00
Josh Triplett 1b03a06c8c Add new preprocessor directive syntax¸ using a '!' prefix.
Add a prefix_directives option to the setup file to turn this syntax
on; currently defaults to false, for backward compatibility.  Support
optional '!' prefix even with prefix_directives off, and use that in
the underlay to support either setting of prefix_directives.  Add NEWS
entry with migration information.
2008-01-27 16:14:38 -08:00
Joey Hess 57ff2ecaed * template: Remove bogus htmlize pass added in 2.16.
* template: Htmlize template variables, but also provide a raw version
  via `<TMPL_VAR raw_variable>`.
2008-01-09 14:17:25 -05:00
Joey Hess 8576fe4c49 incomplate edittemplate plugin 2007-12-12 01:52:26 -05:00
joey 4f0faa31d2 formatting 2007-05-19 23:35:21 +00:00
joey 11334173be move template documentation into the basewiki, in the templates page 2007-05-19 23:29:13 +00:00
joey aa8e723226 web commit by JoshTriplett: Fix bad if nesting. 2007-05-02 07:52:19 +00:00
joshtriplett 6d63b9665c Check for enabled(inline) before using inline. 2007-04-09 21:11:36 +00:00
joey 056cb71ffb improve 2007-03-31 06:58:11 +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 10b8557946 * Add "template" option to inline plugin to allow for use of customised
templates.
2007-03-02 04:00:42 +00:00