Differences From Artifact [f2a65d7b61]:
- File view/load.lua — part of check-in [6f17de4767] at 2020-12-14 14:40:34 on branch trunk — more boilerplate, add template framework (user: lexi, size: 631) [annotate] [blame] [check-ins using]
To Artifact [53cfafaa7c]:
- File view/load.lua — part of check-in [419d1a1ebe] at 2020-12-22 23:01:30 on branch trunk — milestone (user: lexi, size: 643) [annotate] [blame] [check-ins using]
2 2 -- file that indexes the templates manually, and 3 3 -- copies them into a data structure we can then 4 4 -- create templates from when we return to terra 5 5 local path = ... 6 6 local sources = { 7 7 'docskel'; 8 8 'tweet'; 9 + 'profile'; 9 10 } 10 11 11 12 local ingest = function(filename) 12 13 local hnd = io.open(path..'/'..filename) 13 14 local txt = hnd:read('*a') 14 15 io.close(hnd) 15 16 txt = txt:gsub('([^\\])!%b[]', '%1')