diff options
author | Samy Pessé <samypesse@gmail.com> | 2014-05-21 17:17:08 +0200 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2014-05-21 17:17:08 +0200 |
commit | 8d6923ce2cb0d6508a95435afb0cc51045cacaf6 (patch) | |
tree | 235edd547d180b55e68a21e290ccee7b5225723b /theme | |
parent | 0e1717f4bb979ebdbba5500dd5ae85f7f10f3528 (diff) | |
parent | b21fb24a82577f9caf7fc1db2e1559d128dd798f (diff) | |
download | gitbook-8d6923ce2cb0d6508a95435afb0cc51045cacaf6.zip gitbook-8d6923ce2cb0d6508a95435afb0cc51045cacaf6.tar.gz gitbook-8d6923ce2cb0d6508a95435afb0cc51045cacaf6.tar.bz2 |
Merge pull request #234 from davidagraf/livereload
Livereload
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 }}"> |