-
-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename adding-installing-new-block.md to integrate-new-block.md
Tidy up html_meta Add MyST markup
- Loading branch information
1 parent
28854ed
commit 699018d
Showing
3 changed files
with
39 additions
and
40 deletions.
There are no files selected for viewing
39 changes: 0 additions & 39 deletions
39
docs/customizing-volto-light-theme/adding-installing-new-block.md
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
--- | ||
myst: | ||
html_meta: | ||
"description": "Adding New Block" | ||
"property=og:description": "Adding New Block" | ||
"property=og:title": "Adding New Block" | ||
"keywords": "Plone, Volto, Training, Volto Light Theme, Integrate, block" | ||
--- | ||
|
||
# Integrate a new block | ||
|
||
In this training module, we'll learn how to integrate the `@plone-collective/volto-relateditems-block` into VLT. This block allows you to create links to related content in your Plone site. | ||
|
||
## Install `@plone-collective/volto-relateditems-block` | ||
|
||
To install the related items block, make sure you are in the {file}`frontend/packages/volto-my-project` folder, and use the following command: | ||
|
||
```shell | ||
pnpm install @plone-collective/volto-relateditems-block | ||
``` | ||
|
||
After installation, ensure that the add-on is included in the `addons` key of your project's {file}`package.json`: | ||
|
||
```json | ||
"addons": [ | ||
"@eeacms/volto-accordion-block", | ||
"@kitconcept/volto-button-block", | ||
"@kitconcept/volto-heading-block", | ||
"@kitconcept/volto-highlight-block", | ||
"@kitconcept/volto-introduction-block", | ||
"@kitconcept/volto-separator-block", | ||
"@kitconcept/volto-slider-block", | ||
"@plone-collective/volto-relateditems-block", | ||
"@kitconcept/volto-light-theme" | ||
], | ||
``` | ||
|
||
That's it! Your project should now be using `@plone-collective/volto-relateditems-block`, which shows related items for the content as a list of links. |