aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVeikka Kähkönen <veikka.kahkonen@corefactory.com>2017-11-30 22:19:24 +0200
committerVeikka Kähkönen <veikka.kahkonen@corefactory.com>2017-11-30 22:19:24 +0200
commita67449eed0a99001b2a94c4e468489a9b55b6f7f (patch)
treeeac20166c6f13519592a5c7d6ec22c2cb432c30d
parentebb4f48591e2dd6b63cb8327c4b47c460c580328 (diff)
Rearrange index page layout
-rw-r--r--index.html70
1 files changed, 36 insertions, 34 deletions
diff --git a/index.html b/index.html
index 0ac0de1..a4ededc 100644
--- a/index.html
+++ b/index.html
@@ -9,45 +9,47 @@ layout: default
<div class="post-content">
<div class="section group">
- <div class="col span_1_of_2 info_section">
- <h1 class="info_section__title">Ajankohtaista</h1>
- <ul class="post_list">
- {% for post in site.posts limit: 5 %}
- <li class="post_list__element">
- <a href="{{ post.url | absolute_url }}">
- <h4 class="post_list__title">{{ post.title }}</h4>
- </a>
- <time datetime="{{ post.date | date_to_xmlschema }}">
- {{ post.date | date: "%d.%m.%Y" }}
- </time>
- <p class="post_list__excerpt">
- {{ post.excerpt | strip_html }}
- <a href="{{ post.url | absolute_url }}">Lisää...</a>
- </p>
- </li>
- {% endfor %}
- </ul>
- <a href="{{ site.baseurl}}/uutiset">Vanhemmat uutiset</a>
- </div>
-
<div class="col span_1_of_2">
<div class="info_section">
- <h1 class="info_section__title">Tulevat tapahtumat</h1>
- <ul id="event-list" class="event_list">
- </ul>
- <ul id="event-list-2" class="event_list">
+ <h1 class="info_section__title">Ajankohtaista</h1>
+ <ul class="post_list">
+ {% for post in site.posts limit: 5 %}
+ <li class="post_list__element">
+ <a href="{{ post.url | absolute_url }}">
+ <h4 class="post_list__title">{{ post.title }}</h4>
+ </a>
+ <time datetime="{{ post.date | date_to_xmlschema }}">
+ {{ post.date | date: "%d.%m.%Y" }}
+ </time>
+ <p class="post_list__excerpt">
+ {{ post.excerpt | strip_html }}
+ <a href="{{ post.url | absolute_url }}">Lisää...</a>
+ </p>
+ </li>
+ {% endfor %}
</ul>
-
- <a href="{{ "/tapahtumat.html" | absolute_url }}">
- Kaikki tapahtumat
- </a>
+ <a href="{{ site.baseurl}}/uutiset">Vanhemmat uutiset</a>
</div>
+ </div>
- <div class="info_section">
- <h1 class="info_section__title">Mikä AS?</h1>
- {% capture index_content %}{% include index_content.md %}{% endcapture %}
- {{ index_content | markdownify }}
- </div>
+ <div class="col span_1_of_2">
+ <div class="info_section">
+ <h1 class="info_section__title">Mikä AS?</h1>
+ {% capture index_content %}{% include index_content.md %}{% endcapture %}
+ {{ index_content | markdownify }}
+ </div>
+
+ <div class="info_section">
+ <h1 class="info_section__title">Tulevat tapahtumat</h1>
+ <ul id="event-list" class="event_list">
+ </ul>
+ <ul id="event-list-2" class="event_list">
+ </ul>
+
+ <a href="{{ "/tapahtumat.html" | absolute_url }}">
+ Kaikki tapahtumat
+ </a>
+ </div>
</div>
</div>