diff options
| author | Veikka Kähkönen <insiding@gmail.com> | 2017-11-27 22:47:46 +0200 |
|---|---|---|
| committer | Veikka Kähkönen <insiding@gmail.com> | 2017-11-27 22:47:46 +0200 |
| commit | df4d2a345886f0114684358a91c9b4ba2fc8cb73 (patch) | |
| tree | 99d1c822387c8224d50b1d69868fdb06802f380b | |
| parent | 0dd950472d772f48b568b505ab765162fcae1286 (diff) | |
| parent | c08dbdd77b85ee794f36caf50113b910883edc09 (diff) | |
Merge branch 'uutiset'
| -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 %} + |
