diff --git a/assets/sass/_theme/sections/persons.sass b/assets/sass/_theme/sections/persons.sass index 7647a7dbdf2b35ea6f55fd548ece616844ae4389..d1a50211230e689f152b798da10da87f8894a54f 100644 --- a/assets/sass/_theme/sections/persons.sass +++ b/assets/sass/_theme/sections/persons.sass @@ -1,3 +1,19 @@ +.persons__page + ol.programs + li + @include icon("arrow-right", "after", px2rem(10), true) + color: inherit + justify-content: flex-start + a + @include stretched-link(before) + color: inherit + p + flex: 1 + &:nth-child(2) + @include small + &:hover + color: $color-accent + .person @include article diff --git a/layouts/partials/persons/programs.html b/layouts/partials/persons/programs.html index df2fa0443ed325ef8d9c6e1ef30108f05d70a8bc..6162aea256e57ef7e05cf412aefb3d7f5c20d144 100644 --- a/layouts/partials/persons/programs.html +++ b/layouts/partials/persons/programs.html @@ -3,15 +3,12 @@ <div class="top"> <h2>{{ i18n "persons.programs" }}</h2> </div> - <table class="table-resume"> - <caption>{{ i18n "persons.programs" }}</caption> - <tbody> - {{ range .programs }} - <tr> - <th>{{ safeHTML (index .Params.teachers_description $slug) }}</th> - <td><a href="{{ .Permalink }}" class="link link-more">{{ safeHTML .Title }}</a></td> - </tr> - {{ end }} - </tbody> - </table> + <ol class="programs" itemscope itemtype="https://schema.org/CreativeWork"> + {{ range .programs }} + <li> + <p itemscope itemtype="https://schema.org/EducationalOccupationalProgram"><a href="{{ .Permalink }}" itemprop="name">{{ safeHTML .Title }}</a></p> + <p itemprop="educationalRole">{{ safeHTML (index .Params.teachers_description $slug) }}</p> + </li> + {{ end }} + </ul> </section>