Closed joemarct closed 8 years ago
I think that single quote vs. triple quote to differentiate is a bit too arbitrary... what if you used a separate macro (tmplf) instead?
Or, ideally, you figured out how to use a non-literal string.. i.e. tmpli (staticRead "myfile.html")
I think having a separate macro (tmplf) is more intuitive. I'll revise the code accordingly.
Great! I will test this today and plan to have it merged in.
So HTML code can be written to separate files and can be organized in a templates folder.