Skip to content

Commit

Permalink
Added sitemap.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
claytonjbarnette committed Oct 30, 2023
1 parent 5f619c1 commit 3e13aa6
Show file tree
Hide file tree
Showing 2 changed files with 127 additions and 4 deletions.
12 changes: 8 additions & 4 deletions _includes/meta.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
================================================== -->

<!-- 128x128 -->
<link rel="shortcut icon" type="image/ico" href="{{ site.baseurl}}/assets/img/favicons/favicon.ico">
<link rel="shortcut icon" type="image/ico" href="{{ site.baseurl}}/assets/img/favicons/favicon.ico">
<link rel="icon" type="image/png" href="{{ site.baseurl}}/assets/img/favicons/favicon.png">
<!-- 192x192, as recommended for Android http://updates.html5rocks.com/2014/11/Support-for-theme-color-in-Chrome-39-for-Android-->
<!-- 57x57 (precomposed) for iPhone 3GS, pre-2011 iPod Touch and older Android devices -->
Expand All @@ -76,7 +76,11 @@
<link rel="stylesheet" href="{{site.baseurl}}/assets/css/uswds.min.css">
<link rel="stylesheet" href="{{site.baseurl}}/assets/css/index.css">

<!-- Bootstrap 5 CSS Library -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-w76AqPfDkMBDXo30jS1Sgez6pr3x5MlQ1ZAGC+nuZB+EYdgRZgiwxhTBTkF7CXvN" crossorigin="anonymous"></script>
<!-- Sitemap.xml -->
<link rel="sitemap" type="application/xml" title="Sitemap" href="/sitemap.xml" />


<!-- Bootstrap 5 CSS Library -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-w76AqPfDkMBDXo30jS1Sgez6pr3x5MlQ1ZAGC+nuZB+EYdgRZgiwxhTBTkF7CXvN" crossorigin="anonymous"></script>
</head>
119 changes: 119 additions & 0 deletions sitemap.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
---
# File: sitemap.xml for IDManagement.gov
# Note: Collection-based: Each collection added to the site should be added here also
# Date: 1026/2023
#
layout:
---

<?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">

<!-- arch collection -->
{% for docs in site.arch %}
<url>
<loc>{{ site.url }}{{ docs.permalink }}</loc>
<changefreq>weekly</changefreq>
<priority>1.0</priority>
</url>
{% for sub in docs.subnav %}
<url>
<loc>{{ site.url }}{{docs.permalink}}{{ sub.href }}</loc>
<changefreq>weekly</changefreq>
<priority>1.0</priority>
</url>
{% endfor %}
{% endfor %}

<!-- ficampmo collection -->
{% for docs in site.ficampmo %}
<url>
<loc>{{ site.url }}{{ docs.permalink }}</loc>
<changefreq>weekly</changefreq>
<priority>1.0</priority>
</url>
{% for sub in docs.subnav %}
<url>
<loc>{{ site.url }}{{docs.permalink}}{{ sub.href }}</loc>
<changefreq>weekly</changefreq>
<priority>1.0</priority>
</url>
{% endfor %}
{% endfor %}

<!-- implement collection -->
{% for docs in site.implement %}
<url>
<loc>{{ site.url }}{{ docs.permalink }}</loc>
<changefreq>weekly</changefreq>
<priority>1.0</priority>
</url>
{% for sub in docs.subnav %}
<url>
<loc>{{ site.url }}{{docs.permalink}}{{ sub.href }}</loc>
<changefreq>weekly</changefreq>
<priority>1.0</priority>
</url>
{% endfor %}
{% endfor %}

<!-- partners collection -->
{% for docs in site.partners %}
<url>
<loc>{{ site.url }}{{ docs.permalink }}</loc>
<changefreq>weekly</changefreq>
<priority>1.0</priority>
</url>
{% for sub in docs.subnav %}
<url>
<loc>{{ site.url }}{{docs.permalink}}{{ sub.href }}</loc>
<changefreq>weekly</changefreq>
<priority>1.0</priority>
</url>
{% endfor %}
{% endfor %}

<!-- playbooks collection -->
{% for docs in site.playbooks %}
<url>
<loc>{{ site.url }}{{ docs.permalink }}</loc>
<changefreq>weekly</changefreq>
<priority>1.0</priority>
</url>
{% for sub in docs.subnav %}
<url>
<loc>{{ site.url }}{{docs.permalink}}{{ sub.href }}</loc>
<changefreq>weekly</changefreq>
<priority>1.0</priority>
</url>
{% endfor %}
{% endfor %}

<!-- university collection -->
{% for docs in site.university %}
<url>
<loc>{{ site.url }}{{ docs.permalink }}</loc>
<changefreq>weekly</changefreq>
<priority>1.0</priority>
</url>
{% for sub in docs.subnav %}
<url>
<loc>{{ site.url }}{{docs.permalink}}{{ sub.href }}</loc>
<changefreq>weekly</changefreq>
<priority>1.0</priority>
</url>
{% endfor %}
{% endfor %}

<!-- Pages (Only a few pages) -->
{% for page in site.pages %}
{% if page.url contains '.xml' or page.url contains 'assets' %}{% else %}
<url>
<loc>{{ site.url }}{{ page.url }}</loc>
<changefreq>monthly</changefreq>
<priority>1.0</priority>
</url>
{% endif %}
{% endfor %}

</urlset>

0 comments on commit 3e13aa6

Please sign in to comment.