diff options
Diffstat (limited to 'generate.lua')
-rw-r--r-- | generate.lua | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/generate.lua b/generate.lua index 0486f7e..c9a21bf 100644 --- a/generate.lua +++ b/generate.lua @@ -1,9 +1,5 @@ local activity = require "activity" +local format = require "activity.formats.html5" local args = {...} local year = tonumber(table.remove(args, 1)) -print([[<!doctype html>]]) -print([[<html lang="en">]]) -print([[<meta charset="utf-8">]]) -print([[<link rel="stylesheet" type="text/css" href="style.css">]]) -print([[<title>Activity</title>]]) -print(activity.generate_table(year, args)) +print(activity.generate_table(year, args, format)) |