Skip to content
Snippets Groups Projects
Commit 9c0085d5 authored by Olivia206's avatar Olivia206
Browse files

programs list in person page

parent 0664f18e
No related branches found
No related tags found
No related merge requests found
.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
......
......@@ -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>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment