#!/usr/bin/env lua local datetime = require"huh.datetime" local config = require"huh.config".load(arg[1]) local posts = require"huh.blog".posts(config) print[[
%d | ", year)) end date = datetime.describe(date) if date == previous then date = "" else previous = date end print(string.format([[ | |
%s | • | %s]], date, page.filename, page.title)) end print" |