diff --git a/borgweb/borg/templates/borg/index.html b/borgweb/borg/templates/borg/index.html index 65a00f5..755bf2f 100644 --- a/borgweb/borg/templates/borg/index.html +++ b/borgweb/borg/templates/borg/index.html @@ -1,7 +1,8 @@ {% extends "borg/base.html" %} +{% load cache %} +{% load static %} {% block title %}Borg Summary{% endblock %} -{% load static %} {% block script %} {{block.super}} @@ -23,6 +24,7 @@ {% endblock %} {% block body %} +{% cache 60 repos %} {% if repo_list %}
{% for repo in repo_list %} @@ -82,5 +84,6 @@ {% endif %}
+{% endcache %} {% endblock %}