Enh(headers): fix template to only render visible sections
add dist directory