{{ define "main" }}

Portfolio

{{- if .Content }}
{{ .Content }}
{{- end }}
{{ range sort .Data.Pages "Params.end_date" "desc" }}

{{ .Title | markdownify }}

{{ .Params.company_name | markdownify }}
{{- if .Params.start_date }} {{- if eq (printf "%T" .Params.start_date) "time.Time"}} {{ .Params.start_date.Format ($.Site.Params.DateFormatList | default "2006-01-02") }} {{- else }} {{ .Params.start_date }} {{- end }} {{- if eq (printf "%T" .Params.end_date) "time.Time"}} {{- if lt .Params.end_date now }} {{ .Params.end_date.Format ($.Site.Params.DateFormatList | default "2006-01-02") }} {{- else }} Present {{- end }} {{- else }} {{ .Params.end_date }} {{- end }} {{- end }} {{- if $.Site.Params.ShowReadingTimeInList }} — {{ .ReadingTime }} {{ $.Site.Params.MinuteReadingTime | default "min read" }} {{- end }}
{{- if .Params.tags }} {{- range .Params.tags }} #{{ . }}  {{- end }} {{- end }}
{{- with .Description }} {{ . | markdownify }} {{- else }} {{- if .Truncated }} {{ .Summary | markdownify }} {{- end }} {{- end }}
{{- with .Params.skills }}

Skills used:

    {{- range . }}
  • {{ . }}
  • {{- end }}
{{- end}} {{- if not .Params.hideReadMore }}
{{ $.Site.Params.ReadMore | default "Read more" }} →
{{- end }}
{{- if .Params.Cover }}
{{- $img := imageConfig (printf "static/%s" .Params.Cover) }} {{- if .Params.UseRelativeCover }} {{ .Title | plainify | default {{- else }} {{ .Title | plainify | default {{- end }} {{- if .Params.CoverCaption }}
{{ .Params.CoverCaption | markdownify }}
{{- end }}
{{- end }}
{{- end }}
{{ end }}