formatting
[ikiwiki.git] / doc / news / version_3.20100515.mdwn
index de7145c8d7888345cd25cfb933bc516f2e20345f..7eafa0be07319cccdbc5af2d48fed9ffd19fcc50 100644 (file)
@@ -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 <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>
+   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
@@ -26,10 +30,10 @@ ikiwiki 3.20100515 released with [[!toggle text="these changes"]]
    * If you have a locally customised page.tmpl, it needs to be updated
      to set &lt;base&gt; when BASEURL or FORCEBAREURL is set.
    * comments: Comments pending moderation are now stored in the srcdir
-     alongside accepted comments, but with a `.\_comment\_pending` extension.
+     alongside accepted comments, but with a `._comment_pending` extension.
      This allows easier byhand moderation, as the "\_pending" need
      only be stripped off and the comment be committed to version control.
-   * The `comment\_pending()` pagespec can be used to match such unmoderated
+   * The `comment_pending()` pagespec can be used to match such unmoderated
      comments, which makes it easy to add a feed of them, or a counter
      indicating how many there are.
    * Belatedly added a `comment()` pagespec.
@@ -40,7 +44,7 @@ ikiwiki 3.20100515 released with [[!toggle text="these changes"]]
      text can be indexed for searching.
    * Delete hooks are passed deleted internal pages.
    * openid: Incorporated a fancy openid-selector signin form.
-     (Based on http://code.google.com/p/openid-selector/)
+     (Based on <http://code.google.com/p/openid-selector/>)
    * openid: Use "openid\_identifier" as the form field, as required
      by OpenID Authentication v2.0 spec.
    * Removed the openidsignup option. Instead, my recommendation is to
@@ -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."""]]