Skip to content

Commit b2a0046

Browse files
committed
[IMP] blog: update and restructure blog documentation
Task - 5136454
1 parent 60fb2dd commit b2a0046

File tree

6 files changed

+175
-61
lines changed

6 files changed

+175
-61
lines changed

content/applications/websites/blog.rst

Lines changed: 175 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -9,67 +9,23 @@ build a community.
99
If the Blog module is not yet installed, click :guilabel:`+New` on the website builder, select
1010
:guilabel:`Blog Post`, and click :guilabel:`Install`.
1111

12-
Creating a blog
13-
===============
12+
Blog page
13+
=========
1414

15-
To create or edit a blog, go to :menuselection:`Website --> Configuration --> Blogs: Blogs`. Click
15+
Create a blog page
16+
------------------
17+
18+
To create or edit a blog, go to :menuselection:`Website --> Configuration --> Blogs`. Click
1619
:guilabel:`New`, and enter the :guilabel:`Blog Name` and the :guilabel:`Blog Subtitle`.
1720

1821
The :guilabel:`Blog` menu item is added to your website's menu the first time you create a blog and
1922
gathers all your blogs.
2023

21-
Adding a blog post
22-
==================
23-
24-
Go to your website, click :guilabel:`+New` in the top-right corner, and select
25-
:guilabel:`Blog Post`. In the pop-up, **select the blog** where the post should appear, write the
26-
post's :guilabel:`Title`, and :guilabel:`Save`. You can then write the post's content and customize
27-
the page using the website builder.
28-
29-
.. tip::
30-
- Illustrate your articles with copyright-free images from :doc:`Unsplash
31-
</applications/general/integrations/unsplash>`.
32-
- Type `/` in the text editor to format and add elements to your text.
33-
34-
.. important::
35-
Don't forget to toggle the :guilabel:`Unpublished` switch in the top-right corner to publish
36-
your post.
37-
38-
Using tags
39-
==========
40-
41-
Tags let visitors filter all posts sharing the same tag. By default, they are displayed at the
42-
bottom of posts, but can also be displayed on the blog's main page. To do so, click
43-
:menuselection:`Edit --> Customize` and enable the :guilabel:`Sidebar`. By default, the sidebar's
44-
:guilabel:`Tags List` is enabled.
45-
46-
To create a tag, go to :menuselection:`Website --> Configuration --> Blogs: Tags` and click
47-
:guilabel:`New`. Fill in the:
48-
49-
- :guilabel:`Name`
50-
- :guilabel:`Category`: tag categories let you group tags displayed on the sidebar by theme.
51-
- :guilabel:`Used in`: to apply the tag to existing blog posts, click :guilabel:`Add a line`,
52-
select the posts, and click :guilabel:`Select`.
53-
54-
You can add and create tags directly from posts by clicking :menuselection:`Edit --> Customize` and
55-
select the post's cover. Under :guilabel:`Tags`, click :guilabel:`Choose a record...`, and select
56-
or create a tag.
57-
58-
.. image:: blog/create-tag.png
59-
:alt: Adding a tag to a blog post
60-
61-
.. note::
62-
To manage tag categories, go to :menuselection:`Website --> Configuration --> Blogs: Tag
63-
Categories`.
64-
65-
Customizing blog homepages
66-
==========================
24+
Customize blog pages
25+
--------------------
6726

