From 333a96ce3602fbaeefdb7d5705a8c9b1f100a565 Mon Sep 17 00:00:00 2001 From: Cedric Girard Date: Fri, 23 Aug 2019 15:25:50 +0200 Subject: [PATCH] add volunteering section --- layouts/index.html | 5 +++++ layouts/partials/volunteering.html | 19 +++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 layouts/partials/volunteering.html 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 }} + +