From 632ffe5377f2924b6450563f4d3c74191eb89e8e Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Mon, 1 Feb 2021 11:25:53 +0530 Subject: [PATCH] add global toc param and hide breadcrumbs on some pages --- config.yml | 1 + content/posts/emoji-support.md | 2 ++ content/posts/math-typesetting.md | 1 + content/posts/papermod/papermod-faq.md | 2 -- content/posts/papermod/papermod-features/index.md | 2 -- content/posts/papermod/papermod-icons.md | 2 -- content/posts/papermod/papermod-installation.md | 2 -- content/posts/papermod/papermod-variables.md | 2 -- content/posts/placeholder-text.md | 1 + 9 files changed, 5 insertions(+), 10 deletions(-) diff --git a/config.yml b/config.yml index 99b74590..d0eaed0d 100644 --- a/config.yml +++ b/config.yml @@ -105,6 +105,7 @@ params: displayFullLangName: true ShowPostNavLinks: true ShowBreadCrumbs: true + ShowToc: true # comments: false images: ["papermod-cover.png"] diff --git a/content/posts/emoji-support.md b/content/posts/emoji-support.md index 23348bd1..7e61b5ed 100644 --- a/content/posts/emoji-support.md +++ b/content/posts/emoji-support.md @@ -4,6 +4,8 @@ title: "Emoji Support" date: "2019-03-05" description: "Guide to emoji usage in Hugo" tags: ["emoji"] +ShowToc: false +ShowBreadCrumbs: false --- Emoji can be enabled in a Hugo project in a number of ways. diff --git a/content/posts/math-typesetting.md b/content/posts/math-typesetting.md index bdb49299..505fa429 100644 --- a/content/posts/math-typesetting.md +++ b/content/posts/math-typesetting.md @@ -4,6 +4,7 @@ title: Math Typesetting date: 2019-03-08 description: A brief guide to setup KaTeX math: true +ShowBreadCrumbs: false --- Mathematical notation in a Hugo project can be enabled by using third party JavaScript libraries. diff --git a/content/posts/papermod/papermod-faq.md b/content/posts/papermod/papermod-faq.md index 42163167..4dcdfb2d 100644 --- a/content/posts/papermod/papermod-faq.md +++ b/content/posts/papermod/papermod-faq.md @@ -2,8 +2,6 @@ title: "FAQs" summary: Frequently Asked Questions date: 2021-01-20 -showtoc: true -tocOpen: true aliases: ["/papermod-how-to-guide"] tags: ["PaperMod"] author: "Aditya Telange" diff --git a/content/posts/papermod/papermod-features/index.md b/content/posts/papermod/papermod-features/index.md index a29e9e35..1f496fab 100644 --- a/content/posts/papermod/papermod-features/index.md +++ b/content/posts/papermod/papermod-features/index.md @@ -2,12 +2,10 @@ title: "Features" summary: Get known about All Features in PaperMod date: 2021-01-20 -showToc: true weight: 2 aliases: ["/papermod-features"] tags: ["PaperMod"] author: "Aditya Telange" -tocopen: true --- ## Intro diff --git a/content/posts/papermod/papermod-icons.md b/content/posts/papermod/papermod-icons.md index e7788b28..3088e322 100644 --- a/content/posts/papermod/papermod-icons.md +++ b/content/posts/papermod/papermod-icons.md @@ -2,8 +2,6 @@ title: "Icons" summary: List of all Icons supported by PaperMod date: 2021-01-20 -showtoc: true -tocopen: true weight: 4 aliases: ["/papermod-icons"] tags: ["PaperMod"] diff --git a/content/posts/papermod/papermod-installation.md b/content/posts/papermod/papermod-installation.md index 9bbae1d4..c8a710b8 100644 --- a/content/posts/papermod/papermod-installation.md +++ b/content/posts/papermod/papermod-installation.md @@ -7,8 +7,6 @@ weight: 1 aliases: ["/papermod-installation"] tags: ["PaperMod"] author: "Aditya Telange" -showToc: true -TocOpen: true --- ## Guide diff --git a/content/posts/papermod/papermod-variables.md b/content/posts/papermod/papermod-variables.md index 67f4f36d..36c959eb 100644 --- a/content/posts/papermod/papermod-variables.md +++ b/content/posts/papermod/papermod-variables.md @@ -2,8 +2,6 @@ title: "Variables | Front Matter" summary: List of Front Matter variables used by PaperMod date: 2021-01-20 -showToc: true -TocOpen: true tags: ["PaperMod"] author: "Aditya Telange" draft: true diff --git a/content/posts/placeholder-text.md b/content/posts/placeholder-text.md index 78305e7e..ed2c4883 100644 --- a/content/posts/placeholder-text.md +++ b/content/posts/placeholder-text.md @@ -6,6 +6,7 @@ description: "Lorem Ipsum Dolor Si Amet" tags: ["markdown", "text"] hideMeta: true searchHidden: true +ShowBreadCrumbs: false --- Lorem est tota propiore conpellat pectoribus de pectora summo. Redit teque digerit hominumque toris verebor lumina non cervice subde tollit usus habet Arctonque, furores quas nec ferunt. Quoque montibus nunc caluere tempus inhospita parcite confusaque translucet patri vestro qui optatis lumine cognoscere flos nubis! Fronde ipsamque patulos Dryopen deorum.