From 0d0ab1b2ed083708a0f033dd63c758b32a32ab73 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Wed, 4 Jun 2025 12:05:07 +0200 Subject: Update the work structure/templates and styling This template edits allows having multiple positions in the same company --- layouts/partials/home/work.html | 30 ++++++++++++++++++++---------- 1 file changed, 20 insertions(+), 10 deletions(-) (limited to 'layouts') diff --git a/layouts/partials/home/work.html b/layouts/partials/home/work.html index c3e38be..3cdfe8b 100644 --- a/layouts/partials/home/work.html +++ b/layouts/partials/home/work.html @@ -1,20 +1,30 @@

Work Experience

{{ range . }} -
-
-

{{ .Company | safeHTML }}

- {{ .Title }} - {{ .Duration }} - {{ .Location }} -
-

{{ .Note | safeHTML }}

-
    +
    + {{ if .Link }} +

    + {{ .Company }} +

    + {{ else }} +

    {{ .Company }}

    + {{ end }} + {{ .Location }} + {{ range .Positions }} + {{ .Title }} + {{ .Duration }} + {{ end }} + {{ if .Note }} +

    {{ .Note | safeHTML }}

    + {{ end }} +
      {{ range .Tasks }}
    • {{ . | safeHTML }}
    • {{ end }}
    -

    {{ .FootNote | safeHTML }}

    + {{ if .FootNote }} +

    {{ .FootNote | safeHTML }}

    + {{ end }}
    {{ end }}
-- cgit v1.2.3