jekyll-rtd-theme 1.0.0 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +11 -19
- data/_includes/addons.liquid +4 -2
- data/_includes/addons/{source/analytics.liquid → analytics.liquid} +1 -3
- data/_includes/addons/{source/github.liquid → github.liquid} +0 -0
- data/_includes/addons/{source/i18n.liquid → i18n.liquid} +1 -1
- data/_includes/addons/{source/gems.liquid → plugins.liquid} +1 -1
- data/_includes/album.liquid +1 -1
- data/_includes/assets/common.js +40 -0
- data/_includes/assets/search.js +76 -0
- data/_includes/breadcrumbs.liquid +1 -1
- data/_includes/extend/list.liquid +2 -2
- data/_includes/extend/toctree.liquid +6 -5
- data/_includes/footer.liquid +5 -5
- data/_includes/i18n/{en-US.liquid → en.liquid} +3 -2
- data/_includes/i18n/fr.liquid +29 -0
- data/_includes/i18n/it.liquid +29 -0
- data/_includes/i18n/ja.liquid +29 -0
- data/_includes/i18n/ko.liquid +29 -0
- data/_includes/i18n/ru.liquid +29 -0
- data/_includes/i18n/{zh-CN.liquid → zh-cn.liquid} +2 -1
- data/_includes/list.liquid +1 -1
- data/_includes/reset/defaults.liquid +40 -33
- data/_includes/reset/i18n.liquid +11 -3
- data/_includes/reset/languages.liquid +110 -0
- data/_includes/reset/workdir.liquid +4 -3
- data/_includes/toctree.liquid +1 -1
- data/_layouts/default.liquid +219 -2
- data/_sass/_album.scss +1 -1
- data/_sass/_embed.scss +1 -1
- data/_sass/fluid.scss +1 -1
- data/_sass/site.scss +14 -11
- data/assets/favicon.svg +1 -1
- data/assets/js/html5shiv.min.js +4 -0
- data/assets/robots.txt +1 -1
- data/assets/search.liquid +17 -1
- data/assets/sitemap.liquid +17 -0
- metadata +21 -22
- data/_includes/addons/analytics/baidu.liquid +0 -18
- data/_includes/addons/analytics/cnzz.liquid +0 -4
- data/_includes/addons/analytics/google.liquid +0 -18
- data/_includes/addons/comments/disqus.liquid +0 -10
- data/_includes/addons/seo/og.liquid +0 -7
- data/_includes/addons/seo/schema.liquid +0 -10
- data/_includes/assets/site.js +0 -125
- data/_includes/reset/schema.liquid +0 -2
- data/_includes/searchbox.liquid +0 -5
- data/_layouts/basic.liquid +0 -107
- data/assets/sitemap.xml +0 -18
data/_includes/searchbox.liquid
DELETED
data/_layouts/basic.liquid
DELETED
@@ -1,107 +0,0 @@
|
|
1
|
-
---
|
2
|
-
layout: plugins/compress
|
3
|
-
---
|
4
|
-
|
5
|
-
{%- include reset/defaults.liquid -%}
|
6
|
-
|
7
|
-
<!DOCTYPE html>
|
8
|
-
|
9
|
-
<!--
|
10
|
-
{% if site.remote_theme -%}
|
11
|
-
remote_theme: {{ site.remote_theme }}, based on v{{ version }}
|
12
|
-
{%- else -%}
|
13
|
-
theme: {{ site.theme | default: "jekyll-rtd-theme, based on" }} v{{ version }}
|
14
|
-
{%- endif %}
|
15
|
-
-->
|
16
|
-
|
17
|
-
<html class="writer-html5" lang="{{ lang }}">
|
18
|
-
|
19
|
-
<head>
|
20
|
-
<meta charset="utf-8">
|
21
|
-
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
22
|
-
<title>{{ title }}</title>
|
23
|
-
<!-- meta -->
|
24
|
-
<meta name="description" content="{{ description }}">
|
25
|
-
<meta name="author" content="{{ author }}">
|
26
|
-
<meta name="revised" content="{{ commit }}">
|
27
|
-
<meta name="generator" content="jekyll-rtd-theme v{{ version }}">
|
28
|
-
<!-- custom meta -->
|
29
|
-
{% for meta in site.meta -%}
|
30
|
-
<meta name="{{ meta.first }}" content="{{ meta.last }}">
|
31
|
-
{% endfor -%}
|
32
|
-
<!-- og -->
|
33
|
-
{% include addons/seo/og.liquid %}
|
34
|
-
<!-- schema -->
|
35
|
-
{% include addons/seo/schema.liquid %}
|
36
|
-
<!-- link -->
|
37
|
-
{% if prev -%}
|
38
|
-
<link rel="prev" href="{{ prev.url | absolute_url | xml_escape }}">
|
39
|
-
{%- endif -%}
|
40
|
-
{%- if next -%}
|
41
|
-
<link rel="next" href="{{ next.url | absolute_url | xml_escape }}">
|
42
|
-
{%- endif -%}
|
43
|
-
<link rel="canonical" href="{{ schema_url }}">
|
44
|
-
<!-- theme -->
|
45
|
-
<link rel="stylesheet" href="{{ cdn }}/assets/css/theme.css">
|
46
|
-
<link rel="stylesheet" href="{{ cdn }}/assets/css/rougify/{{ site.rougify | default: 'github' }}.css">
|
47
|
-
<style>{{ site_scss | scssify }}</style>
|
48
|
-
<!-- icon -->
|
49
|
-
<link rel="icon" type="image/svg+xml" href="{{ site.baseurl }}/assets/favicon.svg">
|
50
|
-
<!-- script -->
|
51
|
-
<script src="{{ cdn }}/assets/js/jquery.min.js"></script>
|
52
|
-
<script src="{{ cdn }}/assets/js/theme.js"></script>
|
53
|
-
<script src="{{ cdn }}/assets/js/anchor.min.js"></script>
|
54
|
-
<script>{{ site_script }}</script>
|
55
|
-
</head>
|
56
|
-
|
57
|
-
<body class="wy-body-for-nav">
|
58
|
-
<div class="wy-grid-for-nav">
|
59
|
-
<!-- SIDE NAV, TOGGLES ON MOBILE -->
|
60
|
-
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
|
61
|
-
<div class="wy-side-scroll">
|
62
|
-
<div class="wy-side-nav-search">
|
63
|
-
{% if site.logo %}
|
64
|
-
<a href="{{ site.baseurl }}/{% if site_lang != lang %}{{ lang }}/{% endif %}">
|
65
|
-
<img src="{{ site.baseurl }}/{{ site.logo }}" class="logo" alt="{{ site.title }}">
|
66
|
-
</a>
|
67
|
-
{% else %}
|
68
|
-
<a href="{{ site.baseurl }}/{% if site_lang != lang %}{{ lang }}/{% endif %}" class="icon icon-home"> {{ site.title }}</a>
|
69
|
-
{% endif %}
|
70
|
-
{% include searchbox.liquid %}
|
71
|
-
</div>
|
72
|
-
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
|
73
|
-
{% include toctree.liquid %}
|
74
|
-
</div>
|
75
|
-
{%- if site.embed -%}
|
76
|
-
<div class="wy-embed-wrap">
|
77
|
-
<div class="wy-embed">{{ site.embed }}</div>
|
78
|
-
</div>
|
79
|
-
{%- endif -%}
|
80
|
-
</div>
|
81
|
-
</nav>
|
82
|
-
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
|
83
|
-
<!-- MOBILE NAV -->
|
84
|
-
<nav class="wy-nav-top" aria-label="top navigation">
|
85
|
-
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
|
86
|
-
<a href="{{ site.baseurl }}/{% if site_lang != lang %}{{ lang }}/{% endif %}">{{ site.title }}</a>
|
87
|
-
</nav>
|
88
|
-
<div class="wy-nav-content">
|
89
|
-
<div class="rst-content">
|
90
|
-
{% include breadcrumbs.liquid %}
|
91
|
-
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
|
92
|
-
<div itemprop="articleBody">{{ content }}</div>
|
93
|
-
{% include addons/comments/disqus.liquid %}
|
94
|
-
</div>
|
95
|
-
{% include footer.liquid %}
|
96
|
-
</div>
|
97
|
-
</div>
|
98
|
-
</section>
|
99
|
-
</div>
|
100
|
-
{%- if site.addons %}{% include addons.liquid %}{% endif %}
|
101
|
-
<!-- analytics -->
|
102
|
-
{%- include addons/analytics/baidu.liquid -%}
|
103
|
-
{%- include addons/analytics/cnzz.liquid -%}
|
104
|
-
{%- include addons/analytics/google.liquid -%}
|
105
|
-
</body>
|
106
|
-
|
107
|
-
</html>
|
data/assets/sitemap.xml
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
---
|
2
|
-
layout: plugins/compress
|
3
|
-
permalink: /sitemap.xml
|
4
|
-
---
|
5
|
-
|
6
|
-
{%- include reset/site_pages.liquid -%}
|
7
|
-
|
8
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
9
|
-
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
10
|
-
{%- for page in site_pages -%}
|
11
|
-
{% include reset/schema.liquid %}
|
12
|
-
<url>
|
13
|
-
<loc>{{ schema_url }}</loc>
|
14
|
-
<priority>0.{{ page.path | split: "/" | size }}</priority>
|
15
|
-
<lastmod>{{ schema_lastmod }}</lastmod>
|
16
|
-
</url>
|
17
|
-
{%- endfor %}
|
18
|
-
</urlset>
|