Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible to set page as hidden? #3

Open
acrosby opened this issue Mar 17, 2017 · 2 comments
Open

Possible to set page as hidden? #3

acrosby opened this issue Mar 17, 2017 · 2 comments

Comments

@acrosby
Copy link

acrosby commented Mar 17, 2017

Excuse me if I have missed something in the Jekyll docs or here, but is there a canonical way to create a page in the root directory that won't show up in the list of site links at the top/right? Is that something that could be useful? Thanks!

@t5r7
Copy link

t5r7 commented Nov 4, 2017

In includes/header.html, you can add an unless tag to this loop

{% for my_page in site.pages %}

Here's an example: https://gist.github.com/mrdnomaid/cc05490041d501c838e079d12b4a95b3

@jelenamiller
Copy link

  • Home
  • {% for my_page in site.pages %} {% if my_page.title %}
  • {{ my_page.title }}
  • {% endif %} {% endfor %}

gferrarin added a commit to gferrarin/athena that referenced this issue May 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants