lukeorth / poison

Professional Hugo theme for dev bloggers. Based on Mdo's classic Hyde theme.
https://poison.lukeorth.com
GNU General Public License v3.0
209 stars 101 forks source link

Start Page #149

Closed ats20de closed 11 months ago

ats20de commented 11 months ago

Hi Luke,

is it possible to configure Poison for full entries on the start page (so that the reader has not to click "read more")?

However: thanks for your work on the Poison theme! –

Regards, Hanjo.

lukeorth commented 11 months ago

Hi @ats20de - I'm glad you're enjoying the theme!

I just merged an update that will enable this request. To have all articles/posts fully displayed on the home page (i.e. without content summaries or the "Read More" button), you will need to add the noSummary = true param to your project's config.toml file. The last line of this code block shows an example:

baseURL = "https://myurl.com"
theme = "poison"
paginate = 10

[params]
    brand = "My Brand"
    noSummary = true

Alternatively, if you only want this enabled for specific articles/posts, you can set the noSummary = true value in the applicable post's front matter. For example:

---
title: "For My Mom"
date: 2023-10-26T11:52:03-06:00
draft: false
noSummary: true
---

Hi mom.

Hopefully this meets your requirements. Let me know if you need anything else!

ats20de commented 11 months ago

That’s great – thanks a lot, Luke!

Regards, Hanjo.