mirror of
https://github.com/greenshot/greenshot
synced 2025-08-24 15:16:24 -07:00
added basic sitemap page
This commit is contained in:
parent
25d959c02a
commit
f67fe60b6b
2 changed files with 29 additions and 7 deletions
29
pages/sitemap.html
Normal file
29
pages/sitemap.html
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
---
|
||||||
|
layout: page
|
||||||
|
title: Sitemap
|
||||||
|
permalink: /sitemap/
|
||||||
|
---
|
||||||
|
<div>
|
||||||
|
<div>
|
||||||
|
<h2>Pages</h2>
|
||||||
|
<ul>
|
||||||
|
{% for page in site.pages %}
|
||||||
|
<li><a href="{{ page.url }}">{{ page.title }}</a></li>
|
||||||
|
{% endfor %}
|
||||||
|
</ul>
|
||||||
|
<h2>FAQ</h2>
|
||||||
|
<ul>
|
||||||
|
{% for faq in site.faqs %}
|
||||||
|
<li><a href="{{ faq.url }}">{{ faq.title }}</a></li>
|
||||||
|
{% endfor %}
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<h2>Blog</h2>
|
||||||
|
<ul>
|
||||||
|
{% for post in site.posts %}
|
||||||
|
<li><a href="{{ post.url }}">{{ post.title }}</a></li>
|
||||||
|
{% endfor %}
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
|
@ -1,7 +0,0 @@
|
||||||
---
|
|
||||||
# Remember to set production_url in your _config.yml file!
|
|
||||||
---
|
|
||||||
{% for page in site.pages %}
|
|
||||||
{{site.production_url}}{{ page.url }}{% endfor %}
|
|
||||||
{% for post in site.posts %}
|
|
||||||
{{site.production_url}}{{ post.url }}{% endfor %}
|
|
Loading…
Add table
Add a link
Reference in a new issue