diff options
author | Josh Triplett <josh@freedesktop.org> | 2008-01-27 16:13:54 -0800 |
---|---|---|
committer | Josh Triplett <josh@freedesktop.org> | 2008-01-27 16:14:38 -0800 |
commit | 1b03a06c8c0dbf59469ff30d09a0c9c3051e0b00 (patch) | |
tree | 06f20b766475a98f7881aa962f0c8a494c87908b /doc/ikiwiki/openid.mdwn | |
parent | fafb2edaa7aeb1293e716fa96f087cb713f4a70a (diff) |
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.
Diffstat (limited to 'doc/ikiwiki/openid.mdwn')
-rw-r--r-- | doc/ikiwiki/openid.mdwn | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/ikiwiki/openid.mdwn b/doc/ikiwiki/openid.mdwn index f02a0a62c..d0f93a8a9 100644 --- a/doc/ikiwiki/openid.mdwn +++ b/doc/ikiwiki/openid.mdwn @@ -1,6 +1,6 @@ -[[meta title="OpenID"]] +[[!meta title="OpenID"]] -[[if test="enabled(openid)" +[[!if test="enabled(openid)" then="This wiki has OpenID **enabled**." else="This wiki has OpenID **disabled**."]] @@ -17,7 +17,7 @@ To sign up for an OpenID, visit one of the following identity providers: * or any of the [many others out there](http://openiddirectory.com/index.php?dir=1).. Your OpenID is the URL that you are given when you sign up. -[[if test="enabled(openid)" then=""" +[[!if test="enabled(openid)" then=""" To sign in to this wiki using OpenID, just enter it in the OpenID field in the signin form. You do not need to give this wiki a password or go through any registration process when using OpenID. @@ -28,5 +28,5 @@ registration process when using OpenID. It's also possible to make a page in the wiki usable as an OpenID url, by delegating it to an openid server. Here's an example of how to do that: - \[[meta openid="http://yourid.myopenid.com/" + \[[!meta openid="http://yourid.myopenid.com/" server="http://www.myopenid.com/server"]] |