diff --git a/content/katedra/pracovnici/lapes/index.md b/content/katedra/pracovnici/lapes/index.md index 4fb50bb..0a6f0da 100644 --- a/content/katedra/pracovnici/lapes/index.md +++ b/content/katedra/pracovnici/lapes/index.md @@ -7,5 +7,6 @@ group = "ucitele" email = "jakub.lapes@pedf.cuni.cz" phone = "+420 221 900 239" sis = "18014" +homepage = "https://kraken.pedf.cuni.cz/~lapej2ap/" +++ diff --git a/content/katedra/pracovnici/leipert/index.md b/content/katedra/pracovnici/leipert/index.md index 1ee28bd..2b072f2 100644 --- a/content/katedra/pracovnici/leipert/index.md +++ b/content/katedra/pracovnici/leipert/index.md @@ -7,5 +7,6 @@ group = "ucitele" email = "jiri.leipert@pedf.cuni.cz" phone = "+420 221 900 235" sis = "02772" +homepage = "https://www.leipert.cz" +++ diff --git a/sass/main.scss b/sass/main.scss index 2b337e9..1bbb1e3 100644 --- a/sass/main.scss +++ b/sass/main.scss @@ -228,7 +228,7 @@ main { a:hover { text-decoration: underline } } - .mail, .tel, .cal { + .mail, .tel, .cal, .homepage { display: flex; align-items: center; @@ -241,6 +241,7 @@ main { .mail::before { content: "\e90e" } .tel::before { content: "\e913" } .cal::before { content: "\e905" } + .homepage::before { content: "\e907" } } .people-profile .info { @@ -272,7 +273,6 @@ main { .people-list { - h1 { margin-bottom: 0 } h2 { margin: 3rem 0; diff --git a/templates/macros.html b/templates/macros.html index 65aad80..678fca2 100644 --- a/templates/macros.html +++ b/templates/macros.html @@ -162,6 +162,11 @@ {{ profile.extra.phone }} {% endif %} + {% if profile.extra.homepage %} +
+ {{ profile.extra.homepage | replace(from="https://", to="") | replace(from="http://", to="") }} +
+ {% endif %} {% if profile.extra.sis %}
Rozvrh