From a2667abc9b89b96cf1ae0e19f4fce8983a1d3e67 Mon Sep 17 00:00:00 2001 From: Helen Chong <119173961+helenclx@users.noreply.github.com> Date: Wed, 5 Jun 2024 09:44:54 +0800 Subject: [PATCH] Configure main content layout in the Pages' config file --- src/pages/about.md | 1 - src/pages/articles.md | 1 - src/pages/blog.njk | 1 - src/pages/guestbook.njk | 1 - src/pages/links.njk | 1 - src/pages/now.md | 1 - src/pages/pages.11tydata.json | 2 +- src/pages/projects.md | 1 - src/pages/shrines.md | 1 - 9 files changed, 1 insertion(+), 9 deletions(-) diff --git a/src/pages/about.md b/src/pages/about.md index 1226eea2..1017efb0 100644 --- a/src/pages/about.md +++ b/src/pages/about.md @@ -1,5 +1,4 @@ --- -layout: main/content title: About desc: About this website and its webmaster. isContentDivided: true diff --git a/src/pages/articles.md b/src/pages/articles.md index f749350d..ccc39f6d 100644 --- a/src/pages/articles.md +++ b/src/pages/articles.md @@ -1,5 +1,4 @@ --- -layout: main/content title: Articles desc: List of articles published on my website. metadata: diff --git a/src/pages/blog.njk b/src/pages/blog.njk index 20c1248b..1ff025b6 100644 --- a/src/pages/blog.njk +++ b/src/pages/blog.njk @@ -1,5 +1,4 @@ --- -layout: main/content title: Blog tags: blog pages navTitle: Blog Home diff --git a/src/pages/guestbook.njk b/src/pages/guestbook.njk index 364b0074..ca90bdf7 100644 --- a/src/pages/guestbook.njk +++ b/src/pages/guestbook.njk @@ -1,5 +1,4 @@ --- -layout: main/content title: Guestbook eleventyNavigation: key: Guestbook diff --git a/src/pages/links.njk b/src/pages/links.njk index ccb30590..78364137 100644 --- a/src/pages/links.njk +++ b/src/pages/links.njk @@ -1,5 +1,4 @@ --- -layout: main/content title: Links desc: A collection of links. isContentDivided: true diff --git a/src/pages/now.md b/src/pages/now.md index 8581e0f1..104f1461 100644 --- a/src/pages/now.md +++ b/src/pages/now.md @@ -1,5 +1,4 @@ --- -layout: main/content title: Now updated: 2024-06-03 eleventyNavigation: diff --git a/src/pages/pages.11tydata.json b/src/pages/pages.11tydata.json index 4cd69187..92d1f494 100644 --- a/src/pages/pages.11tydata.json +++ b/src/pages/pages.11tydata.json @@ -1,6 +1,6 @@ { "tags": "pages", - "layout": "main/base", + "layout": "main/content", "permalink": "/{{ page.fileSlug }}/", "eleventyComputed":{ "eleventyNavigation":{ diff --git a/src/pages/projects.md b/src/pages/projects.md index 326c1096..4183a7e2 100644 --- a/src/pages/projects.md +++ b/src/pages/projects.md @@ -1,5 +1,4 @@ --- -layout: main/content title: Projects isContentDivided: true toc: true diff --git a/src/pages/shrines.md b/src/pages/shrines.md index 33226a93..dc0e498a 100644 --- a/src/pages/shrines.md +++ b/src/pages/shrines.md @@ -1,5 +1,4 @@ --- -layout: main/content title: Shrines eleventyNavigation: order: 7