]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/plugins/write.mdwn
response
[ikiwiki.git] / doc / plugins / write.mdwn
index 4ec9e8c7bf7cc313d2d83a4384354c54c5708c5a..0e1839c6ca31157ddf0b5edcfd4d78529fbb2327 100644 (file)
@@ -412,7 +412,8 @@ control some options. These are:
 * forcesubpage  - set to force a link to a subpage
 * linktext - set to force the link text to something
 * anchor - set to make the link include an anchor
-* rel - set to add a rel attribute to the link.
+* rel - set to add a rel attribute to the link
+* class - set to add a css class to the link
 
 #### `readfile($;$)`
 
@@ -448,6 +449,10 @@ destination directory), register that the page will result in that file
 being rendered. It's important to call this before writing to any file in
 the destination directory.
 
+Ikiwiki uses this information to automatically clean up rendered files when
+the page that rendered them goes away or is changes to no longer render
+them. will_render also does a few important security checks.
+
 #### `pagetype($)`
 
 Given the name of a source file, returns the type of page it is, if it's