{{ define "main" }}

{{ i18n "readingTime" .Page.ReadingTime }} {{- if .IsTranslated }} | {{ i18n "postAvailable" }} {{- range .Translations }} {{- end}} {{- end }}

{{ .Title | 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 .Params.Cover }} {{- partial "image.html" (dict "path" .Params.Cover "alt" (.Title | plainify) "class" "portfolio-cover") }} {{- end }} {{- if .Params.toc }}

{{- end }}
{{ .Content }}
{{- with .Params.skills }}

{{ i18n "portfolio.skillsDeveloped"}}:

    {{- range . }}
  • {{ . }}
  • {{- end }}
{{- end}}

{{- with .Params.tags }}

{{- range . -}} {{.}} {{- end }}

{{- end }}

{{ i18n "wordCount" .Page.WordCount }}

{{- if and (default true .Params.showPageViews) (default true .Site.Params.showPageViews) }} {{- if .Site.Params.goatCounter }}

{{- partial "page_views.html" . -}}

{{- end }} {{- end }} {{- if .GitInfo }}

{{ .GitInfo.AbbreviatedHash }} {{- " @ " -}} {{- if .Site.Params.dateformNum -}} {{ dateFormat .Site.Params.dateformNum .GitInfo.AuthorDate.Local }} {{- else -}} {{ dateFormat "2006-01-02" .GitInfo.AuthorDate.Local }} {{- end }}

{{- end }}
{{- if .Site.Params.EnableSharingButtons }}
{{ partial "sharing-buttons.html" . }}
{{- end }} {{- if and (not $.Site.Params.DisableReadOtherPosts) (or .NextInSection .PrevInSection) }} {{- end }} {{- if .Site.Config.Services.Disqus.Shortname }} {{- if not (eq .Params.Comments "false") }}
{{ template "_internal/disqus.html" . }}
{{- end }} {{- end }}
{{ end }}