{ pkgs, ... } @ entryArgs: let inherit (pkgs) lib; inherit (lib.lists) map; inherit (lib.strings) concatStrings; in { template = "base"; file = "posts/index.html"; head = /*html*/'' nte posts ''; body = let postItem = post: /*html*/''

${post.title}

${post.created}

''; in /*html*/''
${concatStrings (map (postFile: postItem ((import postFile) entryArgs)) [ ./test.nix ] )}
''; }