Browse Source

add rendering for 404.html when running zola serve

index-subcmd
Anton Lazarev 5 years ago
parent
commit
7cff1d335c
No known key found for this signature in database GPG Key ID: FBD20243E0CD9104
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      components/rebuild/src/lib.rs

+ 1
- 0
components/rebuild/src/lib.rs View File

@@ -352,6 +352,7 @@ pub fn after_template_change(site: &mut Site, path: &Path) -> Result<()> {
site.render_orphan_pages()
}
"section.html" => site.render_sections(),
"404.html" => site.render_404(),
// Either the index or some unknown template changed
// We can't really know what this change affects so rebuild all
// the things


Loading…
Cancel
Save