Use latest version fo theme

This commit is contained in:
Samy Pessé
2015-01-20 11:32:11 +01:00
parent 238cd9f7f0
commit 33e32b20d9
12 changed files with 27 additions and 32 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
{% extends "./layout.html" %}
{% extends "./page.html" %}
{% block title %}Glossary | {{ title }}{% endblock %}
+11 -8
View File
@@ -3,14 +3,17 @@
{% block title %}{{ progress.current.title }} | {{ title }}{% endblock %}
{% block style %}
<link rel="stylesheet" href="{{ staticBase }}/print.css">
{% for resource in plugins.resources.css %}
{% if resource.url %}
<link rel="stylesheet" href="{{ resource.url }}">
{% else %}
<link rel="stylesheet" href="{{ staticBase }}/plugins/{{ resource.path }}">
{% endif %}
{% endfor %}
<link rel="stylesheet" href="{{ staticBase }}/print.css">
{% for resource in plugins.resources.css %}
{% if resource.url %}
<link rel="stylesheet" href="{{ resource.url }}">
{% else %}
<link rel="stylesheet" href="{{ staticBase }}/plugins/{{ resource.path }}">
{% endif %}
{% endfor %}
{% for style in styles %}
<link rel="stylesheet" href="{{ basePath }}/{{ style }}">
{% endfor %}
{% endblock %}
{% block content %}
+1 -12
View File
@@ -1,18 +1,7 @@
{% extends "./layout.html" %}
{% extends "./page.html" %}
{% block title %}Table of Contents | {{ title }}{% endblock %}
{% block style %}
<link rel="stylesheet" href="{{ staticBase }}/print.css">
{% for resource in plugins.resources.css %}
{% if resource.url %}
<link rel="stylesheet" href="{{ resource.url }}">
{% else %}
<link rel="stylesheet" href="{{ staticBase }}/plugins/{{ resource.path }}">
{% endif %}
{% endfor %}
{% endblock %}
{% macro articles(_articles) %}
{% for item in _articles %}
{% set externalLink = item.path|isExternalLink %}
@@ -56,7 +56,7 @@
{% if options.links.gitbook !== false %}
<li class="divider"></li>
<li>
<a href="http://www.gitbook.io/" target="blank" class="gitbook-link">Published using GitBook</a>
<a href="https://www.gitbook.com" target="blank" class="gitbook-link">Published using GitBook</a>
</li>
{% endif %}
</ul>
@@ -1,4 +1,4 @@
{% extends "../layout.html" %}
{% extends "./layout.html" %}
{% block title %}{{ title }}{% endblock %}
View File
@@ -1,4 +1,4 @@
{% extends "../layout.html" %}
{% extends "./layout.html" %}
{% block head %}
{% parent %}
@@ -66,12 +66,15 @@ require(["gitbook"], function(gitbook) {
{% endblock %}
{% block style %}
<link rel="stylesheet" href="{{ staticBase }}/style.css">
{% for resource in plugins.resources.css %}
{% if resource.url %}
<link rel="stylesheet" href="{{ resource.url }}">
{% else %}
<link rel="stylesheet" href="{{ staticBase }}/plugins/{{ resource.path }}">
{% endif %}
{% endfor %}
<link rel="stylesheet" href="{{ staticBase }}/style.css">
{% for resource in plugins.resources.css %}
{% if resource.url %}
<link rel="stylesheet" href="{{ resource.url }}">
{% else %}
<link rel="stylesheet" href="{{ staticBase }}/plugins/{{ resource.path }}">
{% endif %}
{% endfor %}
{% for style in styles %}
<link rel="stylesheet" href="{{ basePath }}/{{ style }}">
{% endfor %}
{% endblock %}