diff --git a/packages/marko-web-theme-default/components/content/contact-details/index.marko b/packages/marko-web-theme-default/components/content/contact-details/index.marko index 873d3b71d..3f24e64ad 100644 --- a/packages/marko-web-theme-default/components/content/contact-details/index.marko +++ b/packages/marko-web-theme-default/components/content/contact-details/index.marko @@ -16,6 +16,8 @@ $ const fields = ["title", "website"]; $ if (showEmail) fields.push("publicEmail"); $ const showFields = fields.some(k => content[k]); +$ const websiteLinkAttrs = getAsObject(input, "websiteLinkAttrs"); + content[k]); - + diff --git a/packages/marko-web-theme-default/components/content/contact-details/marko.json b/packages/marko-web-theme-default/components/content/contact-details/marko.json index fac6c5add..2e7e1ba03 100644 --- a/packages/marko-web-theme-default/components/content/contact-details/marko.json +++ b/packages/marko-web-theme-default/components/content/contact-details/marko.json @@ -12,7 +12,8 @@ }, "@class": "string", "@modifiers": "array", - "@attrs": "object" + "@attrs": "object", + "@website-link-attrs": "object" }, "": { "template": "./section.marko",