-
-
Notifications
You must be signed in to change notification settings - Fork 364
Open
Labels
bugSomething isn't workingSomething isn't working
Milestone
Description
The generated HTML for blog posts contains a hidden sidebar that lists every post. This takes up a considerable amount of unnecessary space, reducing load time for blog posts. This is a problem for my blog, which has 283 posts.
As an example, here is the frontmatter for my original content/posts/_index.md:
title: "Posts"
cascade:
type: blogThis caused one of my typical blog posts to generate an HTML file that contained
262713 bytes, with a hidden sidebar containing links to all 283 blog posts.
I added the following lines to the frontmatter for _index.md:
sidebar:
exclude: trueThat eliminated the sidebar from the generated HTML for the aforementioned post, and reduced its size to 43690 bytes.
I'm not sure if this a bug or a documentation issue.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working