From 0e0251936b3c267a6e760562e704c34d0e8666ad Mon Sep 17 00:00:00 2001 From: Serghei Cebotari Date: Sat, 2 Dec 2023 23:16:25 +0300 Subject: Organize sections --- layouts/partials/sections/experience.html | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 layouts/partials/sections/experience.html (limited to 'layouts/partials/sections/experience.html') diff --git a/layouts/partials/sections/experience.html b/layouts/partials/sections/experience.html new file mode 100644 index 0000000..5e25f37 --- /dev/null +++ b/layouts/partials/sections/experience.html @@ -0,0 +1,21 @@ +{{ with .Site.GetPage "/experience"}} +

Experience

+{{ range sort (.Pages) "Params.start_date" "desc" }} + + + + + + + + + + + +
{{ .Title }} + {{ with .Params.start_date }}{{ time.Format "Jan 2006" . }}{{ end }} – + {{ with .Params.end_date }}{{ time.Format "Jan 2006" . }}{{ else }}{{ "Present" }}{{ end }} +
{{with .Params.workplace}}{{ . }}{{ end }}{{ with .Params.location}}{{ . }}{{ end }}
+{{ .Content }} +{{ end }} +{{ end }} \ No newline at end of file -- cgit v1.2.3