diff options
author | Samy Pessé <samypesse@gmail.com> | 2014-04-27 17:14:57 +0200 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2014-04-27 17:14:57 +0200 |
commit | 6a33ad9ef7a73faaeb8faa839b2004fbcd502ec7 (patch) | |
tree | 892bd90740b5d7e1b252de2fd3145746bbee7171 /theme/templates | |
parent | ca94055adf2d0519105b587116d5d56b559a2c3a (diff) | |
download | gitbook-6a33ad9ef7a73faaeb8faa839b2004fbcd502ec7.zip gitbook-6a33ad9ef7a73faaeb8faa839b2004fbcd502ec7.tar.gz gitbook-6a33ad9ef7a73faaeb8faa839b2004fbcd502ec7.tar.bz2 |
Add base cache manifest
Diffstat (limited to 'theme/templates')
-rwxr-xr-x | theme/templates/layout.html | 2 | ||||
-rw-r--r-- | theme/templates/site.html | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/theme/templates/layout.html b/theme/templates/layout.html index ae6f1b2..644e993 100755 --- a/theme/templates/layout.html +++ b/theme/templates/layout.html @@ -1,5 +1,5 @@ <!DOCTYPE HTML> -<html lang="en-US"> +<html lang="en-US" {% block htmlTag %}{% endblock %}> <head prefix="og: http://ogp.me/ns# book: http://ogp.me/ns/book#"> {% block head %} <meta charset="UTF-8"> diff --git a/theme/templates/site.html b/theme/templates/site.html index c6db011..8b376d1 100644 --- a/theme/templates/site.html +++ b/theme/templates/site.html @@ -1,5 +1,6 @@ {% extends "layout.html" %} +{% block htmlTag %}manifest="{{ baseBase }}/manifest.appcache"{% 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 }}"> |