Skip to content

Commit

Permalink
fix: made the listings a little nicer on the project infobox
Browse files Browse the repository at this point in the history
  • Loading branch information
fetzu committed Jan 9, 2025
1 parent b5325ac commit 89996dd
Showing 1 changed file with 25 additions and 7 deletions.
32 changes: 25 additions & 7 deletions layouts/partials/modules/infobox.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,34 @@
{{- end -}}
{{- with .diffusion -}}
<div class="category-label">Diffusions</div>
<div class="category-content">{{- $diffusions := delimit . "; " -}}{{ $diffusions }}</div>
{{- end -}}
<div class="category-content">
<ul>
{{- range . }}
<li>{{ . | safeHTML }}</li>
{{- end }}
</ul>
</div>
{{- end }}
{{- with .awards -}}
<div class="category-label">Récompenses</div>
<div class="category-content">{{- $awardss := delimit . "; " -}}{{ $awardss }}</div>
{{- end -}}
<div class="category-label">Awards</div>
<div class="category-content">
<ul>
{{- range . }}
<li>{{ . | safeHTML }}</li>
{{- end }}
</ul>
</div>
{{- end }}
{{- with .nextshowings -}}
<div class="category-label">Prochaines diffusions</div>
<div class="category-content">{{- $nextshowingss := delimit . "; " -}}{{ $nextshowingss }}</div>
{{- end -}}
<div class="category-content">
<ul>
{{- range . }}
<li>{{ . | safeHTML }}</li>
{{- end }}
</ul>
</div>
{{- end }}
{{- with .duree -}}
<div class="category-label">Durée</div>
<div class="category-content">{{- . | safeHTML -}}</div>
Expand Down

0 comments on commit 89996dd

Please sign in to comment.