diff --git a/_site/sitemap.xml b/_site/sitemap.xml index eedb164..69eecaa 100644 --- a/_site/sitemap.xml +++ b/_site/sitemap.xml @@ -11,6 +11,38 @@ + + + + + + http://0.0.0.0:4000/years/2019 + 2020-12-25 + always + 0.5 + + + + + + + + + + + + + + + + + + + http://0.0.0.0:4000/years/2020 + 2020-12-25 + always + 0.5 + @@ -26,6 +58,9 @@ + + + @@ -38,6 +73,16 @@ + + + + + + http://0.0.0.0:4000/auto-refresh + 2020-12-25 + always + 0.5 + @@ -45,6 +90,12 @@ + + + + + + http://0.0.0.0:4000/ 2020-12-25 @@ -62,6 +113,124 @@ + + + + + + + + http://0.0.0.0:4000/articles/2019/young-reporter-team-ready-to-go.html + 2020-12-25 + always + 0.5 + + + + http://0.0.0.0:4000/articles/2019/whats-next-for-reading-prison.html + 2020-12-25 + always + 0.5 + + + + http://0.0.0.0:4000/articles/2019/what-is-in-the-patients-best-interest.html + 2020-12-25 + always + 0.5 + + + + http://0.0.0.0:4000/articles/2019/video-games-virtual-fantasy-or-a-virtual-prison.html + 2020-12-25 + always + 0.5 + + + + http://0.0.0.0:4000/articles/2019/tennis-club-needs-to-relocate-as-redevelopment-plans-are-called-out.html + 2020-12-25 + always + 0.5 + + + + http://0.0.0.0:4000/articles/2019/could-sky-high-aims-bring-reading-down.html + 2020-12-25 + always + 0.5 + + + + http://0.0.0.0:4000/articles/2019/a-possible-autism-anorexia-link-has-been-found-so-what-are-we-doing-about-it.html + 2020-12-25 + always + 0.5 + + + + http://0.0.0.0:4000/articles/2019/book-week-real-life-issues-inspire-sarah-govett.html + 2020-12-25 + always + 0.5 + + + + http://0.0.0.0:4000/articles/2019/student-survey-shows-rosa-parks-is-most-inspirational-woman-ever.html + 2020-12-25 + always + 0.5 + + + + http://0.0.0.0:4000/articles/2019/are-the-roads-around-your-home-and-school-safe.html + 2020-12-25 + always + 0.5 + + + + http://0.0.0.0:4000/articles/2019/finished-product.html + 2020-12-25 + always + 0.5 + + + + http://0.0.0.0:4000/articles/2020/reading-gaol-and-its-march-for-the-past.html + 2020-12-25 + always + 0.5 + + + + http://0.0.0.0:4000/articles/2020/power-to-the-9s.html + 2020-12-25 + always + 0.5 + + + + http://0.0.0.0:4000/articles/2020/charity-children-want-to-create-change.html + 2020-12-25 + always + 0.5 + + + + http://0.0.0.0:4000/articles/2020/libraries-must-stay-open.html + 2020-12-25 + always + 0.5 + + + + http://0.0.0.0:4000/articles/2020/its-just-not-cricket-anymore.html + 2020-12-25 + always + 0.5 + + diff --git a/auto-refresh.md b/auto-refresh.md index b467c6f..6e0e38a 100644 --- a/auto-refresh.md +++ b/auto-refresh.md @@ -2,6 +2,7 @@ title: BBC Young Reporter description: News articles written by Reading School students in year 8 layout: none +search: exclude --- {% include head.html %} diff --git a/sitemap.xml b/sitemap.xml index 282d572..e43769f 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -15,7 +15,21 @@ search: exclude {% break %} {% endif %} {% endfor %} + {% assign page_url_end = page.url| slice: -4, 4 %} + {% 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 %} {{ page.url | absolute_url | remove: ".html" }} {{ site.time | date: '%Y-%m-%d' }} @@ -25,9 +39,9 @@ search: exclude {% endif %} {% endfor %} - {% for post in site.posts %} + {% for article in site.articles %} - {{ post.url | absolute_url }} + {{ article.url | absolute_url }} {{ site.time | date: '%Y-%m-%d' }} always 0.5