diff --git a/core/templates/core/403.html b/core/templates/core/403.jinja
similarity index 66%
rename from core/templates/core/403.html
rename to core/templates/core/403.jinja
index 8e8c65a1..5e83a7b7 100644
--- a/core/templates/core/403.html
+++ b/core/templates/core/403.jinja
@@ -1,4 +1,4 @@
-{% extends "core/base.html" %}
+{% extends "core/base.jinja" %}
{% block content %}
diff --git a/core/templates/core/404.html b/core/templates/core/404.html
index 46d4abe2..35755bfd 100644
--- a/core/templates/core/404.html
+++ b/core/templates/core/404.html
@@ -1,4 +1,4 @@
-{% extends "core/base.html" %}
+{% extends "core/base.jinja" %}
{% block content %}
diff --git a/core/templates/core/base.html b/core/templates/core/base.html
deleted file mode 100644
index f6019f7d..00000000
--- a/core/templates/core/base.html
+++ /dev/null
@@ -1,53 +0,0 @@
-{% load staticfiles %}
-
-
-
- {% block head %}
- {% block title %}Bienvenue sur le Sith de l'AE!{% endblock %}
-
-
-
- {% endblock %}
-
-
-
-
- {% block header %}
- {% if user.is_authenticated %}Hello, {{ user.username }}!{% endif %}
-
- {% if user.is_authenticated %}
-
- {% endif %}
- {% endblock %}
-
-
-
- {% if error %}
- {{ error }}
- {% endif %}
- {% block content %}{% endblock %}
-
-
-
-
-
-
diff --git a/core/templates/core/base.jinja b/core/templates/core/base.jinja
new file mode 100644
index 00000000..d638caea
--- /dev/null
+++ b/core/templates/core/base.jinja
@@ -0,0 +1,47 @@
+
+
+
+ {% block head %}
+ {% block title %}Bienvenue sur le Sith de l'AE!{% endblock %}
+
+
+
+ {% endblock %}
+
+
+
+
+ {% block header %}
+ {% if user.is_authenticated() %}Hello, {{ user.username }}!{% endif %}
+
+ {% if not user.is_authenticated() %}
+ - Register
+ - Login
+ {% else %}
+ - Logout
+ {% endif %}
+
+ {% if user.is_authenticated() %}
+
+ {% endif %}
+ {% endblock %}
+
+
+
+ {% if error %}
+ {{ error }}
+ {% endif %}
+ {% block content %}{% endblock %}
+
+
+
+
+
diff --git a/core/templates/core/edit_user.html b/core/templates/core/edit_user.html
index 16845557..2e827339 100644
--- a/core/templates/core/edit_user.html
+++ b/core/templates/core/edit_user.html
@@ -1,4 +1,4 @@
-{% extends "core/base.html" %}
+{% extends "core/base.jinja" %}
{% block title %}
{% if profile %}
diff --git a/core/templates/core/group_edit.html b/core/templates/core/group_edit.html
index 570bf419..1e730337 100644
--- a/core/templates/core/group_edit.html
+++ b/core/templates/core/group_edit.html
@@ -1,11 +1,11 @@
-{% extends "core/base.html" %}
+{% extends "core/base.jinja" %}
{% block content %}
-Back to list
+Back to list
Edit group
{% endblock %}
diff --git a/core/templates/core/group_list.html b/core/templates/core/group_list.html
index c0c9f67d..ff74aac9 100644
--- a/core/templates/core/group_list.html
+++ b/core/templates/core/group_list.html
@@ -1,4 +1,4 @@
-{% extends "core/base.html" %}
+{% extends "core/base.jinja" %}
{% block title %}
Group list
@@ -8,7 +8,7 @@ Group list
Group list
{% endblock %}
diff --git a/core/templates/core/index.html b/core/templates/core/index.html
deleted file mode 100644
index 639fc4a7..00000000
--- a/core/templates/core/index.html
+++ /dev/null
@@ -1,7 +0,0 @@
-{% extends "core/base.html" %}
-
-{% block title %}{{ title }}{% endblock %}
-
-{% block content %}
-Hello, world. You're at the core index.
-{% endblock %}
diff --git a/core/templates/core/index.jinja b/core/templates/core/index.jinja
new file mode 100644
index 00000000..aa25fa80
--- /dev/null
+++ b/core/templates/core/index.jinja
@@ -0,0 +1,7 @@
+{% extends "core/base.jinja" %}
+
+{% block title %}{{ title }}{% endblock %}
+
+{% block content %}
+Hello, world. You're at the core index using Jinja2.
+{% endblock %}
diff --git a/core/templates/core/login.html b/core/templates/core/login.jinja
similarity index 69%
rename from core/templates/core/login.html
rename to core/templates/core/login.jinja
index 56c05f14..38407356 100644
--- a/core/templates/core/login.html
+++ b/core/templates/core/login.jinja
@@ -1,4 +1,4 @@
-{% extends "core/base.html" %}
+{% extends "core/base.jinja" %}
{% block content %}
@@ -7,7 +7,7 @@
{% endif %}
{% if next %}
- {% if user.is_authenticated %}
+ {% if user.is_authenticated() %}
Your account doesn't have access to this page. To proceed,
please login with an account that has access.
{% else %}
@@ -15,15 +15,15 @@
{% endif %}
{% endif %}
-
{# Assumes you setup the password_reset view in your URLconf #}
-Lost password?
+Lost password?
{% endblock %}
diff --git a/core/templates/core/page.html b/core/templates/core/page.jinja
similarity index 66%
rename from core/templates/core/page.html
rename to core/templates/core/page.jinja
index dcb2932b..b421fdd8 100644
--- a/core/templates/core/page.html
+++ b/core/templates/core/page.jinja
@@ -1,8 +1,8 @@
-{% extends "core/base.html" %}
+{% extends "core/base.jinja" %}
{% block title %}
{% if page %}
- {{ page.get_display_name }}
+ {{ page.get_display_name() }}
{% elif page_list %}
Page list
{% else %}
@@ -16,6 +16,6 @@
{% endblock %}
{% else %}
Page does not exist
- Create it?
+ Create it?
{% endif %}
{% endblock %}
diff --git a/core/templates/core/page_detail.html b/core/templates/core/page_detail.html
deleted file mode 100644
index 536fee92..00000000
--- a/core/templates/core/page_detail.html
+++ /dev/null
@@ -1,26 +0,0 @@
-{% extends "core/page.html" %}
-{% load renderer %}
-
-{% block page %}
- Page
- Back to list
- {% if can_edit %}
- Edit
- {% endif %}
- {% if can_edit_prop %}
- Prop
- {% endif %}
- You're seeing the page {{ page.get_display_name }} -
- History
- {% if rev %}
- This may not be the last update, you are seeing revision {{ rev.id }}!
- {{ rev.title }}
- {{ rev.content|markdown }}
- {% else %}
- {{ page.revisions.last.title }}
- {{ page.revisions.last.content|markdown }}
- {% endif %}
-{% endblock %}
-
-
-
diff --git a/core/templates/core/page_detail.jinja b/core/templates/core/page_detail.jinja
new file mode 100644
index 00000000..6ca0e222
--- /dev/null
+++ b/core/templates/core/page_detail.jinja
@@ -0,0 +1,25 @@
+{% extends "core/page.jinja" %}
+
+{% block page %}
+ Page
+ Back to list
+ {% if can_edit %}
+ Edit
+ {% endif %}
+ {% if can_edit_prop %}
+ Prop
+ {% endif %}
+ You're seeing the page {{ page.get_display_name() }} -
+ History
+ {% if rev %}
+ This may not be the last update, you are seeing revision {{ rev.id }}!
+ {{ rev.title }}
+ {{ rev.content|markdown }}
+ {% else %}
+ {{ page.revisions.last().title }}
+ {{ page.revisions.last().content|markdown }}
+ {% endif %}
+{% endblock %}
+
+
+
diff --git a/core/templates/core/page_hist.html b/core/templates/core/page_hist.html
deleted file mode 100644
index 746d6115..00000000
--- a/core/templates/core/page_hist.html
+++ /dev/null
@@ -1,19 +0,0 @@
-{% extends "core/page.html" %}
-
-{% block page %}
- Page history
- Back to page
- You're seeing the history of page {{ page.get_display_name }}
-
-{% endblock %}
-
-
-
-
diff --git a/core/templates/core/page_hist.jinja b/core/templates/core/page_hist.jinja
new file mode 100644
index 00000000..6401da6e
--- /dev/null
+++ b/core/templates/core/page_hist.jinja
@@ -0,0 +1,19 @@
+{% extends "core/page.jinja" %}
+
+{% block page %}
+ Page history
+ Back to page
+ You're seeing the history of page {{ page.get_display_name() }}
+
+{% endblock %}
+
+
+
+
diff --git a/core/templates/core/page_list.html b/core/templates/core/page_list.jinja
similarity index 66%
rename from core/templates/core/page_list.html
rename to core/templates/core/page_list.jinja
index 9c9fdbaa..7862ffa0 100644
--- a/core/templates/core/page_list.html
+++ b/core/templates/core/page_list.jinja
@@ -1,4 +1,4 @@
-{% extends "core/base.html" %}
+{% extends "core/base.jinja" %}
{% block title %}
Page list
@@ -9,7 +9,7 @@
Page list
{% else %}
diff --git a/core/templates/core/page_prop.html b/core/templates/core/page_prop.jinja
similarity index 76%
rename from core/templates/core/page_prop.html
rename to core/templates/core/page_prop.jinja
index 98436b94..302b1e67 100644
--- a/core/templates/core/page_prop.html
+++ b/core/templates/core/page_prop.jinja
@@ -1,10 +1,10 @@
-{% extends "core/page.html" %}
+{% extends "core/page.jinja" %}
{% block content %}
Page properties
{% endblock %}
diff --git a/core/templates/core/pagerev_edit.html b/core/templates/core/pagerev_edit.jinja
similarity index 70%
rename from core/templates/core/pagerev_edit.html
rename to core/templates/core/pagerev_edit.jinja
index 513898cd..6b7b88dc 100644
--- a/core/templates/core/pagerev_edit.html
+++ b/core/templates/core/pagerev_edit.jinja
@@ -1,11 +1,11 @@
-{% extends "core/page.html" %}
+{% extends "core/page.jinja" %}
{% block head %}
-{{ block.super }}
+{{ super() }}