aboutsummaryrefslogtreecommitdiff
path: root/doc/news
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-05-15 23:41:59 -0400
committerJoey Hess <joey@kitenet.net>2010-05-15 23:41:59 -0400
commit3d43768b52e0f435333a46fbbe948be9ef0ccd06 (patch)
tree45940ed565994d37393a57f4b4f49fa6fdce5b4a /doc/news
parent405f5f09d0caaa2208a8da311df78911e01455dc (diff)
downloadikiwiki-3d43768b52e0f435333a46fbbe948be9ef0ccd06.tar
ikiwiki-3d43768b52e0f435333a46fbbe948be9ef0ccd06.tar.gz
formatting
Diffstat (limited to 'doc/news')
-rw-r--r--doc/news/version_3.20100515.mdwn20
1 files changed, 12 insertions, 8 deletions
diff --git a/doc/news/version_3.20100515.mdwn b/doc/news/version_3.20100515.mdwn
index de7145c8d..172b45521 100644
--- a/doc/news/version_3.20100515.mdwn
+++ b/doc/news/version_3.20100515.mdwn
@@ -2,18 +2,22 @@ News for ikiwiki 3.20100515:
There are two significant changes to the page.tmpl template in this version.
If you have a locally modified version of that template, you will need to
- update it at least to contain the following in the HTML &lt;head&gt;:
- &lt;TMPL\_IF DYNAMIC&gt;
- &lt;TMPL\_IF FORCEBASEURL&gt;&lt;base href="&lt;TMPL\_VAR FORCEBASEURL&gt;" /&gt;&lt;TMPL\_ELSE&gt;
- &lt;TMPL\_IF BASEURL&gt;&lt;base href="&lt;TMPL\_VAR BASEURL&gt;" /&gt;&lt;/TMPL\_IF&gt;
- &lt;/TMPL\_IF&gt;
- &lt;/TMPL\_IF&gt;
- Also, the footer should be wrapped in &lt;TMPL\_UNLESS DYNAMIC&gt; ... &lt;/TMPL\_UNLESS&gt;
+ update it at least to contain the following in the HTML `<head>`:
+
+ <TMPL_IF DYNAMIC>
+ <TMPL_IF FORCEBASEURL><base href="<TMPL_VAR FORCEBASEURL>" /><TMPL_ELSE>
+ <TMPL_IF BASEURL><base href="<TMPL_VAR BASEURL>" /></TMPL_IF>
+ </TMPL_IF>
+ </TMPL_IF>
+
+ Also, the footer should be wrapped in `<TMPL_UNLESS DYNAMIC> ... </TMPL\_UNLESS>
+
There is a new "comment()" pagespec, that can be used to match a
comment on a page. It is recommended it be used instead of the old
method of using a pagespec such as "internal(comment\_*)" to match
things that looked like comments. The old pagespec will now also match
comments that are held for moderation; likely not what you want.
+
There have also been some changes to the style.css in this version,
particularly to support the new openid selector. If you have a modified
version, of style.css, updating it (or moving it to local.css) is
@@ -51,4 +55,4 @@ ikiwiki 3.20100515 released with [[!toggle text="these changes"]]
(And also negative years.)
* calendar: Display year in title of month calendar.
* Use xhtml friendly pubdate setting.
- * remove, rename: Add guards against XSRF attacks."""]] \ No newline at end of file
+ * remove, rename: Add guards against XSRF attacks."""]]