summaryrefslogtreecommitdiff
path: root/src/collect_files.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/collect_files.rs')
-rw-r--r--src/collect_files.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/collect_files.rs b/src/collect_files.rs
index d6d7cc2..cf2f307 100644
--- a/src/collect_files.rs
+++ b/src/collect_files.rs
@@ -344,7 +344,7 @@ impl Website {
if parents.is_empty() {
// This is the index file for the whole site.
self.pages.push(Page {
- name: "Home".into(),
+ name: self.name.clone(),
url: String::from("index"),
parents,
parent_url: String::from(""),