add all pages, hiddens

main
Jay Hankins 2022-08-28 19:09:06 -04:00
parent 5c70bca49b
commit 2719fa8b0c
4 changed files with 28 additions and 23 deletions

View File

@ -3,6 +3,7 @@ permalink: 404.html
layout: default
title: "404"
id: "not-found"
hidden: true
---
<div>

View File

@ -1,7 +1,6 @@
---
layout: page
title: Home
id: home
permalink: /
---
@ -15,3 +14,5 @@ Here are some broad-level starting topics:
- **[[Operating Systems]]**
- **[[Programming]]**
- **[[Smart Home]]**
Or, view [[all|all pages]].

25
_pages/all.md Normal file
View File

@ -0,0 +1,25 @@
---
layout: page
title: All pages
permalink: /all
---
# All pages and notes
## Pages
<ul>
{% assign pages = site.html_pages | where:"hidden",hidden!=true | sort_natural %}
{% for note in pages %}
<li><a class="internal-link" href="{{ note.url }}">{{note.title}}</a></li>
{% endfor %}
</ul>
## Notes
<ul>
{% assign notes = site.notes | sort_natural %}
{% for note in notes %}
<li><a class="internal-link" href="{{ note.url }}">{{note.title}}</a></li>
{% endfor %}
</ul>

View File

@ -1,22 +0,0 @@
---
layout: page
title: Home
id: home
permalink: /
---
# Welcome! 🌱
<p style="padding: 3em 1em; background: #f5f7ff; border-radius: 4px;">
Take a look at <span style="font-weight: bold">[[Your first note]]</span> to get started on your exploration.
</p>
This digital garden template is free, open-source, and [available on GitHub here](https://github.com/maximevaillancourt/digital-garden-jekyll-template).
The easiest way to get started is to read this [step-by-step guide explaining how to set this up from scratch](https://maximevaillancourt.com/blog/setting-up-your-own-digital-garden-with-jekyll).
<style>
.wrapper {
max-width: 46em;
}
</style>