Skip to content

Commit

Permalink
Add link to Reference Page Index in the top nav to make them
Browse files Browse the repository at this point in the history
discoverable
  • Loading branch information
fabianrbz committed Sep 19, 2024
1 parent 5239ca7 commit db9508b
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/_includes/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
<a href='/plugins/' class='text-terciary'>Plugins</a>
<a href='/gateway/entities/' class='text-terciary'>Gateway Entities</a>
<a href='/landing-pages/' class='text-terciary'>All Landing Pages</a>
<a href='/references/' class='text-terciary'>All Reference Pages</a>

<div class="flex">
<button id="mode-switch">
Expand Down
18 changes: 18 additions & 0 deletions app/references.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
layout: default
title: Reference Page Index
---

<div class="mx-16">
<h1 class="my-4">Reference Page Index</h1>
<ul>
{% assign all_pages = site.pages | sort: 'dir' %}
{% for page in all_pages %}
{% if page.content_type == "reference" %}
<li>
<a href="{{ page.url }}" class="text-blue-500 hover:underline">{{ page.title | default: "MISSING TITLE" }}</a> ({{ page.dir }})
</li>
{% endif %}
{% endfor %}
</ul>
</div>

0 comments on commit db9508b

Please sign in to comment.