Skip to content
Snippets Groups Projects
Commit edaa3ca2 authored by alexisben's avatar alexisben
Browse files

fix persons list grid

parent 84f87df6
No related branches found
No related tags found
No related merge requests found
......@@ -159,7 +159,6 @@ p
small, .small
@include small
@mixin rich-text
h1, h2, h3, h4, h5, h6, p
margin-top: 2em
......
......@@ -81,15 +81,14 @@ ol.persons
[itemprop="name"]
width: col(5)
[itemprop="jobTitle"]
width: col(7)
width: col(6)
margin-left: $grid-gutter
@include media-breakpoint-down(md)
&::after
position: absolute
right: 0
top: calc(#{$spacing1} + 10px)
.avatar
@include aspect-ratio(50, 'img')
background-color: $persons-avatar-background-color
......
......@@ -4,7 +4,20 @@
<div class="document-content">
{{ partial "blocks/list.html" . }}
<div class="container">
{{ partial "programs/programs-list.html" .Pages }}
<ol class="programs">
{{- range .Pages -}}
<li>
{{- $title := partial "PrepareHTML" .Title -}}
<a href="{{ .Permalink }}" class="title" title="{{ safeHTML (i18n "commons.more_aria" (dict "Title" $title)) }}">
{{- $title -}}
</a>
<div class="description">
{{/* TODO: replace with description_short */}}
{{- partial "PrepareHTML" .Params.description -}}
</div>
</li>
{{- end -}}
</ol>
</div>
</div>
{{ end }}
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