diff --git a/layouts/partials/misc/badge.html b/layouts/partials/misc/badge.html new file mode 100644 index 0000000..2a46299 --- /dev/null +++ b/layouts/partials/misc/badge.html @@ -0,0 +1,35 @@ +
+{{ if eq .type "certification" }} + {{/* Verifiable certificate badge from https://www.credly.com */}} +
+ + {{ .name }} + +
+{{ else if eq .type "circular-bar" }} + {{/* Circular bar indicating the level of expertise in a skill */}} + {{ $predefinedColor:= true}} + {{ if hasPrefix .color "#"}} + {{ $predefinedColor = false }} + {{ end }} +
+ + + + + + +
{{ .name }}
+
+{{ end }} +
diff --git a/layouts/partials/misc/soft-skills.html b/layouts/partials/misc/soft-skills.html index cbdc0ae..1517564 100644 --- a/layouts/partials/misc/soft-skills.html +++ b/layouts/partials/misc/soft-skills.html @@ -1,3 +1,4 @@ +{{/* TODO: Delete this file in version v4+ */}}
{{ $predefinedColor:= true}} {{ if hasPrefix .color "#"}} diff --git a/layouts/partials/sections/about.html b/layouts/partials/sections/about.html index 2999b99..3bb02d6 100644 --- a/layouts/partials/sections/about.html +++ b/layouts/partials/sections/about.html @@ -48,6 +48,11 @@
+ {{ range .badges }} + {{ partial "misc/badge.html" . }} + {{ end }} + + {{ range .softSkills }} {{ partial "misc/soft-skills.html" . }} {{ end }}