Browse Source

help sitemap (#141)

pull/142/head
David Choi 5 years ago committed by GitHub
parent
commit
f66763c625
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 22
      sitemap.xml

22
sitemap.xml

@ -0,0 +1,22 @@ @@ -0,0 +1,22 @@
---
layout: null
title: Sitemap XML
---
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
{% assign sorted_articles = site.articles | sort: 'title' %}
{% for post in sorted_articles %}
<url>
<loc>https://bitwarden.com/help{{ post.url }}</loc>
{% if post.lastmod == null %}
<lastmod>{{ post.date | date_to_xmlschema }}</lastmod>
{% else %}
<lastmod>{{ post.lastmod | date_to_xmlschema }}</lastmod>
{% endif %}
<changefreq>monthly</changefreq>
<priority>0.6400</priority>
</url>
{% endfor %}
</urlset>
Loading…
Cancel
Save