question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

aside frontmatter config not doing as the docs suggest

See original GitHub issue

Describe the bug

Adding the following frontmatter, as suggested in the docs is not hiding the aside content.

---
aside: false
---

Reproduction

  1. Place aside: false within the file’s frontmatter.
  2. View aside HTML and CSS still loading into the webpage.

Expected behavior

I expect that the website will no longer render any aside related HTML or CSS after adding the aside: false frontmatter.

System Info

System:
    OS: macOS 12.5
    CPU: (10) arm64 Apple M1 Max
    Memory: 807.22 MB / 32.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 16.14.2 - ~/.nvm/versions/node/v16.14.2/bin/node
    Yarn: 1.22.15 - ~/.nvm/versions/node/v16.14.2/bin/yarn
    npm: 8.7.0 - ~/.nvm/versions/node/v16.14.2/bin/npm
    Watchman: 2022.03.21.00 - /opt/homebrew/bin/watchman
  Browsers:
    Chrome: 103.0.5060.134
    Safari: 15.6


### Additional context

_No response_

### Validations

- [X] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)
- [X] Read the [docs](https://vitepress.vuejs.org).
- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
CodyBontecoucommented, Nov 2, 2022

I added that style tag to the specific markdown file that I didn’t want the aside bar to show in and it hid it on only that page.

I have the same issue.

Try the aside frontmatter. Looks to be working now.

1reaction
brc-ddcommented, Aug 2, 2022

It’ll be there in the next release.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Proposal: enable option to propagate arbitrary frontmatter data ...
I'd like to programmatically generate docs/pages based on custom metadata stored in the frontmatter of my docs. In my use case, I'm building...
Read more >
Settings - Front Matter CMS
The purpose of team settings is to share the global configuration of your CMS configuration. This way, your whole team can use the...
Read more >
Adding front matter to tags/category rollup pages - #5 by ju52 ...
I read the docs :slight_smile: & I've done what it shows, by adding frontmatter to an index page, but when I do that,...
Read more >
Minimal Mistake - Sidebar does not show up - Help - Jekyll Talk
Hi, I am new to jekyll and having trouble to add a side bar on my blog. ... Using front matter is one...
Read more >
Frontmatter Configs - VitePress
Frontmatter enables page based configuration. On every markdown, you're free to add Any settings to override any global app or theme configs.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found