diff --git a/wowchemy-cms/README.md b/wowchemy-cms/README.md index e0922240..3f538b55 100644 --- a/wowchemy-cms/README.md +++ b/wowchemy-cms/README.md @@ -31,6 +31,7 @@ Built upon the open source [Netlify CMS](https://www.netlifycms.org/) and [Netli 3. (Optional) If your Git repository's branch is **not** `main`, define it in `config/_default/params.yaml`: ```yaml - cms: - branch: master + extensions: + cms: + branch: master ``` diff --git a/wowchemy/layouts/partials/jsonld/business.html b/wowchemy/layouts/partials/jsonld/business.html index a24ecd8b..3e96f437 100644 --- a/wowchemy/layouts/partials/jsonld/business.html +++ b/wowchemy/layouts/partials/jsonld/business.html @@ -7,14 +7,14 @@ "name": {{site.Params.marketing.seo.org_name | default site.Title}}, "logo": {{ partial "functions/get_logo_url" . }}, {{with $sharing_image}}"image": {{.Permalink}},{{end}} - {{ if (eq site.Params.marketing.seo.site_type "LocalBusiness") | and site.Params.coordinates }} + {{ if (eq site.Params.marketing.seo.site_type "LocalBusiness") | and site.Params.marketing.seo.coordinates }} "geo": { "@type": "GeoCoordinates", - "latitude": {{site.Params.coordinates.latitude}}, - "longitude": {{site.Params.coordinates.longitude}} + "latitude": {{site.Params.marketing.seo.coordinates.latitude}}, + "longitude": {{site.Params.marketing.seo.coordinates.longitude}} }, {{end}} - {{ with site.Params.address }} + {{ with site.Params.marketing.seo.address }} "address": { "@type": "PostalAddress", "streetAddress": {{ .street | default "" }}, @@ -24,7 +24,7 @@ "addressCountry": {{ .country_code | default .country | default "" }} }, {{end}} - {{ with site.Params.phone }}"telephone": {{.}},{{end}} + {{ with site.Params.marketing.seo.phone }}"telephone": {{.}},{{end}} "url": {{site.BaseURL}} } diff --git a/wowchemy/layouts/partials/widgets/contact.html b/wowchemy/layouts/partials/widgets/contact.html index 9f729581..03efca59 100644 --- a/wowchemy/layouts/partials/widgets/contact.html +++ b/wowchemy/layouts/partials/widgets/contact.html @@ -1,7 +1,7 @@ {{ $ := .root }} {{ $st := .page }} {{ $autolink := default true $st.Params.content.autolink }} -{{ $data := site.Params }} +{{ $data := $st.Params.content }} {{ $form_provider := lower $st.Params.content.form.provider | default "" }} {{ $form_provider_legacy := $st.Params.email_form | default 0 }}