rstacruz / flatdoc

Build sites fast from Markdown
http://ricostacruz.com/flatdoc
2.68k stars 262 forks source link

#15 add multi file loading support #45

Closed gjong closed 9 years ago

amcgee commented 10 years ago

+1

Note: the concatenation should probably inject a \r\n between markdown files, otherwise files without a trailing newline will cause things to render strangely. Extra newlines between files doesn't do any harm unless the files are intended to continue on the same line (which would be a very strange use case).

rstacruz commented 9 years ago

hold on, i just realized that this actually doesn't work. locations isn't defined anywhere, meaning .file(...) will always try to fetch nothing.