[ADD] Website Themes - Media section

This commit is contained in:
Brandon Mercier 2025-02-24 16:15:57 +01:00
parent a6778a6068
commit 4567cfe114
2 changed files with 28 additions and 0 deletions

View File

@ -28,6 +28,7 @@ successes. We invite you to use it as a base to build your own website and adapt
website_themes/layout
website_themes/navigation
website_themes/pages
website_themes/media
website_themes/building_blocks
website_themes/shapes
website_themes/gradients

View File

@ -0,0 +1,27 @@
=====
Media
=====
Images
======
.. _howto/website_themes/media_logo :
Logo
----
.. code-block:: xml
:caption: ``/website_airproof/views/website_templates.xml``
<t t-call="website.placeholder_header_brand">
<t t-set="_link_class" t-valuef="..."/>
</t>
Don't forget to create a record of the website logo in the database.
.. code-block:: xml
:caption: ``/website_airproof/data/website.xml``
<record id="website.default_website" model="website">
<field name="logo" type="base64" file="website_airproof/static/src/img/content/logo.png"/>
</record>