From 31ff8f71659f2a92524e456b04d5771c822155ad Mon Sep 17 00:00:00 2001 From: Anton Akhmerov <anton.akhmerov@gmail.com> Date: Sun, 1 Apr 2018 20:22:07 +0200 Subject: [PATCH] cleanup --- _layouts/website/summary.html | 57 ----------------------------------- book.json | 3 -- 2 files changed, 60 deletions(-) delete mode 100644 _layouts/website/summary.html delete mode 100644 book.json diff --git a/_layouts/website/summary.html b/_layouts/website/summary.html deleted file mode 100644 index 958ec916..00000000 --- a/_layouts/website/summary.html +++ /dev/null @@ -1,57 +0,0 @@ -{% macro articles(_articles) %} - {% for article in _articles %} - <li class="chapter {% if article.path == file.path and not article.anchor %}active{% endif %}" data-level="{{ article.level }}" {% if article.path %}data-path="{{ article.path|resolveFile }}"{% endif %}> - {% if article.path and getPageByPath(article.path) %} - <a href="{{ article.path|resolveFile }}{{ article.anchor }}"> - {% elif article.url %} - <a target="_blank" href="{{ article.url }}"> - {% else %} - <span> - {% endif %} - {% if article.level != "0" and config.pluginsConfig['theme-default'].showLevel %} - <b>{{ article.level }}.</b> - {% endif %} - {{ article.title }} - {% if article.path or article.url %} - </a> - {% else %} - </span> - {% endif %} - - {% if article.articles.length > 0 %} - <ul class="articles"> - {{ articles(article.articles, file, config) }} - </ul> - {% endif %} - </li> - {% endfor %} -{% endmacro %} - -<ul class="summary"> - {% set _divider = false %} - {% if config.links.sidebar %} - {% for linkTitle, link in config.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 %} - - {% for part in summary.parts %} - {% if part.title %} - <li class="header">{{ part.title }}</li> - {% elif not loop.first %} - <li class="divider"></li> - {% endif %} - {{ articles(part.articles, file, config) }} - {% endfor %} - <li class="divider"></li> - <li> - <a href="https://gitlab.kwant-project.org/solidstate/lectures/issues/new?issuable_template=typo">Report a typo</a> - </li> -</ul> diff --git a/book.json b/book.json deleted file mode 100644 index 592f658b..00000000 --- a/book.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "plugins": ["katex-plus", "-sharing"] -} -- GitLab