]> git.0d.be Git - chloro.git/blobdiff - chloro/phyll/templates/phyll/base.html
add mini-live edit, for quick fixes
[chloro.git] / chloro / phyll / templates / phyll / base.html
index 54a1f4a3b6d69003201111f114c9ef19f6ebe046..4f231e192b9426903f0417c08dc4c4d02077e561 100644 (file)
@@ -1,4 +1,4 @@
-{% load i18n %}<!DOCTYPE html>
+{% load gadjo i18n %}<!DOCTYPE html>
 <html>
   <head>
     <meta charset="utf-8"/> <!-- 🌱 -->
@@ -6,6 +6,10 @@
     <title>{% block page-title %}Coin web de Frédéric Péters{% endblock %}</title>
     <link rel="stylesheet" type="text/css" href="/static/css/style.css">
     <link rel="alternate" type="application/atom+xml" title="Atom feed" href="/feed/atom" />
+    {% if request.user.is_staff %}
+    <script src="{% xstatic 'jquery' 'jquery.min.js' %}"></script>
+    <script src="/static/js/chloro.js"></script>
+    {% endif %}
     {% block bottom-head %}
     {% endblock %}
   </head>