Change file structure

This commit is contained in:
2020-03-11 09:27:09 +00:00
parent faa477de7d
commit 3882ec4478
5 changed files with 4 additions and 4 deletions

View File

@@ -24,7 +24,7 @@
{% endif %}
<div class="mdc-list-group">
<h3 class="mdc-list-group__subheader">
<a class="mdc-list-item year" href="/{{ currentdate }}" data-mdc-auto-init="MDCRipple">
<a class="mdc-list-item year" href="/years/{{ currentdate }}" data-mdc-auto-init="MDCRipple">
<span class="mdc-list-item__text">{{ currentdate }}</span>
</a>
</h3>

View File

@@ -17,8 +17,8 @@ layout: none
{% endif %}
{% endfor %}
<iframe id="articles-1" class="articles" src="/{{ largest }}"></iframe>
<iframe id="articles-2" class="articles" src="/{{ largest }}"></iframe>
<iframe id="articles-1" class="articles" src="/years/{{ largest }}"></iframe>
<iframe id="articles-2" class="articles" src="/years/{{ largest }}"></iframe>
<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>
<script>

View File

@@ -19,7 +19,7 @@ layout: home
<div class="article-section parallax-section" data-jarallax data-speed="{{ site.parallax-speed }}" style="background-image: url('/images/backgrounds/{{ currentdate }}.jpg');">
<div class="article-section-header">
<h1 class="mdc-typography--headline4">{{ currentdate }}</h1>
<button class="mdc-button " data-mdc-auto-init="MDCRipple" onclick="window.location='/{{ currentdate }}';">See All <span class="material-icons">keyboard_arrow_right</span></button>
<button class="mdc-button " data-mdc-auto-init="MDCRipple" onclick="window.location='/years/{{ currentdate }}';">See All <span class="material-icons">keyboard_arrow_right</span></button>
</div>
<div class="articles">
{% assign date = currentdate %}