Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added sitemap.xml #657

Merged
merged 2 commits into from
Nov 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion _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,6 +76,9 @@
<link rel="stylesheet" href="{{site.baseurl}}/assets/css/uswds.min.css">
<link rel="stylesheet" href="{{site.baseurl}}/assets/css/index.css">

<!-- 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>
Expand Down
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>
Loading