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

{{ .Title }}

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

{{ .Title }}

{{ 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 }} {{ with .Resources.GetMatch "contact.md" }}

{{ .Title }}

{{ .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 }} {{ $momentjs := resources.Get "/vendor/momentjs/moment.min.js" }} {{ $momentTimezone := resources.Get "/vendor/momentjs/moment-timezone.min.js" }} {{ $momentTimezoneWithData := resources.Get "/vendor/momentjs/moment-timezone-with-data-2012-2022.min.js" }} {{ $initMomentjs := resources.Get "/js/initMoment.js" | resources.ExecuteAsTemplate "js/initMoment.tmp.js" . }} {{ $bundleMoment := slice $momentjs $momentTimezone $momentTimezoneWithData $initMomentjs | resources.Concat "/js/bundleMoment.js" | fingerprint }} {{ end }}