diff options
| -rw-r--r-- | _posts/2015-07-07-dankness.md | 19 | ||||
| -rw-r--r-- | _posts/2016-07-07-dankness.md | 19 | ||||
| -rw-r--r-- | _posts/2017-01-09-dankness.md | 19 | ||||
| -rw-r--r-- | _posts/2017-07-04-dankness.md | 19 | ||||
| -rw-r--r-- | _posts/2017-07-05-dankness.md | 19 | ||||
| -rw-r--r-- | _posts/2017-07-06-dankness.md | 19 | ||||
| -rw-r--r-- | _posts/2017-07-07-dankness.md | 19 | ||||
| -rw-r--r-- | index.html | 8 | ||||
| -rw-r--r-- | uutiset.md | 25 |
9 files changed, 165 insertions, 1 deletions
diff --git a/_posts/2015-07-07-dankness.md b/_posts/2015-07-07-dankness.md new file mode 100644 index 0000000..82cd7a2 --- /dev/null +++ b/_posts/2015-07-07-dankness.md @@ -0,0 +1,19 @@ +--- +layout: page +title: "Dank title for this article" +date: 2015-07-07 00:00:00 +0300 +permalink: /uutiset/dank1 +language: fin +author: "Dank Drankfors" +categories: esimerkki juttu asd +--- +*Dank ingress* + + +## Dank title + +Dank content + +### Dank small title + +Dank special content diff --git a/_posts/2016-07-07-dankness.md b/_posts/2016-07-07-dankness.md new file mode 100644 index 0000000..f34b6ab --- /dev/null +++ b/_posts/2016-07-07-dankness.md @@ -0,0 +1,19 @@ +--- +layout: page +title: "Dank title for this article" +date: 2016-07-07 00:00:00 +0300 +permalink: /uutiset/dank2 +language: fin +author: "Dank Drankfors" +categories: esimerkki juttu asd +--- +*Dank ingress* + + +## Dank title + +Dank content + +### Dank small title + +Dank special content diff --git a/_posts/2017-01-09-dankness.md b/_posts/2017-01-09-dankness.md new file mode 100644 index 0000000..444eee5 --- /dev/null +++ b/_posts/2017-01-09-dankness.md @@ -0,0 +1,19 @@ +--- +layout: page +title: "Dank title for this article" +date: 2017-01-10 00:00:00 +0300 +permalink: /uutiset/dank7 +language: fin +author: "Dank Drankfors" +categories: esimerkki juttu asd +--- +*Dank ingress* + + +## Dank title + +Dank content + +### Dank small title + +Dank special content diff --git a/_posts/2017-07-04-dankness.md b/_posts/2017-07-04-dankness.md new file mode 100644 index 0000000..c40904b --- /dev/null +++ b/_posts/2017-07-04-dankness.md @@ -0,0 +1,19 @@ +--- +layout: page +title: "Dank title for this article" +date: 2017-07-04 00:00:00 +0300 +permalink: /uutiset/dank6 +language: fin +author: "Dank Drankfors" +categories: esimerkki juttu asd +--- +*Dank ingress* + + +## Dank title + +Dank content + +### Dank small title + +Dank special content diff --git a/_posts/2017-07-05-dankness.md b/_posts/2017-07-05-dankness.md new file mode 100644 index 0000000..6d503f1 --- /dev/null +++ b/_posts/2017-07-05-dankness.md @@ -0,0 +1,19 @@ +--- +layout: page +title: "Dank title for this article" +date: 2017-07-05 00:00:00 +0300 +permalink: /uutiset/dank5 +language: fin +author: "Dank Drankfors" +categories: esimerkki juttu asd +--- +*Dank ingress* + + +## Dank title + +Dank content + +### Dank small title + +Dank special content diff --git a/_posts/2017-07-06-dankness.md b/_posts/2017-07-06-dankness.md new file mode 100644 index 0000000..5eb0b97 --- /dev/null +++ b/_posts/2017-07-06-dankness.md @@ -0,0 +1,19 @@ +--- +layout: page +title: "Dank title for this article" +date: 2017-07-06 00:00:00 +0300 +permalink: /uutiset/dank4 +language: fin +author: "Dank Drankfors" +categories: esimerkki juttu asd +--- +*Dank ingress* + + +## Dank title + +Dank content + +### Dank small title + +Dank special content diff --git a/_posts/2017-07-07-dankness.md b/_posts/2017-07-07-dankness.md new file mode 100644 index 0000000..ed71600 --- /dev/null +++ b/_posts/2017-07-07-dankness.md @@ -0,0 +1,19 @@ +--- +layout: page +title: "Dank title for this article" +date: 2017-07-07 00:00:00 +0300 +permalink: /uutiset/dank3 +language: fin +author: "Dank Drankfors" +categories: esimerkki juttu asd +--- +*Dank ingress* + + +## Dank title + +Dank content + +### Dank small title + +Dank special content @@ -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 +--> diff --git a/uutiset.md b/uutiset.md new file mode 100644 index 0000000..e285f5a --- /dev/null +++ b/uutiset.md @@ -0,0 +1,25 @@ +--- +layout: page +title: Uutiset +permalink: /uutiset/ +--- +## Uutisia + +Tässä jotain saatetekstiä uutisille + +{%for post in site.posts %} +{% unless post.next %} +<h1>{{ post.date | date: '%Y' }}</h1> +<ul> +{% else %} +{% capture year %}{{ post.date | date: '%Y' }}{% endcapture %} +{% capture nyear %}{{ post.next.date | date: '%Y' }}{% endcapture %} +{% if year != nyear %} +</ul> +<h1>{{ post.date | date: '%Y' }}</h1> +<ul> +{% endif %} +{% endunless %} +<li><a href="{{ site.baseurl}}{{ post.url }}">{{ post.date | date: "%d.%m.%Y" }} - {{ post.title }}</a></li> +{% endfor %} + |
