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