${args.thread.title} ${if args.thread.url != null then '' (${args.thread.url}) '' else ""}
${builtins.toString args.thread.score}
${if builtins.stringLength args.thread.selftext > 0 then ''
${args.thread.selftext}
'' else ""}
${lib.map (comment: (args.commentTpl { inherit comment; self = args.commentTpl; })) args.thread.comments}