Update sitemap

This commit is contained in:
2020-12-25 18:07:34 +00:00
parent 80d3e297f2
commit 99200c3b51
3 changed files with 186 additions and 2 deletions

View File

@@ -11,6 +11,38 @@
<url>
<loc>http://0.0.0.0:4000/years/2019</loc>
<lastmod>2020-12-25</lastmod>
<changefreq>always</changefreq>
<priority>0.5</priority>
</url>
<url>
<loc>http://0.0.0.0:4000/years/2020</loc>
<lastmod>2020-12-25</lastmod>
<changefreq>always</changefreq>
<priority>0.5</priority>
</url>
@@ -26,6 +58,9 @@
@@ -38,6 +73,16 @@
<url>
<loc>http://0.0.0.0:4000/auto-refresh</loc>
<lastmod>2020-12-25</lastmod>
<changefreq>always</changefreq>
<priority>0.5</priority>
</url>
@@ -45,6 +90,12 @@
<url> <url>
<loc>http://0.0.0.0:4000/</loc> <loc>http://0.0.0.0:4000/</loc>
<lastmod>2020-12-25</lastmod> <lastmod>2020-12-25</lastmod>
@@ -62,6 +113,124 @@
<url>
<loc>http://0.0.0.0:4000/articles/2019/young-reporter-team-ready-to-go.html</loc>
<lastmod>2020-12-25</lastmod>
<changefreq>always</changefreq>
<priority>0.5</priority>
</url>
<url>
<loc>http://0.0.0.0:4000/articles/2019/whats-next-for-reading-prison.html</loc>
<lastmod>2020-12-25</lastmod>
<changefreq>always</changefreq>
<priority>0.5</priority>
</url>
<url>
<loc>http://0.0.0.0:4000/articles/2019/what-is-in-the-patients-best-interest.html</loc>
<lastmod>2020-12-25</lastmod>
<changefreq>always</changefreq>
<priority>0.5</priority>
</url>
<url>
<loc>http://0.0.0.0:4000/articles/2019/video-games-virtual-fantasy-or-a-virtual-prison.html</loc>
<lastmod>2020-12-25</lastmod>
<changefreq>always</changefreq>
<priority>0.5</priority>
</url>
<url>
<loc>http://0.0.0.0:4000/articles/2019/tennis-club-needs-to-relocate-as-redevelopment-plans-are-called-out.html</loc>
<lastmod>2020-12-25</lastmod>
<changefreq>always</changefreq>
<priority>0.5</priority>
</url>
<url>
<loc>http://0.0.0.0:4000/articles/2019/could-sky-high-aims-bring-reading-down.html</loc>
<lastmod>2020-12-25</lastmod>
<changefreq>always</changefreq>
<priority>0.5</priority>
</url>
<url>
<loc>http://0.0.0.0:4000/articles/2019/a-possible-autism-anorexia-link-has-been-found-so-what-are-we-doing-about-it.html</loc>
<lastmod>2020-12-25</lastmod>
<changefreq>always</changefreq>
<priority>0.5</priority>
</url>
<url>
<loc>http://0.0.0.0:4000/articles/2019/book-week-real-life-issues-inspire-sarah-govett.html</loc>
<lastmod>2020-12-25</lastmod>
<changefreq>always</changefreq>
<priority>0.5</priority>
</url>
<url>
<loc>http://0.0.0.0:4000/articles/2019/student-survey-shows-rosa-parks-is-most-inspirational-woman-ever.html</loc>
<lastmod>2020-12-25</lastmod>
<changefreq>always</changefreq>
<priority>0.5</priority>
</url>
<url>
<loc>http://0.0.0.0:4000/articles/2019/are-the-roads-around-your-home-and-school-safe.html</loc>
<lastmod>2020-12-25</lastmod>
<changefreq>always</changefreq>
<priority>0.5</priority>
</url>
<url>
<loc>http://0.0.0.0:4000/articles/2019/finished-product.html</loc>
<lastmod>2020-12-25</lastmod>
<changefreq>always</changefreq>
<priority>0.5</priority>
</url>
<url>
<loc>http://0.0.0.0:4000/articles/2020/reading-gaol-and-its-march-for-the-past.html</loc>
<lastmod>2020-12-25</lastmod>
<changefreq>always</changefreq>
<priority>0.5</priority>
</url>
<url>
<loc>http://0.0.0.0:4000/articles/2020/power-to-the-9s.html</loc>
<lastmod>2020-12-25</lastmod>
<changefreq>always</changefreq>
<priority>0.5</priority>
</url>
<url>
<loc>http://0.0.0.0:4000/articles/2020/charity-children-want-to-create-change.html</loc>
<lastmod>2020-12-25</lastmod>
<changefreq>always</changefreq>
<priority>0.5</priority>
</url>
<url>
<loc>http://0.0.0.0:4000/articles/2020/libraries-must-stay-open.html</loc>
<lastmod>2020-12-25</lastmod>
<changefreq>always</changefreq>
<priority>0.5</priority>
</url>
<url>
<loc>http://0.0.0.0:4000/articles/2020/its-just-not-cricket-anymore.html</loc>
<lastmod>2020-12-25</lastmod>
<changefreq>always</changefreq>
<priority>0.5</priority>
</url>
</urlset> </urlset>

View File

@@ -2,6 +2,7 @@
title: BBC Young Reporter title: BBC Young Reporter
description: News articles written by Reading School students in year 8 description: News articles written by Reading School students in year 8
layout: none layout: none
search: exclude
--- ---
{% include head.html %} {% include head.html %}

View File

@@ -15,7 +15,21 @@ search: exclude
{% break %} {% break %}
{% endif %} {% endif %}
{% endfor %} {% endfor %}
{% assign page_url_end = page.url| slice: -4, 4 %}
{% if is_number and number != "404" %} {% if is_number and number != "404" %}
{% assign number_page_check = true %}
{% else %}
{% assign number_page_check = false %}
{% endif %}
{% if is_number == false and page.url != "/sitemap.xml" and page_url_end != ".css" %}
{% assign other_page_check = true %}
{% else %}
{% assign other_page_check = false %}
{% endif %}
{% if number_page_check or other_page_check %}
<url> <url>
<loc>{{ page.url | absolute_url | remove: ".html" }}</loc> <loc>{{ page.url | absolute_url | remove: ".html" }}</loc>
<lastmod>{{ site.time | date: '%Y-%m-%d' }}</lastmod> <lastmod>{{ site.time | date: '%Y-%m-%d' }}</lastmod>
@@ -25,9 +39,9 @@ search: exclude
{% endif %} {% endif %}
{% endfor %} {% endfor %}
{% for post in site.posts %} {% for article in site.articles %}
<url> <url>
<loc>{{ post.url | absolute_url }}</loc> <loc>{{ article.url | absolute_url }}</loc>
<lastmod>{{ site.time | date: '%Y-%m-%d' }}</lastmod> <lastmod>{{ site.time | date: '%Y-%m-%d' }}</lastmod>
<changefreq>always</changefreq> <changefreq>always</changefreq>
<priority>0.5</priority> <priority>0.5</priority>