diff --git a/src/pages/pdf.astro b/src/pages/pdf.astro index 2e30076..5fdfc3e 100644 --- a/src/pages/pdf.astro +++ b/src/pages/pdf.astro @@ -13,6 +13,8 @@ const { config, sections } = cv( renameSkillSet('I speak', 'Languages'), hideProject('Disco Ninjas') ); + +const shouldRenderSection = (section: keyof typeof sections) => sections[section] && sections[section].config.visible; --- @@ -23,11 +25,11 @@ const { config, sections } = cv(