1 [[!template id=gitbranch branch=wtk/master author="[[wtk]]"]]
6 Extend inlining to handle raw files (files with unrecognized extensions).
8 Also raise an error in `IkiWiki::pagetype($file)` if `$file` is blank, which avoids trying to do much with missing files, etc.
10 I'm using the new code in my [blog][].
12 [blog]: http://www.physics.drexel.edu/~wking/unfolding-disasters/posts/yacc2dot/
17 \[[!inline pagenames="somefile.txt" template="raw" feeds="no"]]
20 > But inline already supports raw files in two ways:
22 > * setting raw=yes will cause a page to be inlined raw without
23 > using any template, as if it were part of the page at the location
25 > * otherwise, the file becomes an enclosure in the rss feed, for use with
28 > So I don't see the point of your patch. Although since your text
29 > editor seems to like to make lots of whitespace changes, it's possible
30 > I missed something in the large quantity of noise introduced by it.