mirror of
https://github.com/mgrove36/bbc-young-reporter.git
synced 2026-03-03 11:27:06 +00:00
Fix file structure
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user