{{ partial "head/metadata.html" . }} {{ if .Site.Params.plausible }}{{ partial "head/plausible.html" . }}{{ end }} {{ partial "head/openGraph.html" . }} {{ partial "head/favicons.html" . }} {{ partial "head/css.html" . }} {{ partial "css/owlCarousel.html" . }} {{ with .Site.GetPage "/home" }}

{{ .Title | markdownify }}

{{ .Content }}
{{ partial "home/social.html" . }}
{{ end }}
{{ partial "nav.html" . }}
{{ with .Site.GetPage "/home" }} {{ $home := . }} {{ $pages := .Resources.ByType "page" }} {{ with .Site.GetPage "/blog" }} {{ $pages = $pages | append . }} {{ end }} {{ with .Site.GetPage "/projects" }} {{ $pages = $pages | append . }} {{ end }} {{ range sort $pages "Params.weight" }} {{ if ne .Name "contact.md" }} {{ if .File }} {{ if eq (os.Stat .File.Dir).Name "projects" }} {{ partial "home/projects.html" . }} {{ else if eq (os.Stat .File.Dir).Name "blog" }} {{ partial "home/blog.html" . }} {{ else }}

{{ .Title | markdownify }}

{{ if .Params.Image }}
{{ with $home.Resources.GetMatch .Params.Image }} {{ with .Resize "320x" }} {{ .Name }} {{ end }} {{ end }}
{{ .Content }}
{{ else }}
{{ .Content }}
{{ end }}
{{ partial "top-icon.html" . }}

{{ end }} {{ end }} {{ end }} {{ end }} {{ with .Resources.GetMatch "contact.md" }}

{{ .Title | markdownify }}

{{ .Content }}
{{ if .Site.Params.home.localTime }}

{{ i18n "index_currentTime" . }} .

{{ end }} {{ with .Site.Params.email }}

{{ . }}

{{ end }} {{ partial "home/social.html" . }}
{{ partial "top-icon.html" . }}

{{ end }} {{ end }} {{ partial "footer/text.html" . }} {{ partial "footer/scripts.html" . }} {{ partial "js/owlCarousel.html" . }} {{ if .Site.Params.home.localTime }} {{ end }}