~swisschili/blackjack

524a6f28d38caf529a4085cf50f1815b70b69b4c — swissChili 7 months ago 5044e5c
Returned files verbatim if processor not found
1 files changed, 3 insertions(+), 2 deletions(-)

M blackjack.lua
M blackjack.lua => blackjack.lua +3 -2
@@ 157,8 157,9 @@ function Site:render(fp, body)
    if self.processors[extension] ~= nil then
      return self.processors[extension].process(self, text, body)
    else
      print("    Error: There is no processor for ." .. extension .. " files")
      os.exit(1)
      -- print("    Error: There is no processor for ." .. extension .. " files")
      -- os.exit(1)
      return text
    end
  else
    print("    Error: Tried to open template that does not exist")