From d147e71f52ca03b086a1d6485e544ba2ddce0a78 Mon Sep 17 00:00:00 2001 From: George Cushen Date: Mon, 6 May 2024 23:12:37 +0100 Subject: [PATCH] feat: add show_skill_percentage option --- modules/blox-tailwind/layouts/partials/blox/resume-skills.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/blox-tailwind/layouts/partials/blox/resume-skills.html b/modules/blox-tailwind/layouts/partials/blox/resume-skills.html index 9572e97e..0950b3c1 100644 --- a/modules/blox-tailwind/layouts/partials/blox/resume-skills.html +++ b/modules/blox-tailwind/layouts/partials/blox/resume-skills.html @@ -13,6 +13,7 @@ {{ errorf "Could not find an author page at `%s`. Please check the value of `author` in your Skill block and create an associated author page if one does not already exist. See https://docs.hugoblox.com/page-builder/#about " $person_page_path }} {{end}} {{ $skills := $person_page.Params.skills }} +{{ $show_show_skill_percentage := $block.design.show_skill_percentage | default true }}
@@ -52,7 +53,7 @@ {{ .name | markdownify | emojify }} {{ with .description }}

{{ . | markdownify | emojify }}

{{ end }} - {{ if .percent }} + {{ if .percent | and $show_show_skill_percentage }}