Fix file structure

This commit is contained in:
2020-03-11 09:59:40 +00:00
parent 283f307fa2
commit 68affa418b
2 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
<iframe id="articles-1" class="articles" src="/years/404"></iframe>
<iframe id="articles-2" class="articles" src="/years/404"></iframe>
<iframe id="articles-1" class="articles" src="/years/2020"></iframe>
<iframe id="articles-2" class="articles" src="/years/2020"></iframe>
<p><a class="twitter-timeline" data-dnt="true" href="https://twitter.com/BBCYoungReport?ref_src=twsrc%5Etfw">Tweets by BBCYoungReport</a> <script async="" src="https://platform.twitter.com/widgets.js" charset="utf-8"></script></p>
<script>

View File

@@ -6,7 +6,7 @@ layout: none
{% assign largest = 0 %}
{% for page in site.pages %}
{% assign url = page.url | remove: ".html" | remove: "/" %}
{% assign url = page.url | remove: ".html" | remove: "/years/" %}
{% capture testValue %}{{ url | json }}{% endcapture %}
{% if testValue contains '"' %}{% else %}
{% assign largest_number = largest | times: 1 %}