jekyll-theme-chirpy icon indicating copy to clipboard operation
jekyll-theme-chirpy copied to clipboard

Hide pages from tabs

Open epklein opened this issue 3 years ago • 2 comments

Checklist

  • [x] I have read the newlest tutorials and know the correct effect of the functional design.
  • [x] There is no similar question on existing issues (including closed ones).
  • [x] I have tried to find the answer on Jekyll Forum and StackOverflow.
  • [x] My question is based on the latest code of the master branch.

Description

I'm wishing to migrate my blog to chirpy theme.

I have many pages that are not posts and I want to keep. But I don't want it to be listed as a tab. Is there a way to hide it from tabs, but still keeping it so that it can be accessed through links?

My idea is to have my website main pages as tabs, but other pages accessible through navigation links inside main pages.

epklein avatar Jul 29 '22 16:07 epklein

Jekyll already have a guide on this. Please check the complete guide on the documentation.

Recommendations:

  1. Read how Pages in Jekyll works.
  2. Once you understand it, go and follow instructions in the documentation

lnfel avatar Jul 29 '22 17:07 lnfel

HI @epklein I did a workaround for this by modifying _includes\sidebar.html and filtering out the tab_names so they won't be listed as tab list items

nshidqi avatar Aug 29 '22 16:08 nshidqi

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Sep 30 '22 01:09 stale[bot]