aboutsummaryrefslogtreecommitdiffstats
path: root/index.html
diff options
context:
space:
mode:
authorOnni Lampi <contact@onnilampi.fi>2017-07-07 02:08:56 +0300
committerVeikka Kähkönen <insiding@gmail.com>2017-11-27 22:46:36 +0200
commitc08dbdd77b85ee794f36caf50113b910883edc09 (patch)
tree99d1c822387c8224d50b1d69868fdb06802f380b /index.html
parent0dd950472d772f48b568b505ab765162fcae1286 (diff)
Uutiset implementoitu
Diffstat (limited to 'index.html')
-rw-r--r--index.html8
1 files changed, 7 insertions, 1 deletions
diff --git a/index.html b/index.html
index 06bf6c6..07fd0e9 100644
--- a/index.html
+++ b/index.html
@@ -19,6 +19,12 @@ layout: default
<p>look around you</p>
+<h1>Uusimpia uutisia:</h1>
+{%for post in site.posts limit:5 %}
+<li><a href="{{ site.baseurl}}{{ post.url }}">{{ post.date | date: "%d.%m.%Y" }} - {{ post.title }}</a></li>
+{% endfor %}
+<li><a href="{{ site.baseurl}}/uutiset">Lisää uutisia uutisarkistossa</a></li>
+
</div>
@@ -69,4 +75,4 @@ layout: index_page
<div><a href="http://www.eficode.fi/"><img width="200" style="margin:20px;border:0;" src="/static/sponsors/eficode.png" alt=""></a></div>
</div>
---> \ No newline at end of file
+-->