> ## Documentation Index
> Fetch the complete documentation index at: https://hilfe.converic.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Add a blog with Marble CMS

> Connect Marble CMS to a Converic website, show your posts with the Blog block and publish every post as its own article page.

A Converic website can show a blog. You write the posts in [Marble CMS](https://marblecms.com). Converic loads them when you publish and builds an article page for each post, with the header and footer of your website. The **Blog** block lists the posts on any page.

## Connect Marble

**1. Copy a public key**

In Marble, copy a public API key. It starts with `mpk_`. Private keys that start with `msk_` are rejected, because they can write and read drafts.

**2. Open the integration**

Open the website, switch to the **Integrations** tab and click **Connect** on the **Marble CMS** card.

**3. Enter the key and the path**

Paste the key into **Public API key**. Under **Blog path (optional)**, enter the path of your articles. The default is `blog`, so an article is published at `/blog/article-name`.

**4. Save**

Click **Save**. Converic checks the key with Marble before it saves the connection.

The blog path uses lowercase letters, digits and hyphens. `imprint`, `privacy`, `assets` and `api` are reserved.

## Show posts with the Blog block

In the [builder](https://hilfe.converic.com/websites/builder.md), open the block picker and add **Blog** from the **Converic blocks** group. The block lists your latest posts as cards. In the editor it shows the current posts of your Marble blog. Without a connected blog, the block is left out of the published page.

| Option | Effect |
| - | - |
| **Layout** | Cards in a **grid** or as a **list**. |
| **Columns** | Number of columns in the grid. |
| **Number of posts** | **3**, **6**, **9** or **All**. |
| **Featured only** | Shows only posts you marked as featured in Marble. |
| **Category** | Shows only posts of one category. |
| **Show cover image** | Shows the cover image of each post. |
| **Show date** | Shows the publish date. |
| **Show category** | Shows the category. |
| **Show excerpt** | Shows the short description. |
| **Language** | **English** or **German**. Sets the format of the date. Find it under **Layout & visibility**. |

Posts are sorted newest first.

## Article pages

Every published post gets a page at `/<blog path>/<post slug>`, for example `/blog/my-first-post`. The page shows the title, cover image, date, author, category and the article text, framed by the header and footer of your website. Article pages are part of the sitemap.

The back link above the article goes to the page with the path of your blog, for example `/blog`. If no such page exists, it goes to the home page.

### Create an overview page

To give readers an overview of all posts, create a normal [page](https://hilfe.converic.com/websites/pages.md) with the path `blog` (or your own blog path) and add a **Blog** block to it. Set **Number of posts** to **All** to list every post.

## Publish new posts

Converic loads the posts when the website is published. After you write or change a post in Marble, click **Republish** in the top bar of the builder. With a connected blog, the button is available even without other changes.

> [!NOTE]
>
> Marble must be reachable while you publish. If it cannot be reached, publishing stops with an error and the live website stays as it is.

## Article content and limits

* Converic cleans the article HTML before it goes live. Scripts, iframes and embeds, and styles are removed. Links to unsafe addresses lose their target.
* Images in an article must use `https`.
* A website publishes up to 500 posts.
* Only posts with the status published appear. Drafts and scheduled posts are skipped.

## Disconnect

Open the **Marble CMS** card and click **Disconnect**. The article pages disappear with the next publish.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.