mirror of
https://github.com/mgrove36/bbc-young-reporter.git
synced 2026-03-03 03:17:07 +00:00
Change file structure
This commit is contained in:
@@ -24,7 +24,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
<div class="mdc-list-group">
|
<div class="mdc-list-group">
|
||||||
<h3 class="mdc-list-group__subheader">
|
<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>
|
<span class="mdc-list-item__text">{{ currentdate }}</span>
|
||||||
</a>
|
</a>
|
||||||
</h3>
|
</h3>
|
||||||
|
|||||||
@@ -17,8 +17,8 @@ layout: none
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
<iframe id="articles-1" class="articles" src="/{{ largest }}"></iframe>
|
<iframe id="articles-1" class="articles" src="/years/{{ largest }}"></iframe>
|
||||||
<iframe id="articles-2" class="articles" src="/{{ 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>
|
<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>
|
<script>
|
||||||
|
|||||||
2
index.md
2
index.md
@@ -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 parallax-section" data-jarallax data-speed="{{ site.parallax-speed }}" style="background-image: url('/images/backgrounds/{{ currentdate }}.jpg');">
|
||||||
<div class="article-section-header">
|
<div class="article-section-header">
|
||||||
<h1 class="mdc-typography--headline4">{{ currentdate }}</h1>
|
<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>
|
||||||
<div class="articles">
|
<div class="articles">
|
||||||
{% assign date = currentdate %}
|
{% assign date = currentdate %}
|
||||||
|
|||||||
Reference in New Issue
Block a user