Skip to content
This repository has been archived by the owner on Jun 19, 2021. It is now read-only.

Commit

Permalink
Merge pull request #7 from hasgeek/issue-6
Browse files Browse the repository at this point in the history
Switch to .html.jinja2 templates
  • Loading branch information
vidya-ram authored Oct 13, 2017
2 parents b52cad9 + d6d63dd commit 27a40da
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ python:
- "2.7"
- "pypy"
install:
- pip install -r requirements.txt --use-mirrors
- pip install -r test_requirements.txt --use-mirrors
- pip install -r requirements.txt
- pip install -r test_requirements.txt
script:
- ./runtests.sh cookiefree tests
after_success:
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% extends "baseframe.html" -%}
{% from "baseframe/components.html" import responsive_networkbar with context %}
{% extends "baseframe.html.jinja2" -%}
{% from "baseframe/components.html.jinja2" import responsive_networkbar with context %}

{% block networkbar %}{{ responsive_networkbar(siteid=config['SITE_ID'], login=config['LASTUSER_CLIENT_ID'] and true or false) }}{% endblock %}

Expand Down
2 changes: 1 addition & 1 deletion cookiefree/views/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

@app.route('/')
def index():
return render_template('index.html')
return render_template('index.html.jinja2')


@app.route('/asset')
Expand Down

0 comments on commit 27a40da

Please sign in to comment.