aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorhttp://jmtd.net/ <Jon_Dowland@web>2012-08-30 13:48:37 -0400
committeradmin <admin@branchable.com>2012-08-30 13:48:37 -0400
commit982949305c42e81e32dd278034f760dd44712d1f (patch)
tree860de951b8794a6241243534791a20e5c8218d69 /doc
parent13d855f5b8c0988da3c640f928042946ddb15204 (diff)
downloadikiwiki-982949305c42e81e32dd278034f760dd44712d1f.tar
ikiwiki-982949305c42e81e32dd278034f760dd44712d1f.tar.gz
some escapes
Diffstat (limited to 'doc')
-rw-r--r--doc/todo/publishing_in_the_future.mdwn6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/todo/publishing_in_the_future.mdwn b/doc/todo/publishing_in_the_future.mdwn
index a3cdacedb..8d94f1f00 100644
--- a/doc/todo/publishing_in_the_future.mdwn
+++ b/doc/todo/publishing_in_the_future.mdwn
@@ -7,7 +7,7 @@ useful?
Thinking about how to implement this in ikiwiki, perhaps a conditional
pagespec would be best (which could be tidied up into a template)
- [[!if test="current_date_before(<TMPL_VAR date>)"
+ \[[!if test="current_date_before(<TMPL_VAR date>)"
then="""[[!tag draft]]"""
else="""[[!meta date="<TMPL_VAR date>"]]"""
]]
@@ -15,7 +15,7 @@ pagespec would be best (which could be tidied up into a template)
…pre-supposing a scheme whereby tagging 'draft' hides the page from an
aggregation somewhere. With a template, this could collapse to
- [[!template id=publishafter date="Thu Aug 30 14:13:06 BST 2012"]]
+ \[[!template id=publishafter date="Thu Aug 30 14:13:06 BST 2012"]]
This would require implementing the `current_date_before` pagespec.
@@ -24,7 +24,7 @@ unpublished pages as 'dirty' so they were always scanned on refresh until their
publish date has occurred. That could perhaps be implemented via a small plugin
which defined a pagespec which ensured the page was 'dirty':
- [[!if test="current_date_before(<TMPL_VAR date>)"
+ \[[!if test="current_date_before(<TMPL_VAR date>)"
then="""[[!tag draft]][[!dirty]]"""
else="""[[!meta date="<TMPL_VAR date>"]]"""
]]