12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- {{ $ := .root }}
- {{ $page := .page }}
- {{ $columns := $page.Params.design.columns | default "2" }}
- <!-- Accomplishments widget -->
- <div class="col-12 {{if eq $columns "2"}}col-lg-8{{end}}">
- {{ with $page.Content }}{{ . }}{{ end }}
- {{ if $page.Params.item }}
- {{ range $idx, $key := sort $page.Params.item ".date_start" "desc" }}
- <div class="card experience course">
- <div class="card-body">
- {{- with .url -}}<a href="{{.}}" target="_blank" rel="noopener">{{- end -}}
- <h4 class="card-title exp-title text-muted my-0">{{.title | markdownify | emojify}}</h4>
- {{- with .url -}}</a>{{- end -}}
- <div class="card-subtitle my-0 article-metadata">
- {{- with .organization_url}}<a href="{{.}}" target="_blank" rel="noopener">{{end -}}
- {{- .organization | markdownify | emojify -}}
- {{- with .organization_url}}</a>{{end -}}
- <span class="middot-divider"></span>
- {{ (time .date_start).Format ($page.Params.date_format | default "Jan 2006") }}
- {{ if .date_end}}
- – {{ (time .date_end).Format ($page.Params.date_format | default "Jan 2006") }}
- {{end}}
- </div>
- {{with .description}}
- <div class="card-text">{{. | markdownify | emojify}}</div>
- {{end}}
- {{ with .certificate_url }}
- <a class="card-link" href="{{.}}" target="_blank" rel="noopener">
- {{ i18n "see_certificate" | default "See certificate" }}
- </a>
- {{ end }}
- </div>
- </div>
- {{end}}
- {{end}}
- </div>
|