{{ define "main" }}

Portfolio

{{- if and .Content (not .Paginator.HasPrev) }}
{{ .Content }}
{{- end }}
{{ range sort .Data.Pages "Params.end_date" "desc" }}

{{ .Title | markdownify }}

{{ .Params.company_name | markdownify }}
{{- if .Params.start_date }} {{- $dateFormat := default "Jan, 2006" .Site.Params.dateformMonth }} {{ dateFormat $dateFormat .Params.start_date }} {{- if and .Params.end_date (lt .Params.end_date now) }} {{ dateFormat $dateFormat .Params.end_date }} {{- else }} {{ i18n "post.present" }} {{- 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 developed:

    {{- range . }}
  • {{ . }}
  • {{- end }}
{{- end}} {{- if not .Params.hideReadMore }}
{{ $.Site.Params.ReadMore | default "Read more" }} →
{{- end }}
{{- if .Params.Cover }}
{{- partial "image.html" (dict "path" .Params.Cover "alt" (.Title | plainify)) }} {{- if .Params.CoverCaption }}
{{ .Params.CoverCaption | markdownify }}
{{- end }}
{{- end }}
{{- end }}
{{ end }}