{{/* Hugo Blox: Accomplishments */}} {{/* Documentation: https://hugoblox.com/blocks/ */}} {{/* License: https://github.com/HugoBlox/hugo-blox-builder/blob/main/LICENSE.md */}} {{/* Initialise */}} {{ $page := .wcPage }} {{ $block := .wcBlock }} {{ $columns := $block.design.columns | default "1" }}
{{ with $block.content.text }}{{ . | emojify | $page.RenderString }}{{ end }} {{ if $block.content.items }} {{ range $idx, $key := sort $block.content.items ".date_start" "desc" }}
{{- $icon := .icon | default (replace (lower .organization) " " "_") }} {{- $svg_icon := resources.Get (printf "media/icons/brands/%s.svg" $icon) -}} {{- if $svg_icon }}
{{- with .organization_url}}{{end -}} {{.organization | plainify}} {{- with .organization_url}}{{end -}}
{{ end }} {{- with .url -}}{{- end -}}
{{.title | markdownify | emojify}}
{{- with .url -}}
{{- end -}} {{- if $svg_icon}}
{{end}} {{with .description}}
{{. | markdownify | emojify}}
{{end}} {{ with .certificate_url }} {{ i18n "see_certificate" | default "See certificate" }} {{ end }}
{{end}} {{end}}