Extend inlining to handle raw files (files with unrecognized extensions).
authorW. Trevor King <wking@drexel.edu>
Tue, 5 Oct 2010 12:34:16 +0000 (08:34 -0400)
committerW. Trevor King <wking@tremily.us>
Sun, 13 Jan 2013 12:12:02 +0000 (07:12 -0500)
commit2b3b705d069f30858d781ecf8b43f29e24203cec
treedd2be604070c3a129f12ccbf6a775a549399aeed
parent066cabd5a6ec6d1411fb61494659854c2f864a0f
Extend inlining to handle raw files (files with unrecognized extensions).

Example usage:
  [[!inline pagenames="somefile.txt" template="raw" feeds="no"]]

Also raise an error in IkiWiki::pagetype($file) if $file is blank,
which avoids trying to do much with missing files, etc.
IkiWiki.pm
IkiWiki/Plugin/inline.pm [changed mode: 0644->0755]
t/pagetype.t [new file with mode: 0755]
templates/raw.tmpl [new file with mode: 0644]