Add basic personnel profile pages
@ -1,5 +1,6 @@
|
||||
+++
|
||||
title = "Personál"
|
||||
template = "personnel.html"
|
||||
sort_by = "weight"
|
||||
page_template = "page.html"
|
||||
+++
|
||||
|
BIN
content/personal/anezka-kolesova/anezka-kolesova.jpg
Normal file
After Width: | Height: | Size: 38 KiB |
7
content/personal/anezka-kolesova/index.md
Normal file
@ -0,0 +1,7 @@
|
||||
+++
|
||||
weight = 3
|
||||
|
||||
[extra]
|
||||
name = "Anežka Kolešová"
|
||||
role = "Instruktor"
|
||||
+++
|
BIN
content/personal/bara-vavrinova/bara-vavrinova.jpg
Normal file
After Width: | Height: | Size: 19 KiB |
7
content/personal/bara-vavrinova/index.md
Normal file
@ -0,0 +1,7 @@
|
||||
+++
|
||||
weight = 3
|
||||
|
||||
[extra]
|
||||
name = "Bára Vavřínová"
|
||||
role = "Instruktor"
|
||||
+++
|
7
content/personal/dalibor-brabec/index.md
Normal file
@ -0,0 +1,7 @@
|
||||
+++
|
||||
weight = 3
|
||||
|
||||
[extra]
|
||||
name = "Dalibor Brabec"
|
||||
role = "Instruktor"
|
||||
+++
|
7
content/personal/david-maly/index.md
Normal file
@ -0,0 +1,7 @@
|
||||
+++
|
||||
weight = 7
|
||||
|
||||
[extra]
|
||||
name = "David Malý"
|
||||
role = "Hospodář"
|
||||
+++
|
BIN
content/personal/emil-miler/emil-miler.jpg
Normal file
After Width: | Height: | Size: 540 KiB |
7
content/personal/emil-miler/index.md
Normal file
@ -0,0 +1,7 @@
|
||||
+++
|
||||
weight = 2
|
||||
|
||||
[extra]
|
||||
name = "Emil Miler"
|
||||
role = "Oddílák"
|
||||
+++
|
7
content/personal/hanka-mala/index.md
Normal file
@ -0,0 +1,7 @@
|
||||
+++
|
||||
weight = 6
|
||||
|
||||
[extra]
|
||||
name = "Hanka Malá"
|
||||
role = "Kuchař"
|
||||
+++
|
7
content/personal/hanka-vajsejtlova/index.md
Normal file
@ -0,0 +1,7 @@
|
||||
+++
|
||||
weight = 3
|
||||
|
||||
[extra]
|
||||
name = "Hanka Vajsejtlová"
|
||||
role = "Instruktor"
|
||||
+++
|
BIN
content/personal/honza-kubicek/honza-kubicek.jpg
Normal file
After Width: | Height: | Size: 49 KiB |
7
content/personal/honza-kubicek/index.md
Normal file
@ -0,0 +1,7 @@
|
||||
+++
|
||||
weight = 99
|
||||
|
||||
[extra]
|
||||
name = "Honza Kubíček"
|
||||
role = "Hlavas na dovolené"
|
||||
+++
|
7
content/personal/jan-sruc/index.md
Normal file
@ -0,0 +1,7 @@
|
||||
+++
|
||||
weight = 2
|
||||
|
||||
[extra]
|
||||
name = "Jan Šruc"
|
||||
role = "Oddílák"
|
||||
+++
|
BIN
content/personal/jan-sruc/jan-sruc.jpg
Normal file
After Width: | Height: | Size: 19 KiB |
7
content/personal/janca-blahoudkova/index.md
Normal file
@ -0,0 +1,7 @@
|
||||
+++
|
||||
weight = 2
|
||||
|
||||
[extra]
|
||||
name = "Janča Blahoudková"
|
||||
role = "Oddílák"
|
||||
+++
|
BIN
content/personal/janca-blahoudkova/janca-blahoudkova.jpg
Normal file
After Width: | Height: | Size: 45 KiB |
7
content/personal/jara-dryml/index.md
Normal file
@ -0,0 +1,7 @@
|
||||
+++
|
||||
weight = 5
|
||||
|
||||
[extra]
|
||||
name = "Jára Dryml"
|
||||
role = "Technik"
|
||||
+++
|
7
content/personal/jindra-jobbik/index.md
Normal file
@ -0,0 +1,7 @@
|
||||
+++
|
||||
weight = 7
|
||||
|
||||
[extra]
|
||||
name = "Jindra Jobbik"
|
||||
role = "Hospodář"
|
||||
+++
|
7
content/personal/kacka-kolarova/index.md
Normal file
@ -0,0 +1,7 @@
|
||||
+++
|
||||
weight = 3
|
||||
|
||||
[extra]
|
||||
name = "Kačka Kolářová"
|
||||
role = "Instruktor"
|
||||
+++
|
@ -1,4 +1,6 @@
|
||||
+++
|
||||
weight = 2
|
||||
|
||||
[extra]
|
||||
name = "Kamil Koza"
|
||||
role = "Oddílák, Hokr"
|
||||
|
BIN
content/personal/kamil-koza/kamil-koza.jpg
Normal file
After Width: | Height: | Size: 44 KiB |
7
content/personal/karel-matousek/index.md
Normal file
@ -0,0 +1,7 @@
|
||||
+++
|
||||
weight = 6
|
||||
|
||||
[extra]
|
||||
name = "Karel Matoušek"
|
||||
role = "Kuchař"
|
||||
+++
|
7
content/personal/kristyna-dusova/index.md
Normal file
@ -0,0 +1,7 @@
|
||||
+++
|
||||
weight = 3
|
||||
|
||||
[extra]
|
||||
name = "Kristýna Dusová"
|
||||
role = "Instruktor"
|
||||
+++
|
7
content/personal/lucka-odradovcova/index.md
Normal file
@ -0,0 +1,7 @@
|
||||
+++
|
||||
weight = 3
|
||||
|
||||
[extra]
|
||||
name = "Lucka Odradovcová"
|
||||
role = "Instruktor"
|
||||
+++
|
7
content/personal/lukas-bruzek/index.md
Normal file
@ -0,0 +1,7 @@
|
||||
+++
|
||||
weight = 2
|
||||
|
||||
[extra]
|
||||
name = "Lukáš Brůžek"
|
||||
role = "Oddílák"
|
||||
+++
|
BIN
content/personal/lukas-bruzek/lukas-bruzek.jpg
Normal file
After Width: | Height: | Size: 34 KiB |
7
content/personal/martin-kocourek/index.md
Normal file
@ -0,0 +1,7 @@
|
||||
+++
|
||||
weight = 5
|
||||
|
||||
[extra]
|
||||
name = "Martin Kocourek"
|
||||
role = "Technik"
|
||||
+++
|
BIN
content/personal/martin-kocourek/martin-kocourek.jpg
Normal file
After Width: | Height: | Size: 50 KiB |
7
content/personal/martina-babakova/index.md
Normal file
@ -0,0 +1,7 @@
|
||||
+++
|
||||
weight = 3
|
||||
|
||||
[extra]
|
||||
name = "Martina Babáková"
|
||||
role = "Instruktor"
|
||||
+++
|
7
content/personal/micha-michalova/index.md
Normal file
@ -0,0 +1,7 @@
|
||||
+++
|
||||
weight = 2
|
||||
|
||||
[extra]
|
||||
name = "Míša Michalová"
|
||||
role = "Oddílák"
|
||||
+++
|
7
content/personal/michal-roucka/index.md
Normal file
@ -0,0 +1,7 @@
|
||||
+++
|
||||
weight = 1
|
||||
|
||||
[extra]
|
||||
name = "Michal Roučka"
|
||||
role = "Hlavní vedoucí"
|
||||
+++
|
BIN
content/personal/michal-roucka/michal-roucka.jpg
Normal file
After Width: | Height: | Size: 24 KiB |
7
content/personal/mirka-liskova/index.md
Normal file
@ -0,0 +1,7 @@
|
||||
+++
|
||||
weight = 4
|
||||
|
||||
[extra]
|
||||
name = "Mirka Lišková"
|
||||
role = "Zdravotník"
|
||||
+++
|
7
content/personal/ondra-slavik/index.md
Normal file
@ -0,0 +1,7 @@
|
||||
+++
|
||||
weight = 2
|
||||
|
||||
[extra]
|
||||
name = "Ondra Slavík"
|
||||
role = "Oddílák"
|
||||
+++
|
BIN
content/personal/ondra-slavik/ondra-slavik.jpg
Normal file
After Width: | Height: | Size: 22 KiB |
7
content/personal/pavel-kacirek/index.md
Normal file
@ -0,0 +1,7 @@
|
||||
+++
|
||||
weight = 5
|
||||
|
||||
[extra]
|
||||
name = "Pavel Kačírek"
|
||||
role = "Technik"
|
||||
+++
|
BIN
content/personal/pavel-kacirek/pavel-kacirek.jpg
Normal file
After Width: | Height: | Size: 37 KiB |
7
content/personal/pavel-sebera/index.md
Normal file
@ -0,0 +1,7 @@
|
||||
+++
|
||||
weight = 5
|
||||
|
||||
[extra]
|
||||
name = "Pavel Sebera"
|
||||
role = "Technik"
|
||||
+++
|
7
content/personal/petra-skotnicova/index.md
Normal file
@ -0,0 +1,7 @@
|
||||
+++
|
||||
weight = 2
|
||||
|
||||
[extra]
|
||||
name = "Petra Skotnicová"
|
||||
role = "Oddílák"
|
||||
+++
|
7
content/personal/sarka-seberova/index.md
Normal file
@ -0,0 +1,7 @@
|
||||
+++
|
||||
weight = 4
|
||||
|
||||
[extra]
|
||||
name = "Šárka Seberová"
|
||||
role = "Zdravotník"
|
||||
+++
|
7
content/personal/standa-skotnica/index.md
Normal file
@ -0,0 +1,7 @@
|
||||
+++
|
||||
weight = 7
|
||||
|
||||
[extra]
|
||||
name = "Standa Skotnica"
|
||||
role = "Hospodář"
|
||||
+++
|
BIN
content/personal/standa-skotnica/standa-skotnica.jpg
Normal file
After Width: | Height: | Size: 51 KiB |
7
content/personal/terka-janova/index.md
Normal file
@ -0,0 +1,7 @@
|
||||
+++
|
||||
weight = 3
|
||||
|
||||
[extra]
|
||||
name = "Terka Jánová"
|
||||
role = "Instruktor"
|
||||
+++
|
BIN
content/personal/terka-janova/terka-janova.jpg
Normal file
After Width: | Height: | Size: 51 KiB |
7
content/personal/tomas-bruzek/index.md
Normal file
@ -0,0 +1,7 @@
|
||||
+++
|
||||
weight = 3
|
||||
|
||||
[extra]
|
||||
name = "Tomáš Brůžek"
|
||||
role = "Instruktor"
|
||||
+++
|
7
content/personal/tomas-zdobnicky/index.md
Normal file
@ -0,0 +1,7 @@
|
||||
+++
|
||||
weight = 0
|
||||
|
||||
[extra]
|
||||
name = "Tomáš Zdobnický"
|
||||
role = "Předseda"
|
||||
+++
|
BIN
content/personal/tomas-zdobnicky/tomas-zdobnicky.jpg
Normal file
After Width: | Height: | Size: 69 KiB |
7
content/personal/venca-trestik/index.md
Normal file
@ -0,0 +1,7 @@
|
||||
+++
|
||||
weight = 6
|
||||
|
||||
[extra]
|
||||
name = "Venca Třeštík"
|
||||
role = "Kuchař"
|
||||
+++
|
7
content/personal/verca-pekarova/index.md
Normal file
@ -0,0 +1,7 @@
|
||||
+++
|
||||
weight = 2
|
||||
|
||||
[extra]
|
||||
name = "Verča Pekařová"
|
||||
role = "Oddílák"
|
||||
+++
|
7
content/personal/verca-rouckova/index.md
Normal file
@ -0,0 +1,7 @@
|
||||
+++
|
||||
weight = 1
|
||||
|
||||
[extra]
|
||||
name = "Verča Roučková"
|
||||
role = "Hlavní vedoucí"
|
||||
+++
|
BIN
content/personal/verca-rouckova/verca-rouckova.jpg
Normal file
After Width: | Height: | Size: 56 KiB |
13
sass/_grid.scss
Normal file
@ -0,0 +1,13 @@
|
||||
.grid {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr;
|
||||
gap: 1em;
|
||||
}
|
||||
|
||||
.grid-2 { grid-template-columns: 1fr 1fr }
|
||||
.grid-3 { grid-template-columns: 1fr 1fr 1fr }
|
||||
.grid-4 { grid-template-columns: 1fr 1fr 1fr 1fr }
|
||||
.grid-5 { grid-template-columns: 1fr 1fr 1fr 1fr 1fr }
|
||||
|
||||
.gap-2 { gap: 2em }
|
||||
.gap-3 { gap: 3em }
|
15
sass/_personnel.scss
Normal file
@ -0,0 +1,15 @@
|
||||
.personnel {
|
||||
.person {
|
||||
text-align: center;
|
||||
|
||||
img {
|
||||
border-radius: 1em;
|
||||
margin-bottom: 1em;
|
||||
filter: drop-shadow(0 0 10px rgba(0,0,0,0.3));
|
||||
}
|
||||
|
||||
.name {
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
}
|
@ -1,4 +1,6 @@
|
||||
@import "fonts";
|
||||
@import "grid";
|
||||
@import "personnel";
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
@ -31,7 +33,7 @@ body {
|
||||
|
||||
.wrap {
|
||||
width: 100%;
|
||||
max-width: 50em;
|
||||
max-width: 80em;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
BIN
static/img/placeholder.jpg
Normal file
After Width: | Height: | Size: 15 KiB |
@ -10,7 +10,18 @@
|
||||
|
||||
{% macro personnel() %}
|
||||
{% for person in section.pages %}
|
||||
{{ person.extra.name }}
|
||||
{{ person.extra.role }}
|
||||
{%- set_global image = "/static/img/placeholder.jpg" %}
|
||||
{%- for asset in person.assets %}
|
||||
{%- if asset is matching(person.slug~"[.](jpg|png)$") %}
|
||||
{%- set_global image = asset %}
|
||||
{%- break %}
|
||||
{% endif %}
|
||||
{%- endfor %}
|
||||
{%- set image = resize_image(path=image, width=300, height=300, op="fill") %}
|
||||
<div class="person">
|
||||
<img src="{{ image.url }}" alt={{ person.extra.name }}>
|
||||
<div class="name">{{ person.extra.name }}</div>
|
||||
<div class="role">{{ person.extra.role }}</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% endmacro %}
|
||||
|
@ -1,7 +1,12 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block content %}
|
||||
<section class="personnel">
|
||||
<section class="wrap">
|
||||
{{ section.content | safe }}
|
||||
</section>
|
||||
<section class="wrap personnel">
|
||||
<div class="grid grid-5 gap-3">
|
||||
{{ macros::personnel() }}
|
||||
</div>
|
||||
</section>
|
||||
{% endblock %}
|
||||
|