6827
Customize the content of blog homepages by opening a blog homepage and clicking :menuselection:`Edit
69-
--> Customize`.
70-
71-
.. note::
72-
Settings apply to **all** blogs homepages.
28+
--> Style`.
7329

7430
:guilabel:`Top Banner`: :guilabel:`Name/Latest Post` displays the title of the latest post on the
7531
top banner, while :guilabel:`Drop Zone for Building Blocks` removes the top banner and lets you use
@@ -80,12 +36,12 @@ any building block instead.
8036
- :guilabel:`Cards`: adds a *card* effect.
8137
- :guilabel:`Increase Readability`: improves the text's readability.
8238

83-
:guilabel:`Sidebar`: displays a sidebar containing an :guilabel:`About us` section.
39+
:guilabel:`Sidebar`: displays a sidebar containing additional information, such as:
8440

8541
- :guilabel:`Archives`: allows visitors to select a month and filter all posts created during that
8642
month.
8743
- :guilabel:`Follow Us`: displays links to your social media networks. They can be configured using
88-
the Social Media building block somewhere on your website.
44+
the Social Media building block on your website.
8945
- :guilabel:`Tags List`: displays all tags related to a blog. Visitors can select a tag to filter
9046
all related posts.
9147

@@ -96,13 +52,33 @@ them.
9652
- :guilabel:`Comments/Views Stats`: displays the posts' number of comments and views.
9753
- :guilabel:`Teaser & Tags`: displays the posts' first sentences and tags.
9854

99-
Customizing blog posts
100-
======================
55+
.. note::
56+
Settings apply to **all** blogs pages.
10157

102-
Customize posts by opening a blog post and clicking :menuselection:`Edit --> Customize`.
58+
Blog post
59+
=========
10360

104-
.. note::
105-
Settings apply to **all** posts.
61+
Create a blog post
62+
------------------
63+
64+
Go to your website, click :guilabel:`New` in the top-right corner, and select
65+
:guilabel:`Blog Post`. In the pop-up, **select the blog** where the post should appear, write the
66+
post's :guilabel:`Title`, and :guilabel:`Save`. You can then write the post's content and customize
67+
the page using the website builder.
68+
69+
.. tip::
70+
- Illustrate your articles with copyright-free images from :doc:`Unsplash
71+
</applications/general/integrations/unsplash>`.
72+
- Type `/` in the text editor to format and add elements to your text.
73+
74+
.. important::
75+
Don't forget to toggle the :guilabel:`Unpublished` switch in the top-right corner to publish
76+
your post.
77+
78+
Customize blog posts
79+
--------------------
80+
81+
Customize posts by opening a blog post and clicking :menuselection:`Edit --> Style`.
10682

10783
:guilabel:`Layout`: :guilabel:`Title Inside Cover` displays the title inside the cover image, and
10884
:guilabel:`Title above Cover` displays it above.
@@ -123,7 +99,145 @@ Customize posts by opening a blog post and clicking :menuselection:`Edit --> Cus
12399
:guilabel:`Bottom`: :guilabel:`Next Article` displays the next post at the bottom, and
124100
:guilabel:`Comments` enable visitors to comment on the post.
125101

126-
:guilabel:`Select To Tweet`: visitors are offered to tweet the text they select.
102+
.. note::
103+
Settings apply to **all** posts.
127104

