When building pages, you have the choice between static and dynamic content.
When creating static content, elements are created one by one. On a static page, you insert a text block and write the text directly in your canvas.
While this is a perfectly fine way to build pages like your about page, things can get really tiresome when you need to create separate blog posts.
Imagine duplicating a blog post and then modifying this page for each new article you want to add 🤯 HELP!
Though that was what web design looked like in the 90s, nowadays we have something called dynamic content.
With dynamic content, you add a text block in your canvas and connect it to a database field in the settings.
Whatever copy is written in the fields in your local database is shown in the text block in your canvas. This makes it much easier to add, update and import dynamic content.
The cool thing about a database is that it separates content from the website. Editors can make changes in the database without ever touching the HTML code (and accidentally breaking stuff and ruining your day).
Another benefit of dynamic content is that you can use it to show personalized content, like the statements you see in your personal banking app.
And lastly, it makes website updates and maintenance a breeze. Things like a job opening page, blog section or team member overview are much more easily updated when using a database.
When a fixed variable is selected, elements are connected to a single data key in the local database.
Example: The Heading 2 is connected to the blog name.
When inline variables are selected, multiple dynamic data keys can be added to the same element.
Example: The blog creation date and name can be added in the same Heading 2 element.