> For the complete documentation index, see [llms.txt](https://docs.lufavo.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.lufavo.com/roomfolk/sections/blog-posts.md).

# Blog posts

A row of recent posts from one of your blogs.

## Set it up

1. Add the section.
2. Choose a **Blog**.
3. Set how many posts to show.

## Content

| Setting            | What it does                                                        |
| ------------------ | ------------------------------------------------------------------- |
| Kicker             | Small line above the heading.                                       |
| Heading            | The section heading.                                                |
| Heading size       | Small, Medium or Large.                                             |
| Description        | A sentence under the heading.                                       |
| Blog               | Which blog to show posts from.                                      |
| Show view all link | A link through to the whole blog.                                   |
| Link               | Where the link goes. Leave empty to link to the chosen blog.        |
| View all label     | The wording of that link. Leave blank to use the theme translation. |

**The view all link only appears when there is more to see** — that is, when the blog holds more posts than the section is showing. You will not get a link that leads to the same four posts.

## Layout

| Setting            | What it does                                                                      |
| ------------------ | --------------------------------------------------------------------------------- |
| Posts to show      | 2 to 12.                                                                          |
| Columns on desktop | 2 to 4.                                                                           |
| Swipe on mobile    | Posts run in a row that scrolls sideways on narrow screens, rather than stacking. |

## Card

| Setting               | What it does                                                         |
| --------------------- | -------------------------------------------------------------------- |
| Aspect ratio          | Natural, Square, Portrait or Landscape.                              |
| Show excerpt          | A few lines of the post under its title.                             |
| Excerpt lines         | 2 to 6.                                                              |
| Show tag on the image | The post's first tag, over the image.                                |
| Read more label       | The words under each post. Leave blank to use the theme translation. |
| Show date             | The date the post was published.                                     |
| Show author           | Who wrote it.                                                        |
| Show comment count    | How many comments it has.                                            |

**On aspect ratio:** square suits four columns, where a wide crop leaves the photograph small. Two or three columns give each card more width, so landscape reads better there.

**On excerpt lines:** every card shows the same number of lines, so a row ends level however long the posts are. That is why this is a number of lines rather than a number of words.

**On comment count:** it only appears on posts that actually have comments, and only while comments are turned on for that blog in your Shopify admin.

## Spacing and style

| Setting        | What it does                   |
| -------------- | ------------------------------ |
| Top spacing    | 0px to 120px.                  |
| Bottom spacing | 0px to 120px.                  |
| Color scheme   | Which scheme the section uses. |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.lufavo.com/roomfolk/sections/blog-posts.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
