diff --git a/layouts/index.html b/layouts/index.html index bcce5e1..14f3f63 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -27,6 +27,11 @@ {{ partial "skills.html" . }} {{ end }} + {{ if .Site.Params.volunteering.enable }} + {{ partial "volunteering.html" . }} + {{ end }} + + diff --git a/layouts/partials/volunteering.html b/layouts/partials/volunteering.html new file mode 100644 index 0000000..3051877 --- /dev/null +++ b/layouts/partials/volunteering.html @@ -0,0 +1,19 @@ + + {{ i18n "volunteering" }} + + {{ range .Site.Params.volunteering.list }} + + + + {{ .position }} + {{ .dates }} + + {{ .company }} + + + {{ with .details }}{{ . | markdownify }}{{ end }} + + + {{ end }} + +
{{ with .details }}{{ . | markdownify }}{{ end }}