HermanMartinus / bearblog

Free, no-nonsense, super fast blogging.
MIT License
2.63k stars 75 forks source link

Add ability to customize 'Blog' page #129

Closed Disil closed 2 years ago

Disil commented 2 years ago

The page that shows latest post (insertblogname.bearblog.dev/blog) is static. It cannot be customized to add simple paragraph.

This would be useful for any writer, where they can add disclaimer above the post list. For example, if this feature is implemented, then I can add a mini tutorial on how to following the blog by using RSS, because rss are rarely used/unknown to public in current years.

Here's the illustration of the concept: bearblog feature request-customizable static page

fengzihub commented 2 years ago

You can add a navigation page to the navigation bar.

截屏2022-05-08 20 13 57 截屏2022-05-08 20 10 35 截屏2022-05-08 20 10 49

Hope it can help you !

Disil commented 2 years ago

You can add a navigation page

No, that's not what i meant. What I want is the ability to customize the 'space' between navigation bar and content text in Blog page (the page that displaying latest post)

mbluelander commented 2 years ago

I'd like this too, but in the meantime you can add a little bit of custom text with a pseudo-selector for the blog list. Put this in the "custom styles" box at https://bearblog.dev/dashboard/styles/ :

ul.blog-posts:before {content:"Your text here"; }
fengzihub commented 2 years ago

@Disil Oh, sorry, I misunderstood.

HermanMartinus commented 2 years ago

What I would suggest if you'd like a custom blog page is to create a new page and add the links, dates, titles, and descriptions as you see fit. Unfortunately I can't change the format of the /blog/ page to suit everyone ;) Example:

*22 June, 2022* - **Super awesome title!**
Some neat description of how good the content of this article is.

*22 June, 2022* - **Super awesome title!**
Some neat description of how good the content of this article is.

...

Which will look something like

22 June, 2022 - Super awesome title! Some neat description of how good the content of this article is.

22 June, 2022 - Super awesome title! Some neat description of how good the content of this article is.