-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a sitemap link to bottom of home page
- Loading branch information
John Sambrook
committed
Jan 6, 2025
1 parent
c2f7c7d
commit f0531b0
Showing
2 changed files
with
29 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- | ||
layout: page | ||
title: Sitemap | ||
permalink: /sitemap/ | ||
--- | ||
## Sitemap | ||
|
||
Welcome to our sitemap! Here’s an overview of the pages on this site: | ||
|
||
### Pages | ||
<ul> | ||
{% assign sorted_pages = site.pages | sort: "title" %} | ||
{% for page in sorted_pages %} | ||
{% if page.title %} | ||
<li><a href="{{ page.url | relative_url }}">{{ page.title | escape }}</a></li> | ||
{% endif %} | ||
{% endfor %} | ||
</ul> | ||
|
||
### Blog Posts | ||
<ul> | ||
{% assign sorted_posts = site.posts | sort: "title" %} | ||
{% for post in sorted_posts %} | ||
{% if post.title %} | ||
<li><a href="{{ post.url | relative_url }}">{{ post.title | escape }}</a> - {{ post.date | date: "%B %d, %Y" }}</li> | ||
{% endif %} | ||
{% endfor %} | ||
</ul> |