Skip to content

Commit

Permalink
hide some community engagements on print (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
karlhaworth committed Mar 18, 2024
1 parent f6c1972 commit a3e776f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/partials/community_engagements.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<section class="grid md:grid-cols-6 print:grid-cols-6 grid-cols-1">
<h5 id="communityEngagements">Community Engagements</h5>
<div class="col-span-5">
{{ range $communityEngagements }}
<div class="grid sm:grid-cols-4 print:grid-cols-4 grid-cols-1 {{ if .skip_print }} print:hidden {{end}}">
{{ range $index, $element := $communityEngagements }}
<div class="grid sm:grid-cols-4 print:grid-cols-4 grid-cols-1 {{ if .skip_print }} print:hidden {{end}} {{ if gt $index 4 }} print:hidden {{ end }}">
<div class="col-span-3">
<strong><a target="_blank" href="{{ .link }}">{{ .name }}</a> - {{ .forum }}</strong>
</div>
Expand Down

0 comments on commit a3e776f

Please sign in to comment.