README: escape jinja2 curly braces

master
Will Roberts 8 years ago
parent 7192ad630b
commit 9648429064
  1. 2
      {{cookiecutter.app_name}}/README.rst

@ -48,7 +48,7 @@ get copied into something like
``static/build/img/favicon.fec40b1d14528bf9179da3b6b78079ad.ico``. ``static/build/img/favicon.fec40b1d14528bf9179da3b6b78079ad.ico``.
You can then put this line into your header:: You can then put this line into your header::
<link rel="shortcut icon" href="{{asset_url_for('img/favicon.ico') }}"> <link rel="shortcut icon" href="{{ "{{" }}asset_url_for('img/favicon.ico') {{ "}}" }}">
to refer to it inside your HTML page. If all of your assets are to refer to it inside your HTML page. If all of your assets are
managed this way, you can ask Flask to tell web browsers that they managed this way, you can ask Flask to tell web browsers that they

Loading…
Cancel
Save