diff --git a/src/Page.js b/src/Page.js
index c1713c3e21..c3cc4705d7 100644
--- a/src/Page.js
+++ b/src/Page.js
@@ -763,6 +763,7 @@ class Page {
}
collectAllPageSections() {
+ this.pageSectionsHtml = {}; // This resets the pageSectionsHTML whenever we collect.
this.collectPageSection('header');
this.collectPageSection(`#${SITE_NAV_ID}`);
this.collectPageSection('footer');
diff --git a/src/template/default/_markbind/footers/footer.md b/src/template/default/_markbind/footers/footer.md
index e5f2864c41..189ca1c0b5 100644
--- a/src/template/default/_markbind/footers/footer.md
+++ b/src/template/default/_markbind/footers/footer.md
@@ -1,6 +1,6 @@
diff --git a/src/template/default/_markbind/layouts/default/footer.md b/src/template/default/_markbind/layouts/default/footer.md
index e69de29bb2..189ca1c0b5 100644
--- a/src/template/default/_markbind/layouts/default/footer.md
+++ b/src/template/default/_markbind/layouts/default/footer.md
@@ -0,0 +1,6 @@
+
diff --git a/src/template/default/_markbind/layouts/default/header.md b/src/template/default/_markbind/layouts/default/header.md
index e69de29bb2..cadbbb5a5c 100644
--- a/src/template/default/_markbind/layouts/default/header.md
+++ b/src/template/default/_markbind/layouts/default/header.md
@@ -0,0 +1,16 @@
+
This is a minimalistic template. To learn more about authoring contents in Markbind, visit the User Guide.