diff --git a/content/katedra/pracovnici/battistova/index.md b/content/katedra/pracovnici/battistova/index.md index e37a21d..d3abad7 100644 --- a/content/katedra/pracovnici/battistova/index.md +++ b/content/katedra/pracovnici/battistova/index.md @@ -4,6 +4,7 @@ weight = 4 [extra] group = "vedeni" +color = "#B48EAD" role = "Studijní referent, Garant elektronického zápisu pro KITTV" email = "eva.battistova@pedf.cuni.cz" phone = "+420 221 900 141" diff --git a/content/katedra/pracovnici/prochazka/index.md b/content/katedra/pracovnici/prochazka/index.md index 747d17a..b683bcd 100644 --- a/content/katedra/pracovnici/prochazka/index.md +++ b/content/katedra/pracovnici/prochazka/index.md @@ -4,6 +4,7 @@ weight = 2 [extra] group = "vedeni" +color = "#B48EAD" role = "Zástupce vedoucího katedry" email = "josef.prochazka@pedf.cuni.cz" phone = "+420 221 900 327" diff --git a/content/katedra/pracovnici/stipek/index.md b/content/katedra/pracovnici/stipek/index.md index a1c2450..aeeec3f 100644 --- a/content/katedra/pracovnici/stipek/index.md +++ b/content/katedra/pracovnici/stipek/index.md @@ -4,6 +4,7 @@ weight = 1 [extra] group = "vedeni" +color = "#B48EAD" role = "Vedoucí katedry" email = "jirka.stipek@gmail.com" phone = "+420 221 900 327" diff --git a/content/katedra/pracovnici/vankova/index.md b/content/katedra/pracovnici/vankova/index.md index c00430b..d454cae 100644 --- a/content/katedra/pracovnici/vankova/index.md +++ b/content/katedra/pracovnici/vankova/index.md @@ -4,6 +4,7 @@ weight = 3 [extra] group = "vedeni" +color = "#B48EAD" role = "Tajemnice" email = "petra.vankova@pedf.cuni.cz" phone = "+420 221 900 140" diff --git a/sass/main.scss b/sass/main.scss index 123d419..2d9078e 100644 --- a/sass/main.scss +++ b/sass/main.scss @@ -329,7 +329,7 @@ main { align-items: flex-start; text-align: left; padding-top: 2em; - border-top: 5px solid $light-blue; + border-top: 5px solid var(--color); img { width: 8rem; @@ -347,6 +347,7 @@ main { font-size: 1.3em; margin-bottom: .3em; } + .role { color: var(--color) } .other { flex-direction: column; margin-top: 1em; diff --git a/templates/macros.html b/templates/macros.html index 15d4f7a..f567ad8 100644 --- a/templates/macros.html +++ b/templates/macros.html @@ -133,7 +133,13 @@
{% for page in section.pages %} {% if page.extra.group and page.extra.group == group %} -
+
{{ macro::profile_picture(profile=page) }}