blob: 0e0f0c2984b1e246350bbc9b5d3839fb05bbe3b8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
summary
=======
Extend inlining to handle raw files (files with unrecognized extensions).
Also raise an error in IkiWiki::pagetype($file) if $file is blank, which avoids trying to do much with missing files, etc.
I've included this patch (and some other adjustments) in my [branch] of the IkiWiki Git repository. I'm using the new code in my [blog][].
[branch]: http://www.physics.drexel.edu./~wking/code/git/git.php?p=ikiwiki.git
[blog]: http://www.physics.drexel.edu/~wking/unfolding-disasters/posts/yacc2dot/
usage
=====
\[[!inline pagenames="somefile.txt" template="raw" feeds="no"]]
|