summaryrefslogtreecommitdiffstats
path: root/theme
diff options
context:
space:
mode:
Diffstat (limited to 'theme')
-rw-r--r--theme/templates/site.html6
1 files changed, 1 insertions, 5 deletions
diff --git a/theme/templates/site.html b/theme/templates/site.html
index a05cf4b..b0a2ba4 100644
--- a/theme/templates/site.html
+++ b/theme/templates/site.html
@@ -1,10 +1,6 @@
{% extends "layout.html" %}
-{% block htmlTag %}
- {% if options.cache %}
- manifest="{{ basePath }}/manifest.appcache"
- {% endif %}
-{% endblock %}
+{% block htmlTag %}{% if options.cache !== false %}manifest="{{ basePath }}/manifest.appcache"{% endif %}{% endblock %}
{% block title %}{{ progress.current.title }}{% parent %}{% endblock %}
{% block content %}
<div class="book" {% if githubId %}data-github="{{ githubId }}"{% endif %} data-level="{{ progress.current.level }}" data-basepath="{{ basePath }}" data-revision="{{ revision }}">