diff options
Diffstat (limited to 'theme')
-rw-r--r-- | theme/templates/site.html | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/theme/templates/site.html b/theme/templates/site.html index af73030..a05cf4b 100644 --- a/theme/templates/site.html +++ b/theme/templates/site.html @@ -1,6 +1,10 @@ {% extends "layout.html" %} -{% block htmlTag %}manifest="{{ basePath }}/manifest.appcache"{% endblock %} +{% block htmlTag %} + {% if options.cache %} + 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 }}"> |