File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -9,8 +9,8 @@ sitemap: false
99
1010 {% comment %} Loop through standard pages generated by Jekyll {% endcomment %}
1111 {% for page in site.html_pages %}
12- {% comment %} Exclude files you don't want in the sitemap {% endcomment %}
13- {% if page.url != '/repo-pages/' and page.sitemap != false %}
12+ {% comment %} Exclude files you don't want in the sitemap and repository pages (we'll add those separately) {% endcomment %}
13+ {% if page.url != '/repo-pages/' and page.sitemap != false and page.url contains '/repo/' == false %}
1414 <url >
1515 <loc >{{ site.url }}{{ page.url | remove: 'index.html' }}</loc >
1616 {% if page.last_modified_at %}
@@ -24,7 +24,7 @@ sitemap: false
2424 {% endif %}
2525 {% endfor %}
2626
27- {% comment %} Loop through repository pages (static pages generated by plugin) {% endcomment %}
27+ {% comment %} Loop through repository pages generated by our plugin {% endcomment %}
2828 {% for repository in site.data.repositories %}
2929 {% assign repo_path = repository.repo | split: '/' %}
3030 {% assign owner = repo_path[0] %}
You can’t perform that action at this time.
0 commit comments