128105
.. tip::
129106
Use :ref:`Plausible <analytics/plausible>` to keep track of the traffic on your blog.
107+
108+
109+
.. seealso::
110+
- `Odoo Tutorials: Blogs [video] <https://www.odoo.com/slides/slide/blogs-6935>`_
111+
112+
Use the `/` to activate some functions that will help you generate some content by adding bullet
113+
lists, tables, quotes, columns, links, images, videos etc.
114+
Amongst the available options, there is an AI tool to help you generate your content as you wish.
115+
116+
Also, the customization tool to configure the text format appears when hovering the mouse over the
117+
selected text.
118+
119+
You can choose the type of heading you like for a text, decide the format, the size, the color, the
120+
highlight, the alignment, add bullets or numbers, add links, and add effects and animation to the
121+
text. You can also translate, generate, or transform a text with AI. When you click on the AI option,
122+
a chat box appears, allowing you to request a specific text feature.
123+
124+
These options will help you structure your content effectively.
125+
126+
.. Note:: You should never have more than one Heading 1
127+
128+
Tags
129+
====
130+
131+
Tags let visitors filter all posts sharing the same tag. By default, they are displayed at the
132+
bottom of posts, but can also be displayed on the blog's main page. To do so, click
133+
:menuselection:`Edit --> Style` and enable the :guilabel:`Sidebar`. By default, the sidebar's
134+
:guilabel:`Tags List` is enabled.license. The project is hosted on GitHub.
135+
136+
Create tags
137+
-----------
138+
139+
To create a tag, go to :menuselection:`Website --> Configuration --> Tags` and click
140+
:guilabel:`New`. Fill in the:
141+
142+
- :guilabel:`Name`
143+
- :guilabel:`Category`: tag categories let your group tags displayed on the sidebar by theme.
144+
- :guilabel:`Used in`: to apply the tag to existing blog posts, click :guilabel:`Add a line`,
145+
select the posts, and click :guilabel:`Select`.
146+
147+
You can add and create tags directly from posts by clicking :menuselection:`Edit --> Style` and
148+
select the post's cover. Under :guilabel:`Tags`, click :guilabel:`Choose a record...`, and select
149+
or create a tag. You can create a tag by writing something in the search bar and clicking on
150+
:guilabel:`Create "..."`.
151+
152+
.. image:: blog/tags-blog.png
153+
:alt: Adding a tag to a blog post
154+
155+
Create tag category
156+
-------------------
157+
158+
To create tag categories, go to :menuselection:`Website --> Configuration --> Tag
159+
Categories --> New`.
160+
161+
Blog building block
162+
===================
163+
164+
Add the building block in your website
165+
--------------------------------------
166+
167+
Add a blog building block anywhere on any page of your website to improve visibility of the recent
168+
content and encourage visitors to explore more content.
169+
170+
You can add a building block ‘Blogs’ by dragging and dropping it anywhere in any page of your
171+
website.
172+
For example, on your homepage, click on :guilabel:`Edit`, search for the :guilabel:`Blogs` block,
173+
drag it, and drop it where you want on the page to display your articles, which will be accessible
174+
to your visitors.
175+
176+
Customize your building block
177+
-----------------------------
178+
179+
Customize your blog building block through the edition feature.
180+
181+
- Choose the :guilabel:`background` of the block by changing the :guilabel:`color` or adding a :guilabel:`picture`, a :guilabel:`video` or a :guilabel:`shape`
182+
- Choose the :guilabel:`width` and the :guilabel:`height` of the content
183+
- Filter by the :guilabel:`latest blog posts` or the :guilabel:`most viewed blog posts`
184+
- Determine the display of the blogs by choosing a template
185+
- Change the :guilabel:`picture size`, define a :guilabel:`Hover effect`
186+
- Decide how many blogs can appear amongst all of them by modifying the number of
187+
:guilabel:`fetched elements`
188+
- Decide if they can be visible on computers or mobile devices with or without conditions
189+
through the :guilabel:`Visibility` field.
190+
191+
Use SEO for your blog
192+
======================
193+
194+
Improve your SEO
195+
----------------
196+
197+
Update the content of your website regularly to improve your SEO. This will attract more visitors
198+
and more clicks.
199+
200+
Use SEO to increase your blogs' visibility in search engines, attract visitors and ensure that
201+
readers can easily find relevant content.
202+
203+
- Keep your blog active and keep it fresh by regularly updating your content
204+
- Integrate `keywords` (see `Use Alt Tag`), use long-tail keywords: for better ranking and to promote
205+
low-competition search queries
206+
- Promote an engaging blog to keeps visitors on your website longer
207+
208+
Here are some useful tips:
209+
210+
Add alt Tag
211+
~~~~~~~~~~~
212+
Add :guilabel:`keywords` to your images by using the :guilabel:`Alt Tag` option.
213+
This allows search engines to identify the content of the image or visual
214+
215+
Click on :guilabel:`Edit`, then click on the image. On the edition sidebar, on the :guilabel:`image`
216+
section, the field `Description` and `Tooltip` can be filled with keywords to describe the image.
217+
218+
219+
Add strong tag (bold)
220+
~~~~~~~~~~~~~~~~~~~~~
221+
Strong tag `<strong>`, old characters, helps Google identify key terms in your content. It enhances
222+
readability by guiding users to key points.
223+
224+
.. Note:: Using bold too much can becomes less effective and can have a negative impact on your SEO.
225+
Make sure not to overuse it.
226+
227+
Add translation
228+
~~~~~~~~~~~~~~~
229+
230+
Translate your website, your blogs, to allow search engines to show your content to people in
231+
different languages. This helps you reach a wider audience.
232+
233+
Alt tag
234+
*******
235+
Translate metadata, alt tag (meta descriptions, title tags, and alt tags) on your images.
236+
237+
Text
238+
****
239+
240+
- Odoo provides a language switcher to avoid mixing multiple languages in pages of a website. Add
241+
languages to your website so that visitors can use the language switcher and select a language.
242+
- Odoo automatically generates distinct URLs (e.g., example.com/fr_BE)
243+
12.2 KB
Loading
70.4 KB
Loading
5.38 KB
Loading
25.3 KB
Loading
317 KB
Loading

0 commit comments

Comments
 (0)