Skip to content

[FW][FIX] howto/website_themes: Layout - Header/Footer typo #13404

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: saas-18.1
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions content/developer/howtos/website_themes/layout.rst
Original file line number Diff line number Diff line change
Expand Up @@ -443,11 +443,11 @@ Use the following code to add an option for your new custom header on the Websit
.. code-block:: xml
:caption: ``/website_airproof/views/website_templates.xml``

<template id="template_footer_opt" inherit_id="website.snippet_options" name="Footer Template - Option">
<xpath expr="//we-select[@data-variable='footer-template']" position="inside">
<template id="template_header_opt" inherit_id="website.snippet_options" name="Header Template - Option">
<xpath expr="//we-select[@data-variable='header-template']" position="inside">
<we-button title="airproof"
data-customize-website-views="website_airproof.footer"
data-customize-website-variable="'airproof'" data-img="/website_airproof/static/src/img/wbuilder/template_footer_opt.svg"/>
data-customize-website-views="website_airproof.header"
data-customize-website-variable="'airproof'" data-img="/website_airproof/static/src/img/wbuilder/template_header_opt.svg"/>
</xpath>
</template>

Expand Down Expand Up @@ -666,12 +666,12 @@ active footer template first.
.. code-block:: xml
:caption: ``/website_airproof/views/website_templates.xml``

<template id="template_header_opt" inherit_id="website.snippet_options" name="Footer Template - Option">
<template id="template_footer_opt" inherit_id="website.snippet_options" name="Footer Template - Option">
<xpath expr="//we-select[@data-variable='footer-template']" position="inside">
<we-button title="airproof"
data-customize-website-views="website_airproof.footer"
data-customize-website-variable="'airproof'"
data-img="/website_airproof/static/src/img/wbuilder/template_header_opt.svg"/>
data-img="/website_airproof/static/src/img/wbuilder/template_footer_opt.svg"/>
</xpath>
</template>

Expand Down