Comments (3)
Unfortunately, it "works for me".
Can you do the following please (assuming you use virtualenvwrapper)?
- Create a new virtualenv (
mkvirtualenv test-flask-boostrap
). pip install flask-bootstrap
grep title ~/.virtualenvs/bootstrap-test/lib/python2.7/site-packages/flask_bootstrap/templates/bootstrap/base.html
If that is present, you may be overriding the head head
block or using an old/broken version?
from flask-bootstrap.
I installed it just yesterday so it's latest version and I just now saw that the title block is there in base.html in my virtualenv location so sorry for that ! and it also renders what I pass to it, but somehow it does not add the enclosing <title> </title> tags and it just echoes my app name I'm extending it like this -
{% block title %} {{ config.APP_NAME }} {% endblock title %}
so I had to manually encapsulate it in title tags , strange but happening and everything else is working like the metas and styles block , so there must be something wrong ...
from flask-bootstrap.
Apologies if this is not the appropriate place to leave this but similar behavior will also be seen if the {{super()}}
is missing from the {% block head %}
(although this was not the case above)
from flask-bootstrap.
Related Issues (20)
- License clarification
- pip install error - missing py26compat.py
- Building on serverless-flask - getting AttributeError: module 'manageCampaigns' has no attribute 'app'
- i got “unresolved templates reference ‘bootstrap/base.html’ ” problem on the “base.html” HOT 2
- Add title to quick_form
- No one maintain this repository? HOT 6
- jinja2.exceptions.TemplateNotFound: bootstrap/nav.html HOT 3
- Support Subresource Integrity for CDN
- Missing license in pypi archive HOT 1
- Update to Bootstrap 3.4.0
- 'No module' error in python3 HOT 1
- jinja2.exceptions.UndefinedError: 'bootstrap_find_resource' is undefined HOT 7
- `description` property isn't rendered for `BooleanField` HOT 2
- For MultipleFileField enctype not set to "multipart/form-data"
- Make bootstrap version dynamic HOT 1
- Update HOT 2
- Modal not working
- Refused to apply style
- How to add onclick to quick_form() HOT 1
- Abandoned HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flask-bootstrap.