Skip to content
Snippets Groups Projects
Verified Commit 5ce40d71 authored by Volker Schukai's avatar Volker Schukai :alien:
Browse files

fix: parse only html pages

parent 53ec05cd
No related branches found
No related tags found
No related merge requests found
......@@ -90,6 +90,12 @@ func (d *Definition) PrepareTemplate(s *xflags.Settings[Definition]) {
if info.IsDir() {
return nil
}
ext := filepath.Ext(path)
if ext != ".html" && ext != ".htm" {
return nil
}
return template2.PrepareHtmlFile(path, d.Template.Prepare.Output, storage)
})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment