diff options
author | Samy Pessé <samypesse@gmail.com> | 2016-02-26 09:41:26 +0100 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2016-02-26 09:41:26 +0100 |
commit | d3d64f636c859f7f01a64f7774cf70bd8ccdc562 (patch) | |
tree | 4f7731f37c3a793d187b0ab1cd77680e69534c6c /theme/templates/website/includes | |
parent | 4cb9cbb5ae3aa8f9211ffa3ac5e3d34232c0ca4f (diff) | |
parent | eef072693b17526347c37b66078a5059c71caa31 (diff) | |
download | gitbook-d3d64f636c859f7f01a64f7774cf70bd8ccdc562.zip gitbook-d3d64f636c859f7f01a64f7774cf70bd8ccdc562.tar.gz gitbook-d3d64f636c859f7f01a64f7774cf70bd8ccdc562.tar.bz2 |
Merge pull request #1109 from GitbookIO/3.0.0
Version 3.0.0
Diffstat (limited to 'theme/templates/website/includes')
-rw-r--r-- | theme/templates/website/includes/header.html | 12 | ||||
-rw-r--r-- | theme/templates/website/includes/summary.html | 57 |
2 files changed, 0 insertions, 69 deletions
diff --git a/theme/templates/website/includes/header.html b/theme/templates/website/includes/header.html deleted file mode 100644 index 84ae83c..0000000 --- a/theme/templates/website/includes/header.html +++ /dev/null @@ -1,12 +0,0 @@ -<div class="book-header" role="navigation"> - <!-- Actions Left --> - {% if glossary.length > 0 %} - <a href="{{ basePath }}/GLOSSARY.html" class="btn pull-left" aria-label="{{ __("GLOSSARY_OPEN") }}"><i class="fa fa-sort-alpha-asc"></i></a> - {% endif %} - - <!-- Title --> - <h1> - <i class="fa fa-circle-o-notch fa-spin"></i> - <a href="{{ basePath }}/" >{{ title }}</a> - </h1> -</div> diff --git a/theme/templates/website/includes/summary.html b/theme/templates/website/includes/summary.html deleted file mode 100644 index ea0fe80..0000000 --- a/theme/templates/website/includes/summary.html +++ /dev/null @@ -1,57 +0,0 @@ -{% macro articles(_articles) %} - {% for item in _articles %} - <li class="chapter {% if item.path == _input %}active{% endif %}" data-level="{{ item.level }}" {% if item.path and not item.external %}data-path="{{ item.path|contentLink }}"{% endif %}> - {% if item.path and item.exists %} - {% if not item.external %} - <a href="{{ basePath }}/{{ item.path|contentLink }}"> - {% else %} - <a target="_blank" href="{{ item.path }}"> - {% endif %} - <i class="fa fa-check"></i> - {% if item.level != "0" %} - <b>{{ item.level }}.</b> - {% endif %} - {{ item.title }} - </a> - {% else %} - <span><b>{{ item.level }}.</b> {{ item.title }}</span> - {% endif %} - {% if item.articles.length > 0 %} - <ul class="articles"> - {{ articles(item.articles) }} - </ul> - {% endif %} - </li> - {% endfor %} -{% endmacro %} - -<div class="book-summary"> - <nav role="navigation"> - <ul class="summary"> - {% set _divider = false %} - {% if options.links.sidebar %} - {% for linkTitle, link in options.links.sidebar %} - {% set _divider = true %} - <li> - <a href="{{ link }}" target="blank" class="custom-link">{{ linkTitle }}</a> - </li> - {% endfor %} - {% endif %} - - {% if _divider %} - <li class="divider"></li> - {% endif %} - - {{ articles(summary.chapters) }} - - {% if options.links.gitbook != false %} - <li class="divider"></li> - <li> - <a href="https://www.gitbook.com" target="blank" class="gitbook-link"> - {{ __("GITBOOK_LINK") }} - </a> - </li> - {% endif %} - </ul> - </nav> -</div> |