Merge branch 'main' of datat.fi:/srv/datat.fi/datat.fi into main
|
@ -9,7 +9,7 @@
|
||||||
# 'bundle exec jekyll serve'. If you change this file, please restart the server process.
|
# 'bundle exec jekyll serve'. If you change this file, please restart the server process.
|
||||||
|
|
||||||
#
|
#
|
||||||
# If you need help with YAML syntax, here are some quick references for you:
|
# If you need help with YAML syntax, here are some quick references for you:
|
||||||
# https://learn-the-web.algonquindesign.ca/topics/markdown-yaml-cheat-sheet/#yaml
|
# https://learn-the-web.algonquindesign.ca/topics/markdown-yaml-cheat-sheet/#yaml
|
||||||
# https://learnxinyminutes.com/docs/yaml/
|
# https://learnxinyminutes.com/docs/yaml/
|
||||||
#
|
#
|
||||||
|
@ -86,3 +86,9 @@ defaults:
|
||||||
values:
|
values:
|
||||||
layout: post
|
layout: post
|
||||||
read_time: true
|
read_time: true
|
||||||
|
|
||||||
|
# Collections
|
||||||
|
collections:
|
||||||
|
leffat:
|
||||||
|
output: true
|
||||||
|
permalink: /:collection/:path/
|
||||||
|
|
|
@ -1,33 +1,30 @@
|
||||||
{% if post.id %}
|
{% if post.id %} {% assign title = post.title | markdownify | strip_html %} {%
|
||||||
{% assign title = post.title | markdownify | strip_html %}
|
else %} {% assign title = post.title %} {% endif %} {% assign url =
|
||||||
{% else %}
|
post.external_url | post.url | relative_url %}
|
||||||
{% assign title = post.title %}
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
<article class="entry">
|
<article class="entry">
|
||||||
<header class="entry-header">
|
<header class="entry-header">
|
||||||
<h3 class="entry-title">
|
<h3 class="entry-title">
|
||||||
<a href="{{ post.url | relative_url }}" rel="bookmark">{{ title }}</a>
|
<a href="{{ url }}" rel="bookmark">{{ title }}</a>
|
||||||
</h3>
|
</h3>
|
||||||
{% if post.image.thumbnail %}
|
{% if post.image.thumbnail %} {% assign entry_image = post.image.thumbnail |
|
||||||
{% assign entry_image = post.image.thumbnail | relative_url | escape %}
|
relative_url | escape %}
|
||||||
<img class="entry-image u-photo" src="{{ entry_image }}" alt="">
|
<a href="{{ url }}">
|
||||||
|
<img class="entry-image u-photo" src="{{ entry_image }}" zalt="" />
|
||||||
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</header>
|
</header>
|
||||||
<footer class="entry-meta">
|
|
||||||
<ul>
|
|
||||||
{% if post.date %}
|
|
||||||
<li><span class="icon">{% include icon-calendar.svg %}</span><time class="entry-time" datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date: "%B %-d, %Y" }}</time></li>
|
|
||||||
{% endif %}
|
|
||||||
{% if post.read_time %}
|
|
||||||
<li><span class="icon">{% include icon-stopwatch.svg %}</span>{% capture read_time %}{% include read-time.html %}{% endcapture %}{{ read_time | strip }}</li>
|
|
||||||
{% endif %}
|
|
||||||
</ul>
|
|
||||||
</footer>
|
|
||||||
<div class="entry-excerpt">
|
<div class="entry-excerpt">
|
||||||
{% if post.excerpt %}
|
{% if post.excerpt and page.show_excerpts != false %} {{ post.excerpt |
|
||||||
{{ post.excerpt | markdownify }}
|
markdownify }}
|
||||||
<p><a href="{{ post.url | relative_url }}" class="more-link">{{ site.data.theme.t.read_more | default: 'Read More' }} <span class="icon icon--arrow-right">{% include icon-arrow-right.svg %}</span></a></p>
|
<p>
|
||||||
|
<a href="{{ url }}" class="more-link"
|
||||||
|
>{{ site.data.theme.t.read_more | default: 'Read More' }}
|
||||||
|
<span class="icon icon--arrow-right"
|
||||||
|
>{% include icon-arrow-right.svg %}</span
|
||||||
|
></a
|
||||||
|
>
|
||||||
|
</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</article>
|
</article>
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
---
|
||||||
|
title: "Dataleffa 2013"
|
||||||
|
image:
|
||||||
|
path: /assets/images/leffat/2013.jpg
|
||||||
|
thumbnail: /assets/images/leffat/2013.jpg
|
||||||
|
external_url: https://www.youtube.com/watch?v=XVBgjSE9_GE
|
||||||
|
---
|
|
@ -0,0 +1,7 @@
|
||||||
|
---
|
||||||
|
title: "Dataleffa 2014"
|
||||||
|
image:
|
||||||
|
path: /assets/images/leffat/2014.jpg
|
||||||
|
thumbnail: /assets/images/leffat/2014.jpg
|
||||||
|
external_url: https://www.youtube.com/watch?v=fIAg76bmQ4s
|
||||||
|
---
|
|
@ -0,0 +1,7 @@
|
||||||
|
---
|
||||||
|
title: "Dataleffa 2015: Kymmenen pientä dataa"
|
||||||
|
image:
|
||||||
|
path: /assets/images/leffat/2015.jpg
|
||||||
|
thumbnail: /assets/images/leffat/2015.jpg
|
||||||
|
external_url: https://www.youtube.com/watch?v=PzsdcF8EIJg
|
||||||
|
---
|
|
@ -0,0 +1,7 @@
|
||||||
|
---
|
||||||
|
title: "Dataleffa 2016: Datakid"
|
||||||
|
image:
|
||||||
|
path: /assets/images/leffat/2016.jpg
|
||||||
|
thumbnail: /assets/images/leffat/2016.jpg
|
||||||
|
external_url: https://www.youtube.com/watch?v=63Yg1BW1Vi4
|
||||||
|
---
|
|
@ -0,0 +1,7 @@
|
||||||
|
---
|
||||||
|
title: "Dataleffa 2017: Kultaisen MAOLin metsästys"
|
||||||
|
image:
|
||||||
|
path: /assets/images/leffat/2017.jpg
|
||||||
|
thumbnail: /assets/images/leffat/2017.jpg
|
||||||
|
external_url: https://www.youtube.com/watch?v=AqKfGdPVYWc
|
||||||
|
---
|
|
@ -0,0 +1,7 @@
|
||||||
|
---
|
||||||
|
title: "Dataleffa 2018: Datatar, Viimeinen Fysiikantaitaja"
|
||||||
|
image:
|
||||||
|
path: /assets/images/leffat/2018.jpg
|
||||||
|
thumbnail: /assets/images/leffat/2018.jpg
|
||||||
|
external_url: https://www.youtube.com/watch?v=LngGoC5MiZc
|
||||||
|
---
|
|
@ -0,0 +1,7 @@
|
||||||
|
---
|
||||||
|
title: "Dataleffa 2019: Suorakulmaisen pöydän ritarit"
|
||||||
|
image:
|
||||||
|
path: /assets/images/leffat/2019.jpg
|
||||||
|
thumbnail: /assets/images/leffat/2019.jpg
|
||||||
|
external_url: https://www.youtube.com/watch?v=q218vbS7Evw
|
||||||
|
---
|
|
@ -0,0 +1,7 @@
|
||||||
|
---
|
||||||
|
title: "Dataleffa 2020"
|
||||||
|
image:
|
||||||
|
path: /assets/images/leffat/2020.jpg
|
||||||
|
thumbnail: /assets/images/leffat/2020.jpg
|
||||||
|
external_url: https://www.youtube.com/watch?v=0swUUIMR2Fc
|
||||||
|
---
|
|
@ -0,0 +1,7 @@
|
||||||
|
---
|
||||||
|
title: "Dataleffa 2021: Kultatikku"
|
||||||
|
image:
|
||||||
|
path: /assets/images/leffat/2021.jpg
|
||||||
|
thumbnail: /assets/images/leffat/2021.jpg
|
||||||
|
external_url: https://www.youtube.com/watch?v=C9NY2IAmQqE
|
||||||
|
---
|
|
@ -1,29 +0,0 @@
|
||||||
---
|
|
||||||
layout: post
|
|
||||||
title: "Welcome to Jekyll!"
|
|
||||||
date: 2022-08-16 12:55:28 +0300
|
|
||||||
categories: jekyll update
|
|
||||||
---
|
|
||||||
You’ll find this post in your `_posts` directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run `jekyll serve`, which launches a web server and auto-regenerates your site when a file is updated.
|
|
||||||
|
|
||||||
Jekyll requires blog post files to be named according to the following format:
|
|
||||||
|
|
||||||
`YEAR-MONTH-DAY-title.MARKUP`
|
|
||||||
|
|
||||||
Where `YEAR` is a four-digit number, `MONTH` and `DAY` are both two-digit numbers, and `MARKUP` is the file extension representing the format used in the file. After that, include the necessary front matter. Take a look at the source for this post to get an idea about how it works.
|
|
||||||
|
|
||||||
Jekyll also offers powerful support for code snippets:
|
|
||||||
|
|
||||||
{% highlight ruby %}
|
|
||||||
def print_hi(name)
|
|
||||||
puts "Hi, #{name}"
|
|
||||||
end
|
|
||||||
print_hi('Tom')
|
|
||||||
#=> prints 'Hi, Tom' to STDOUT.
|
|
||||||
{% endhighlight %}
|
|
||||||
|
|
||||||
Check out the [Jekyll docs][jekyll-docs] for more info on how to get the most out of Jekyll. File all bugs/feature requests at [Jekyll’s GitHub repo][jekyll-gh]. If you have questions, you can ask them on [Jekyll Talk][jekyll-talk].
|
|
||||||
|
|
||||||
[jekyll-docs]: https://jekyllrb.com/docs/home
|
|
||||||
[jekyll-gh]: https://github.com/jekyll/jekyll
|
|
||||||
[jekyll-talk]: https://talk.jekyllrb.com/
|
|
|
@ -129,74 +129,73 @@
|
||||||
Entries Grid Layout
|
Entries Grid Layout
|
||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
||||||
.entries-grid {
|
.entries-grid {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
|
grid-template-columns: repeat(auto-fill, minmax(calc(max(300px, 25%)), 1fr));
|
||||||
grid-gap: 2em;
|
grid-gap: 2em;
|
||||||
|
|
||||||
.entry {
|
.entry {
|
||||||
display: -webkit-box;
|
display: -webkit-box;
|
||||||
display: -ms-flexbox;
|
display: -ms-flexbox;
|
||||||
display: flex;
|
display: flex;
|
||||||
-webkit-box-orient: vertical;
|
-webkit-box-orient: vertical;
|
||||||
-webkit-box-direction: normal;
|
-webkit-box-direction: normal;
|
||||||
-ms-flex-direction: column;
|
-ms-flex-direction: column;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
margin-bottom: 0;
|
||||||
|
padding-bottom: 2rem;
|
||||||
|
border-bottom: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.entry-title {
|
||||||
|
@include fluid-type($min-vw, $max-vw, 18px, 24px);
|
||||||
|
-webkit-box-ordinal-group: 2;
|
||||||
|
-ms-flex-order: 1;
|
||||||
|
order: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.entry-excerpt,
|
||||||
|
.entry-content {
|
||||||
|
-webkit-box-ordinal-group: 4;
|
||||||
|
-ms-flex-order: 3;
|
||||||
|
order: 3;
|
||||||
|
|
||||||
|
/* remove space after last child element */
|
||||||
|
> *:last-child {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
padding-bottom: 2rem;
|
|
||||||
border-bottom: none;
|
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.entry-title {
|
.entry-excerpt {
|
||||||
@include fluid-type($min-vw, $max-vw, 18px, 24px);
|
/* normalize font sizes */
|
||||||
-webkit-box-ordinal-group: 2;
|
> * {
|
||||||
-ms-flex-order: 1;
|
font-size: 1em;
|
||||||
order: 1;
|
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.entry-excerpt,
|
.entry-meta {
|
||||||
.entry-content {
|
-webkit-box-ordinal-group: 3;
|
||||||
-webkit-box-ordinal-group: 4;
|
-ms-flex-order: 2;
|
||||||
-ms-flex-order: 3;
|
order: 2;
|
||||||
order: 3;
|
margin-bottom: 1em;
|
||||||
|
font-size: 0.75em;
|
||||||
|
|
||||||
/* remove space after last child element */
|
ul {
|
||||||
> *:last-child {
|
li {
|
||||||
margin-bottom: 0;
|
display: inline-block;
|
||||||
}
|
margin-right: 1.5rem;
|
||||||
}
|
|
||||||
|
|
||||||
.entry-excerpt {
|
|
||||||
/* normalize font sizes */
|
|
||||||
> * {
|
|
||||||
font-size: 1em;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.entry-meta {
|
|
||||||
-webkit-box-ordinal-group: 3;
|
|
||||||
-ms-flex-order: 2;
|
|
||||||
order: 2;
|
|
||||||
margin-bottom: 1em;
|
|
||||||
font-size: 0.75em;
|
|
||||||
|
|
||||||
ul {
|
|
||||||
li {
|
|
||||||
display: inline-block;
|
|
||||||
margin-right: 1.5rem;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.more-link {
|
|
||||||
margin-top: -1em;
|
|
||||||
|
|
||||||
a {
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.more-link {
|
||||||
|
margin-top: -1em;
|
||||||
|
|
||||||
|
a {
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.entry-content {
|
.entry-content {
|
||||||
> p:first-child {
|
> p:first-child {
|
||||||
|
|
|
@ -56,10 +56,6 @@ main {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.inner {
|
|
||||||
max-width: $large;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Layout specific adjustments
|
Layout specific adjustments
|
||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
After Width: | Height: | Size: 1.8 MiB |
After Width: | Height: | Size: 99 KiB |
After Width: | Height: | Size: 36 KiB |
After Width: | Height: | Size: 23 KiB |
After Width: | Height: | Size: 119 KiB |
After Width: | Height: | Size: 68 KiB |
After Width: | Height: | Size: 65 KiB |
After Width: | Height: | Size: 134 KiB |
After Width: | Height: | Size: 99 KiB |
After Width: | Height: | Size: 127 KiB |
15
index.md
|
@ -4,11 +4,12 @@
|
||||||
|
|
||||||
layout: home
|
layout: home
|
||||||
hide_posts: true
|
hide_posts: true
|
||||||
|
image: /assets/images/banner.png
|
||||||
introduction: |
|
introduction: |
|
||||||
Otaniemen datojen oma sivu. Täältä löydät [tietoa datoista](/about), datojen [telegram-ryhmän](/telegram) sekä tietenkin [Dataleffat](/leffat).
|
Otaniemen datojen oma sivu. Täältä löydät [tietoa datoista](/about), datojen [telegram-ryhmän](/telegram) sekä tietenkin [dataleffat](/leffat).
|
||||||
actions:
|
actions:
|
||||||
- label: "Telegram-ryhmä"
|
- label: "Telegram-ryhmä"
|
||||||
url: '/telegram'
|
url: "/telegram"
|
||||||
- label: "Uusin dataleffa"
|
- label: "Uusin dataleffa"
|
||||||
url: '/leffa'
|
url: "/leffa"
|
||||||
---
|
---
|
||||||
|
|
|
@ -3,4 +3,9 @@ title: Dataleffat
|
||||||
layout: collection
|
layout: collection
|
||||||
collection: leffat
|
collection: leffat
|
||||||
permalink: /leffat/
|
permalink: /leffat/
|
||||||
---
|
entries_layout: grid
|
||||||
|
show_excerpts: false
|
||||||
|
show_dates: false
|
||||||
|
sort_by: title
|
||||||
|
sort_order: reverse
|
||||||
|
---
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
---
|
||||||
|
layout: page
|
||||||
|
title: Yhdistys
|
||||||
|
permalink: /yhdistys/
|
||||||
|
---
|
||||||
|
|
||||||
|
Datat Ry on datojen yhdistys.
|