This shows a sample layout for a knowledge base. Each square could link to a tag archive page. In this example, font icons from Font Awesome are used for the graphics, and the layout is pulled from the Modern Business theme. .
Edit me
Here’s the sample knowledge-base style layout:
Knowledge Base Categories
Generating a list of all pages with a certain tag
If you don’t want to link to a tag archive index, but instead want to list all pages that have a certain tag, you could use this code:
Getting started pages:
<ul>
{% assign sorted_pages = site.pages | sort: 'title' %}
{% for page in sorted_pages %}
{% for tag in page.tags %}
{% if tag == "getting_started" %}
<li><a href="{{ page.url | remove: "/" }}">{% if page.title %}{{page.title}}{% else %}{{page.name}}{% endif %}</a></li>
{% endif %}
{% endfor %}
{% endfor %}
</ul>
Here’s the result:
Getting started pages:
- 2021-09-26-wiki-latex.md
- 2021-09-27-thesis-2d-nav.md
- 2021-09-28-book-multicopter-introduction.md
- 2021-09-29-wiki-next-previous-post.md
- 2021-09-30-interview-pointer-cshop.md
- 2021-10-02-wiki-passing-parameters.md
- Windows-Terminal-Setting.md
- index.md
- keyword_collection.md
- wiki-font.md
- About Ruby, Gems, Bundler, and other prerequisites
- About the author
- About this site and its author
- Challenger Engineering Project
- Implementation
- Install Jekyll on Mac
- Pages in this site
- Posts
- Release notes 5.0
- Release notes 6.0
- Revealjs
- Revealjs gcs workflow
- Revealjs sample
- Rules of thumb
- Sidebar Navigation
- Start
- Supported features
- Useful tools for working and studying
- Wiki home
- advanced work
- code base
- commercial devwork
- github team
- initial settings, keyboard, homebrew
- lab handbook
- modeling
- my 100 supporters
- pixhawk tools
- pixhawk tools advanced
- setup install
- web-dev ops pages
- wiki default page
- 🔭raspberry pi project