mirror of
https://github.com/rbalsleyMSFT/FFU.git
synced 2026-06-13 18:07:20 -06:00
More fixes for docs site indexing
This commit is contained in:
@@ -4,7 +4,6 @@ remote_theme: just-the-docs/just-the-docs@v0.10.1
|
||||
plugins:
|
||||
- jekyll-remote-theme
|
||||
- jekyll-seo-tag
|
||||
- jekyll-sitemap
|
||||
|
||||
search_enabled: true
|
||||
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
---
|
||||
layout: null
|
||||
---
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||
{% assign sortedPages = site.pages | sort: "url" %}
|
||||
{% for page in sortedPages %}
|
||||
{% if page.sitemap != false and page.url != "/404.html" %}
|
||||
{% if page.url == "/" or page.url contains ".html" %}
|
||||
<url>
|
||||
<loc>{{ site.url }}{{ site.baseurl }}{{ page.url | replace: "index.html", "" }}</loc>
|
||||
<lastmod>{{ site.time | date_to_xmlschema }}</lastmod>
|
||||
</url>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</urlset>
|
||||
Reference in New Issue
Block a user