gethyas / doks

Everything you need to build a stellar documentation website. Fast, accessible, and easy to use.
https://getdoks.org
MIT License
1.99k stars 352 forks source link

Remove top image from blog post #1095

Closed h-enk closed 5 months ago

h-enk commented 9 months ago

Discussed in https://github.com/h-enk/doks/discussions/1094

Originally posted by **Orilcious** September 15, 2023 Hello, is there a way to use an image in the preview of a blogpost without having it at the top of the post as well? I found https://github.com/h-enk/doks/discussions/999 where it was not yet possible. Has this been added by now? Kind regards, Ori
h-enk commented 5 months ago

Can now be set in config/_default/params.toml:

# Doks (@hyas/doks-core)
[doks]
  # Blog
  relatedPosts = false # false (default) or true
  imageList = true # true (default) or false
  imageSingle = true # true (default) or false