Skip to content

Commit

Permalink
Add a sitemap link to bottom of home page
Browse files Browse the repository at this point in the history
  • Loading branch information
John Sambrook committed Jan 6, 2025
1 parent c2f7c7d commit f0531b0
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
2 changes: 1 addition & 1 deletion index.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ share-title: Common Sense Systems | Business Process Optimization, AI and Custom
</div>

<div style="margin-top: 20px; text-align: center;">
<a href="/resume">View John's Resume</a> | <a href="/services">View our Services</a>
<a href="/resume">View John's Resume</a> | <a href="/services">View our Services</a> | <a href="/sitemap.xml">Sitemap</a>
</div>


28 changes: 28 additions & 0 deletions sitemap.md
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>

0 comments on commit f0531b0

Please sign in to comment.