parsav  Diff

Differences From Artifact [f63ef60595]:

To Artifact [212041720e]:


     1      1   -- because lua can't scan directories, we need a
     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  +	'confirm';
     8      9   	'tweet';
     9     10   	'profile';
    10     11   	'compose';
    11     12   
    12     13   	'login-username';
    13     14   	'login-challenge';
    14     15   
    15     16   	'conf';
    16     17   	'conf-profile';
           18  +	'conf-sec';
           19  +	'conf-sec-credmg';
    17     20   }
    18     21   
    19     22   local ingest = function(filename)
    20     23   	local hnd = io.open(path..'/'..filename)
    21     24   	local txt = hnd:read('*a')
    22     25   	io.close(hnd)
    23     26   	txt = txt:gsub('([^\\])!%b[]', '%1')