diff --git a/sass/homeassistant/_overrides.scss b/sass/homeassistant/_overrides.scss index 0e6c7c67b91..8479156d73f 100644 --- a/sass/homeassistant/_overrides.scss +++ b/sass/homeassistant/_overrides.scss @@ -1079,6 +1079,18 @@ article.listing { } +.author-avatar { + position: relative; + width: 40px; + height: 40px; + border-radius: 24px !important; + vertical-align: middle; + margin: 0 8px 0 0; + border: 2px solid rgba(0,0,0,.1) !important; + box-shadow: none !important; +} + + lite-youtube { position: relative; display: block; diff --git a/sass/homeassistant/base/_post.scss b/sass/homeassistant/base/_post.scss index e590ade6517..2735acac292 100644 --- a/sass/homeassistant/base/_post.scss +++ b/sass/homeassistant/base/_post.scss @@ -101,7 +101,8 @@ article { } + hr { border: none; - border-bottom: 1px solid $primary-color; + border-bottom: 2px solid $grayLighter; + margin: 2em 0 2.5em; } } diff --git a/source/_data/people.yml b/source/_data/people.yml new file mode 100644 index 00000000000..a26451c9c2b --- /dev/null +++ b/source/_data/people.yml @@ -0,0 +1,79 @@ +Paulus Schoutsen: + name: Paulus Schoutsen + github: balloob + +Pascal Vizeli: + name: Pascal Vizeli + github: pvizeli + +Franck Nijhof: + name: Franck Nijhof + github: frenck + +Bram Kragten: + name: Bram Kragten + github: bramkragten + +Madelena Mak: + name: Madelena Mak + github: madelena + +Guy Sie: + name: Guy Sie + github: GuySie + +Gordon Cameron: + name: Gordon Cameron + github: googanhiem + +Uwe Bernitt: + name: Uwe Bernitt + github: b-uwe + +Jean-Loïc Pouffier: + name: Jean-Loïc Pouffier + github: jlpouffier + +Stefan Agner: + name: Stefan Agner + github: agners + +Bruno Pantaleão: + name: Bruno Pantaleão + github: bgoncal + +Matthias de Baat: + name: Matthias de Baat + github: matthiasdebaat + +Marcel van der Veldt: + name: Marcel van der Veldt + github: marcelveldt + +Mike Hansen: + name: Mike Hansen + github: synesthesiam + +Paul Bottein: + name: Paul Bottein + github: piitaya + +Zack Barett: + name: Zack Barett + github: zsarnett + +Joris Pelgröm: + name: Joris Pelgröm + github: jpelgrom + +Daniel Shokouhi: + name: Daniel Shokouhi + github: dshokouhi + +Zac West: + name: Zac West + github: zacwest + +Klaas Schoute: + name: Klaas Schoute + github: klaasnicolaas diff --git a/source/_includes/blog/post/article.html b/source/_includes/blog/post/article.html index 19d0537c7d8..bb2ec5ddbe7 100644 --- a/source/_includes/blog/post/article.html +++ b/source/_includes/blog/post/article.html @@ -9,8 +9,8 @@ {% unless post.meta == false %}
- {% include blog/post/date.html %}{{ time }} {% include post/author.html %} + {% include blog/post/date.html %}{{ time }} {% include blog/post/tags.html %} {% if page.comments != false and post.comments != false %} {% icon "mdi:person" %} {{ author }}{% endif %} +{% if author %} + {% assign person = site.data.people[author] %} + {% if person %} + + + {% else %} + {% icon "mdi:person" %} {{ author }} + {% endif %} +{% endif %}