summaryrefslogtreecommitdiffstats
path: root/_scripts/generate_atom.lua
diff options
context:
space:
mode:
Diffstat (limited to '_scripts/generate_atom.lua')
-rw-r--r--_scripts/generate_atom.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/_scripts/generate_atom.lua b/_scripts/generate_atom.lua
index d434772..7eed0e5 100644
--- a/_scripts/generate_atom.lua
+++ b/_scripts/generate_atom.lua
@@ -1,6 +1,6 @@
#!/usr/bin/lua
-local yaml = require('yaml')
+local lyaml = require('lyaml')
local lustache = require('lustache')
local function filecontent(filename)
@@ -11,7 +11,7 @@ local function filecontent(filename)
end
template = filecontent(arg[1])
-entries = yaml.load(filecontent(arg[2]))
+entries = lyaml.load(filecontent(arg[2]))
for k,v in ipairs(entries) do
-- timestamps in Atom must conform to RFC 3339