diff options
Diffstat (limited to 'theme/templates/site.html')
-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 5771c72..76cbb51 100644 --- a/theme/templates/site.html +++ b/theme/templates/site.html @@ -2,7 +2,11 @@ {% block title %}{{ progress.current.title }}{% parent %}{% endblock %} {% block content %} +{% if githubId %} <div class="book" data-github="{{ githubId }}" data-level="{{ progress.current.level }}" data-basepath="{{ basePath }}" data-revision="{{ revision }}"> +{% else %} +<div class="book" data-level="{{ progress.current.level }}" data-basepath="{{ basePath }}" data-revision="{{ revision }}"> +{% endif %} {% include "includes/book/header.html" %} {% include "includes/book/summary.html" %} <div class="book-body" tabindex="-1"> @@ -25,4 +29,4 @@ </div> </div> </div> -{% endblock %}
\ No newline at end of file +{% endblock %} |