HermanMartinus / bearblog

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

Hide Blog name from article/post view #163

Closed avinashkanaujiya closed 2 years ago

avinashkanaujiya commented 2 years ago

Hi, thanks for your hard work, I really apreciate it.

I just to wanted ask is it possible to hide blog name from article view?, if not can you make it possible ?

HermanMartinus commented 2 years ago

When you set is_page to false it will hide the title

HermanMartinus commented 2 years ago

Alternatively in your post content you can add <style>main>h1{display:none}</style> and it will hide it.

avinashkanaujiya commented 2 years ago

When you set is_page to false it will hide the title

It is not working in my post. Whenever I am adding it to front matter & clicking on Save as Draft, it disappears on next load.

avinashkanaujiya commented 2 years ago

Doing this hides the post title not the blog title, but I think, I can make it work.

But is_page option is not working for me. Maybe a bug?

HermanMartinus commented 2 years ago

Sorry, my mistake. Set is_page to true 😵‍💫

avinashkanaujiya commented 2 years ago

Now it is working, but it hides post title & not blog title.

HermanMartinus commented 2 years ago

If you want it to hide the blog title as well <style>h1{display:none}</style>

avinashkanaujiya commented 2 years ago

Thank got for help, got what I wanted.