HermanMartinus / bearblog

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

Footer content should be HTML #198

Closed vprelovac closed 1 year ago

vprelovac commented 1 year ago

Currently site footer setting is not HTML (or markdown) aware so one can not have links in footer for example.

HermanMartinus commented 1 year ago

Added to my list today 👍

HermanMartinus commented 1 year ago

I've given this some serious consideration and even built out the functionality for adding an HTML/Markdown footer, however, I've decided that simply editing the post template to add footer content so it's created anew for each post/page is actually a more elegant solution. This allows more control over the page footer content as you can change the footer for a specific page if necessary.

Eg: On my blog I've added: "I write about 1-2 articles a month. Subscribe via email or RSS feed." as a footer, but some pages I can remove it, instead of it being mandatory.

This allows for more flexibility while retaining the same baseline functionality and reducing complexity. If you'd like to just remove the "Made with Bear" footer this can be done easily enough with CSS, although I encourage people to keep the link :)

gokceozan commented 1 year ago

simply editing the post template to add footer content so it's created anew for each post/page is actually a more elegant solution

But that would mean if you want to edit the footer, then you have to edit all your posts. Which makes it extremely unpractical, no?

HermanMartinus commented 1 year ago

Moved to the new suggestion board. Github issues reserved for bugs going forward.