gouthambs / Flask-Blogging

A Markdown Based Python Blog Engine as a Flask Extension.
http://flask-blogging.readthedocs.org/en/latest/
MIT License
687 stars 159 forks source link

Add support for bootstrap themes. #7

Open gouthambs opened 9 years ago

slippers commented 8 years ago

Attempted to add flask-bootstrap by overriding the base.html with the default bootstrap/base.html. So far so good.
blogging_security_flatpage

gouthambs commented 8 years ago

I didn't think to use flask-bootstrap. This is a great suggestion. One suggestion, if you inherit flask-bootstrap in blogging/base.html, then you could potentially avoid inheriting flask-bootstrap in all other views. May be, not even have to modify them much.

slippers commented 8 years ago

other than cutting out the main content section of your templates and adding some script support it works. had to change the content region reference. I think I only added a reference once in the main module.
there are features of flask-bootstrap that I'm still looking at.