testtheme 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +107 -0
- data/README.md~ +111 -0
- data/_includes/contribute-links.html +11 -0
- data/_includes/doc-side-nav.html +62 -0
- data/_includes/doc-top-nav.html +17 -0
- data/_includes/figure.html +22 -0
- data/_includes/footer.html +51 -0
- data/_includes/footer.html~ +52 -0
- data/_includes/home.html +4 -0
- data/_includes/nav.html +45 -0
- data/_includes/nav.html~ +45 -0
- data/_includes/search-box.html +14 -0
- data/_includes/search-box.html~ +14 -0
- data/_includes/section-index.html +42 -0
- data/_layouts/about.html +12 -0
- data/_layouts/base.html +82 -0
- data/_layouts/base.html~ +82 -0
- data/_layouts/blog.html +17 -0
- data/_layouts/bugs.html +12 -0
- data/_layouts/community.html +12 -0
- data/_layouts/compress.html +10 -0
- data/_layouts/default.html +12 -0
- data/_layouts/docs.html +62 -0
- data/_layouts/docs.html~ +22 -0
- data/_layouts/faq.html +10 -0
- data/_layouts/landing.html +8 -0
- data/_layouts/post.html +26 -0
- data/_layouts/search-results.html +35 -0
- data/_layouts/troubleshooting.html +12 -0
- data/_sass/base/_common.scss +89 -0
- data/_sass/base/_config.scss +59 -0
- data/_sass/base/_markdown.scss +114 -0
- data/_sass/base/_override.scss +82 -0
- data/_sass/base/_reset.scss +72 -0
- data/_sass/base/_text.scss +46 -0
- data/_sass/layouts/_about.scss +2 -0
- data/_sass/layouts/_blog.scss +142 -0
- data/_sass/layouts/_bugs.scss +2 -0
- data/_sass/layouts/_community.scss +14 -0
- data/_sass/layouts/_docs.scss +42 -0
- data/_sass/layouts/_faq.scss +25 -0
- data/_sass/layouts/_landing.scss +192 -0
- data/_sass/layouts/_post.scss +12 -0
- data/_sass/layouts/_search-results.scss +11 -0
- data/_sass/layouts/_troubleshooting.scss +2 -0
- data/_sass/layouts/_welcome.scss +2 -0
- data/_sass/main.scss +32 -0
- data/_sass/materialize/components/_buttons.scss +199 -0
- data/_sass/materialize/components/_color.scss +412 -0
- data/_sass/materialize/components/_global.scss +32 -0
- data/_sass/materialize/components/_mixins.scss +5 -0
- data/_sass/materialize/components/_roboto.scss +49 -0
- data/_sass/materialize/components/_variables.scss +309 -0
- data/_sass/materialize/components/_waves.scss +173 -0
- data/_sass/materialize/materialize.scss +15 -0
- data/_sass/modules/_buttons.scss +88 -0
- data/_sass/modules/_contribute-links.scss +64 -0
- data/_sass/modules/_doc-nav.scss +111 -0
- data/_sass/modules/_footer.scss +114 -0
- data/_sass/modules/_hero.scss +34 -0
- data/_sass/modules/_nav.scss +83 -0
- data/_sass/modules/_nav.scss~ +214 -0
- data/_sass/modules/_search-box.scss +47 -0
- data/_sass/modules/_section-index.scss +22 -0
- data/_sass/modules/_subscribe-form.scss +47 -0
- data/_sass/modules/_syntax-highlighting.scss +62 -0
- data/_sass/modules/_toc.scss +62 -0
- data/_sass/pages/_about.scss +374 -0
- data/_sass/pages/_blog.scss +149 -0
- data/_sass/pages/_community.scss +119 -0
- data/_sass/pages/_contribute.scss +5 -0
- data/_sass/pages/_docs.scss +72 -0
- data/_sass/pages/_faq.scss +37 -0
- data/_sass/pages/_glossary.scss +38 -0
- data/_sass/pages/_landing.scss +111 -0
- data/assets/css/styles.scss +71 -0
- data/assets/fonts/roboto/Roboto-Bold.eot +0 -0
- data/assets/fonts/roboto/Roboto-Bold.ttf +0 -0
- data/assets/fonts/roboto/Roboto-Bold.woff +0 -0
- data/assets/fonts/roboto/Roboto-Bold.woff2 +0 -0
- data/assets/fonts/roboto/Roboto-Light.eot +0 -0
- data/assets/fonts/roboto/Roboto-Light.ttf +0 -0
- data/assets/fonts/roboto/Roboto-Light.woff +0 -0
- data/assets/fonts/roboto/Roboto-Light.woff2 +0 -0
- data/assets/fonts/roboto/Roboto-Medium.eot +0 -0
- data/assets/fonts/roboto/Roboto-Medium.ttf +0 -0
- data/assets/fonts/roboto/Roboto-Medium.woff +0 -0
- data/assets/fonts/roboto/Roboto-Medium.woff2 +0 -0
- data/assets/fonts/roboto/Roboto-Regular.eot +0 -0
- data/assets/fonts/roboto/Roboto-Regular.ttf +0 -0
- data/assets/fonts/roboto/Roboto-Regular.woff +0 -0
- data/assets/fonts/roboto/Roboto-Regular.woff2 +0 -0
- data/assets/fonts/roboto/Roboto-Thin.eot +0 -0
- data/assets/fonts/roboto/Roboto-Thin.ttf +0 -0
- data/assets/fonts/roboto/Roboto-Thin.woff +0 -0
- data/assets/fonts/roboto/Roboto-Thin.woff2 +0 -0
- data/assets/img/caret-dark.svg +7 -0
- data/assets/img/caret.svg +7 -0
- data/assets/img/external-link-dark.svg +13 -0
- data/assets/img/external-link-icon.png +0 -0
- data/assets/img/external-link.svg +13 -0
- data/assets/img/github-dark.svg +15 -0
- data/assets/img/github-ribbon.svg +128 -0
- data/assets/img/github.png +0 -0
- data/assets/img/github.svg +15 -0
- data/assets/img/group.png +0 -0
- data/assets/img/hero-bg.png +0 -0
- data/assets/img/icon_github.svg +15 -0
- data/assets/img/more-arrow-dark.svg +13 -0
- data/assets/img/more-arrow.png +0 -0
- data/assets/img/more-arrow.svg +13 -0
- data/assets/img/slack.png +0 -0
- data/assets/img/stackoverflow.png +0 -0
- data/assets/img/x.svg +8 -0
- metadata +201 -0
data/_includes/home.html
ADDED
data/_includes/nav.html
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
{% assign current = page.url | downcase | split: '/' %}
|
|
2
|
+
<style>
|
|
3
|
+
.navbar-inverse .navbar-toggle,
|
|
4
|
+
.navbar-inverse .navbar-toggle:hover,
|
|
5
|
+
.navbar-inverse .navbar-toggle:focus {
|
|
6
|
+
background-color: transparent;
|
|
7
|
+
border-color: transparent !important;
|
|
8
|
+
}
|
|
9
|
+
</style>
|
|
10
|
+
|
|
11
|
+
<nav id="header-nav" class="navbar navbar-inverse" role="navigation">
|
|
12
|
+
<div class="container">
|
|
13
|
+
<div class="row">
|
|
14
|
+
<div class="col-md-11 nofloat center-block ">
|
|
15
|
+
|
|
16
|
+
<div class="navbar-header">
|
|
17
|
+
<button type="button" class="hamburger navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-collapse-1" aria-expanded="false">
|
|
18
|
+
<span class="sr-only">Toggle navigation</span>
|
|
19
|
+
<span class="icon-bar"></span>
|
|
20
|
+
<span class="icon-bar"></span>
|
|
21
|
+
<span class="icon-bar"></span>
|
|
22
|
+
</button>
|
|
23
|
+
<a class="navbar-brand" href="{{home}}/">
|
|
24
|
+
<div>
|
|
25
|
+
<img src="{{home}}/assets/img/logo.png" alt="Logo"/>
|
|
26
|
+
<span class="brand-name">{{site.project_name}}</span>
|
|
27
|
+
</div>
|
|
28
|
+
</a>
|
|
29
|
+
</div>
|
|
30
|
+
|
|
31
|
+
<div class="collapse navbar-collapse" id="navbar-collapse-1">
|
|
32
|
+
<ul class="nav navbar-nav navbar-right">
|
|
33
|
+
<li><a href="{{home}}/about/" {% if current[1] == 'about' %}class='current'{% endif %}>About</a></li>
|
|
34
|
+
<li><a href="{{home}}/docs/" {% if current[1] == 'docs' %}class='current'{% endif %}>Docs</a></li>
|
|
35
|
+
<li><a href="{{home}}/blog/" {% if current[1] == 'blog' %}class='current'{% endif %}>Blog</a></li>
|
|
36
|
+
<li><a href="{{home}}/community/" {% if current[1] == 'community' %}class='current'{% endif %}>Community</a></li>
|
|
37
|
+
<li><a href="{{home}}/faq/" {% if current[1] == 'faq' %}class='current'{% endif %}>FAQ</a></li>
|
|
38
|
+
<li>{% include search-box.html %}</li>
|
|
39
|
+
</ul>
|
|
40
|
+
</div>
|
|
41
|
+
|
|
42
|
+
</div>
|
|
43
|
+
</div>
|
|
44
|
+
</div>
|
|
45
|
+
</nav>
|
data/_includes/nav.html~
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
{% assign current = page.url | downcase | split: '/' %}
|
|
2
|
+
<style>
|
|
3
|
+
.navbar-inverse .navbar-toggle,
|
|
4
|
+
.navbar-inverse .navbar-toggle:hover,
|
|
5
|
+
.navbar-inverse .navbar-toggle:focus {
|
|
6
|
+
background-color: transparent;
|
|
7
|
+
border-color: transparent !important;
|
|
8
|
+
}
|
|
9
|
+
</style>
|
|
10
|
+
|
|
11
|
+
<nav id="header-nav" class="navbar navbar-inverse" role="navigation">
|
|
12
|
+
<div class="container">
|
|
13
|
+
<div class="row">
|
|
14
|
+
<div class="col-md-11 nofloat center-block ">
|
|
15
|
+
|
|
16
|
+
<div class="navbar-header">
|
|
17
|
+
<button type="button" class="hamburger navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-collapse-1" aria-expanded="false">
|
|
18
|
+
<span class="sr-only">Toggle navigation</span>
|
|
19
|
+
<span class="icon-bar"></span>
|
|
20
|
+
<span class="icon-bar"></span>
|
|
21
|
+
<span class="icon-bar"></span>
|
|
22
|
+
</button>
|
|
23
|
+
<a class="navbar-brand" href="{{home}}/">
|
|
24
|
+
<div>
|
|
25
|
+
<img src="{{home}}/assets/img/logo.png" alt="Istio"/>
|
|
26
|
+
<span class="brand-name">{{site.project_name}}</span>
|
|
27
|
+
</div>
|
|
28
|
+
</a>
|
|
29
|
+
</div>
|
|
30
|
+
|
|
31
|
+
<div class="collapse navbar-collapse" id="navbar-collapse-1">
|
|
32
|
+
<ul class="nav navbar-nav navbar-right">
|
|
33
|
+
<li><a href="{{home}}/about/" {% if current[1] == 'about' %}class='current'{% endif %}>About</a></li>
|
|
34
|
+
<li><a href="{{home}}/docs/" {% if current[1] == 'docs' %}class='current'{% endif %}>Docs</a></li>
|
|
35
|
+
<li><a href="{{home}}/blog/" {% if current[1] == 'blog' %}class='current'{% endif %}>Blog</a></li>
|
|
36
|
+
<li><a href="{{home}}/community/" {% if current[1] == 'community' %}class='current'{% endif %}>Community</a></li>
|
|
37
|
+
<li><a href="{{home}}/faq/" {% if current[1] == 'faq' %}class='current'{% endif %}>FAQ</a></li>
|
|
38
|
+
<li>{% include search-box.html %}</li>
|
|
39
|
+
</ul>
|
|
40
|
+
</div>
|
|
41
|
+
|
|
42
|
+
</div>
|
|
43
|
+
</div>
|
|
44
|
+
</div>
|
|
45
|
+
</nav>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<form name="cse" id="searchbox_demo" class="navbar-form navbar-right" role="search">
|
|
2
|
+
<input type="hidden" name="cx" value="{{site.search_engine}}" />
|
|
3
|
+
<input type="hidden" name="ie" value="utf-8" />
|
|
4
|
+
<input type="hidden" name="hl" value="en" />
|
|
5
|
+
<div class="form-group">
|
|
6
|
+
<div class="input-group">
|
|
7
|
+
<input name="q" class="form-control" type="text" size="30" />
|
|
8
|
+
<div class="input-group-addon">
|
|
9
|
+
<span class="btn-search glyphicon glyphicon-search"></span>
|
|
10
|
+
</div>
|
|
11
|
+
</div>
|
|
12
|
+
</div>
|
|
13
|
+
</form>
|
|
14
|
+
<script type="text/javascript" src="https://www.google.com/cse/brand?form=searchbox_demo"></script>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<form name="cse" id="searchbox_demo" class="navbar-form navbar-right" role="search">
|
|
2
|
+
<input type="hidden" name="cx" value="013699703217164175118:veyyqmfmpj4" />
|
|
3
|
+
<input type="hidden" name="ie" value="utf-8" />
|
|
4
|
+
<input type="hidden" name="hl" value="en" />
|
|
5
|
+
<div class="form-group">
|
|
6
|
+
<div class="input-group">
|
|
7
|
+
<input name="q" class="form-control" type="text" size="30" />
|
|
8
|
+
<div class="input-group-addon">
|
|
9
|
+
<span class="btn-search glyphicon glyphicon-search"></span>
|
|
10
|
+
</div>
|
|
11
|
+
</div>
|
|
12
|
+
</div>
|
|
13
|
+
</form>
|
|
14
|
+
<script type="text/javascript" src="https://www.google.com/cse/brand?form=searchbox_demo"></script>
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{% assign components = page.path | downcase | split: '/' %}
|
|
2
|
+
|
|
3
|
+
<p>{{page.overview}}</p>
|
|
4
|
+
|
|
5
|
+
<script type="text/javascript">
|
|
6
|
+
var docs = [];
|
|
7
|
+
|
|
8
|
+
{% assign docs = site.docs %}
|
|
9
|
+
{% for d in docs %}
|
|
10
|
+
{% assign doc_components = d.path | downcase | split: '/' %}
|
|
11
|
+
{% assign family = true %}
|
|
12
|
+
|
|
13
|
+
{% for comp in components %}
|
|
14
|
+
{% if forloop.last %}
|
|
15
|
+
{% continue %}
|
|
16
|
+
{% endif %}
|
|
17
|
+
|
|
18
|
+
{% assign dc = doc_components[forloop.index0] %}
|
|
19
|
+
|
|
20
|
+
{% if dc != comp %}
|
|
21
|
+
{% assign family = false %}
|
|
22
|
+
{% break %}
|
|
23
|
+
{% endif %}
|
|
24
|
+
{% endfor %}
|
|
25
|
+
|
|
26
|
+
{% if family == false %}
|
|
27
|
+
{% continue %}
|
|
28
|
+
{% endif %}
|
|
29
|
+
|
|
30
|
+
docs.push({path: [
|
|
31
|
+
{% for comp in doc_components %}
|
|
32
|
+
{% if forloop.index < components.size %}
|
|
33
|
+
{% continue %}
|
|
34
|
+
{% endif %}
|
|
35
|
+
|
|
36
|
+
"{{ comp }}",
|
|
37
|
+
{% endfor %}
|
|
38
|
+
], url: "{{d.url}}", title: "{{d.title}}", order: {{d.order}}, overview: "{{d.overview}}"});
|
|
39
|
+
{% endfor %}
|
|
40
|
+
|
|
41
|
+
genSectionNavTree(docs)
|
|
42
|
+
</script>
|
data/_layouts/about.html
ADDED
data/_layouts/base.html
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
---
|
|
2
|
+
#layout: compress
|
|
3
|
+
---
|
|
4
|
+
{% include home.html %}
|
|
5
|
+
|
|
6
|
+
<!DOCTYPE html>
|
|
7
|
+
<html lang="en" itemscope itemtype="https://schema.org/WebPage">
|
|
8
|
+
<head>
|
|
9
|
+
<meta charset="utf-8">
|
|
10
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
11
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
12
|
+
<meta name="title" content="{{page.title}}">
|
|
13
|
+
<meta name="og:title" content="{{page.title}}">
|
|
14
|
+
<meta name="og:image" content="{{home}}/assets/img/logo.png"/>
|
|
15
|
+
|
|
16
|
+
{% if page.overview == nil %}
|
|
17
|
+
<meta name="description" content="{{site.project_desc}}">
|
|
18
|
+
<meta name="og:description" content="{{site.project_desc}}">
|
|
19
|
+
{% else %}
|
|
20
|
+
<meta name="description" content="{{page.overview}}">
|
|
21
|
+
<meta name="og:description" content="{{page.overview}}">
|
|
22
|
+
{% endif %}
|
|
23
|
+
|
|
24
|
+
{% if page.title == 'Istio' %}
|
|
25
|
+
<title>Istio</title>
|
|
26
|
+
{% else %}
|
|
27
|
+
<title>Istio / {{ page.title }}</title>
|
|
28
|
+
{% endif %}
|
|
29
|
+
|
|
30
|
+
<!-- Webfont -->
|
|
31
|
+
<link href='https://fonts.googleapis.com/css?family=Roboto:400,100,100italic,300,300italic,400italic,500,500italic,700,700italic,900,900italic' rel='stylesheet' type='text/css'>
|
|
32
|
+
|
|
33
|
+
<link rel="alternate" type="application/rss+xml" title="{{site.project_name}} Blog RSS" href="{{home}}/feed.xml">
|
|
34
|
+
|
|
35
|
+
<!-- Favicons -->
|
|
36
|
+
<link rel="apple-touch-icon" href="{{home}}/favicons/apple-touch-icon.png" sizes="180x180">
|
|
37
|
+
<link rel="icon" type="image/png" href="{{home}}/favicons/android-chrome-96x96.png" sizes="96x96" >
|
|
38
|
+
<link rel="icon" type="image/png" href="{{home}}/favicons/favicon-32x32.png" sizes="32x32">
|
|
39
|
+
<link rel="icon" type="image/png" href="{{home}}/favicons/favicon-16x16.png" sizes="16x16">
|
|
40
|
+
<link rel="manifest" href="{{home}}/favicons/manifest.json">
|
|
41
|
+
<link rel="mask-icon" href="{{home}}/favicons/safari-pinned-tab.svg" color="#2DA6B0">
|
|
42
|
+
<meta name="msapplication-TileColor" content="#ffffff">
|
|
43
|
+
<meta name="msapplication-TileImage" content="{{home}}/favicons/mstile-150x150.png">
|
|
44
|
+
|
|
45
|
+
<!-- Bootstrap -->
|
|
46
|
+
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css" rel="stylesheet">
|
|
47
|
+
|
|
48
|
+
<link rel="stylesheet" href="{{home}}/assets/css/styles.css">
|
|
49
|
+
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
|
|
50
|
+
|
|
51
|
+
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
|
|
52
|
+
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
|
|
53
|
+
|
|
54
|
+
<script src="//cdnjs.cloudflare.com/ajax/libs/clipboard.js/1.4.2/clipboard.min.js"></script>
|
|
55
|
+
|
|
56
|
+
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
|
57
|
+
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
|
58
|
+
<!--[if lt IE 9]>
|
|
59
|
+
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
|
|
60
|
+
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
|
|
61
|
+
<![endif]-->
|
|
62
|
+
</head>
|
|
63
|
+
|
|
64
|
+
<body>
|
|
65
|
+
<script src="{{home}}/js/navtree.js"></script>
|
|
66
|
+
|
|
67
|
+
{{ content }}
|
|
68
|
+
|
|
69
|
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-validate/1.15.0/jquery.validate.min.js"></script>
|
|
70
|
+
<script src="{{home}}/js/jquery.form.min.js"></script>
|
|
71
|
+
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
|
|
72
|
+
<script src="{{home}}/js/slick.min.js"></script>
|
|
73
|
+
<script src="{{home}}/js/jquery.visible.min.js"></script>
|
|
74
|
+
<script src="{{home}}/js/common.js" type="text/javascript" charset="utf-8"></script>
|
|
75
|
+
<script src="{{home}}/js/buttons.js"></script>
|
|
76
|
+
<script src="{{home}}/js/search.js"></script>
|
|
77
|
+
|
|
78
|
+
{% if page.customjs %}
|
|
79
|
+
<script async="" defer="" type="text/javascript" src="{{ page.customjs }}"></script>
|
|
80
|
+
{% endif %}
|
|
81
|
+
</body>
|
|
82
|
+
</html>
|
data/_layouts/base.html~
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
---
|
|
2
|
+
#layout: compress
|
|
3
|
+
---
|
|
4
|
+
{% include home.html %}
|
|
5
|
+
|
|
6
|
+
<!DOCTYPE html>
|
|
7
|
+
<html lang="en" itemscope itemtype="https://schema.org/WebPage">
|
|
8
|
+
<head>
|
|
9
|
+
<meta charset="utf-8">
|
|
10
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
11
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
12
|
+
<meta name="title" content="{{page.title}}">
|
|
13
|
+
<meta name="og:title" content="{{page.title}}">
|
|
14
|
+
<meta name="og:image" content="{{home}}/assets/img/logo.png"/>
|
|
15
|
+
|
|
16
|
+
{% if page.overview == nil %}
|
|
17
|
+
<meta name="description" content="An open platform to connect, manage, and secure microservices.">
|
|
18
|
+
<meta name="og:description" content="An open platform to connect, manage, and secure microservices.">
|
|
19
|
+
{% else %}
|
|
20
|
+
<meta name="description" content="{{page.overview}}">
|
|
21
|
+
<meta name="og:description" content="{{page.overview}}">
|
|
22
|
+
{% endif %}
|
|
23
|
+
|
|
24
|
+
{% if page.title == 'Istio' %}
|
|
25
|
+
<title>Istio</title>
|
|
26
|
+
{% else %}
|
|
27
|
+
<title>Istio / {{ page.title }}</title>
|
|
28
|
+
{% endif %}
|
|
29
|
+
|
|
30
|
+
<!-- Webfont -->
|
|
31
|
+
<link href='https://fonts.googleapis.com/css?family=Roboto:400,100,100italic,300,300italic,400italic,500,500italic,700,700italic,900,900italic' rel='stylesheet' type='text/css'>
|
|
32
|
+
|
|
33
|
+
<link rel="alternate" type="application/rss+xml" title="Istio Blog RSS" href="{{home}}/feed.xml">
|
|
34
|
+
|
|
35
|
+
<!-- Favicons -->
|
|
36
|
+
<link rel="apple-touch-icon" href="{{home}}/favicons/apple-touch-icon.png" sizes="180x180">
|
|
37
|
+
<link rel="icon" type="image/png" href="{{home}}/favicons/android-chrome-96x96.png" sizes="96x96" >
|
|
38
|
+
<link rel="icon" type="image/png" href="{{home}}/favicons/favicon-32x32.png" sizes="32x32">
|
|
39
|
+
<link rel="icon" type="image/png" href="{{home}}/favicons/favicon-16x16.png" sizes="16x16">
|
|
40
|
+
<link rel="manifest" href="{{home}}/favicons/manifest.json">
|
|
41
|
+
<link rel="mask-icon" href="{{home}}/favicons/safari-pinned-tab.svg" color="#2DA6B0">
|
|
42
|
+
<meta name="msapplication-TileColor" content="#ffffff">
|
|
43
|
+
<meta name="msapplication-TileImage" content="{{home}}/favicons/mstile-150x150.png">
|
|
44
|
+
|
|
45
|
+
<!-- Bootstrap -->
|
|
46
|
+
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css" rel="stylesheet">
|
|
47
|
+
|
|
48
|
+
<link rel="stylesheet" href="{{home}}/assets/css/styles.css">
|
|
49
|
+
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
|
|
50
|
+
|
|
51
|
+
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
|
|
52
|
+
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
|
|
53
|
+
|
|
54
|
+
<script src="//cdnjs.cloudflare.com/ajax/libs/clipboard.js/1.4.2/clipboard.min.js"></script>
|
|
55
|
+
|
|
56
|
+
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
|
57
|
+
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
|
58
|
+
<!--[if lt IE 9]>
|
|
59
|
+
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
|
|
60
|
+
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
|
|
61
|
+
<![endif]-->
|
|
62
|
+
</head>
|
|
63
|
+
|
|
64
|
+
<body>
|
|
65
|
+
<script src="{{home}}/js/navtree.js"></script>
|
|
66
|
+
|
|
67
|
+
{{ content }}
|
|
68
|
+
|
|
69
|
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-validate/1.15.0/jquery.validate.min.js"></script>
|
|
70
|
+
<script src="{{home}}/js/jquery.form.min.js"></script>
|
|
71
|
+
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
|
|
72
|
+
<script src="{{home}}/js/slick.min.js"></script>
|
|
73
|
+
<script src="{{home}}/js/jquery.visible.min.js"></script>
|
|
74
|
+
<script src="{{home}}/js/common.js" type="text/javascript" charset="utf-8"></script>
|
|
75
|
+
<script src="{{home}}/js/buttons.js"></script>
|
|
76
|
+
<script src="{{home}}/js/search.js"></script>
|
|
77
|
+
|
|
78
|
+
{% if page.customjs %}
|
|
79
|
+
<script async="" defer="" type="text/javascript" src="{{ page.customjs }}"></script>
|
|
80
|
+
{% endif %}
|
|
81
|
+
</body>
|
|
82
|
+
</html>
|
data/_layouts/blog.html
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: default
|
|
3
|
+
---
|
|
4
|
+
{% include home.html %}
|
|
5
|
+
|
|
6
|
+
<div class="container blog">
|
|
7
|
+
<div class="row">
|
|
8
|
+
<div class="col-sm-12 col-md-10 col-lg-7 nofloat center-block {{page.type}}">
|
|
9
|
+
{{ content }}
|
|
10
|
+
|
|
11
|
+
<a href="{{home}}/feed.xml">
|
|
12
|
+
<img title="RSS" alt="RSS" src="{{home}}/img/rss.gif" width="36" height="14">
|
|
13
|
+
</a>
|
|
14
|
+
</div>
|
|
15
|
+
</div>
|
|
16
|
+
</div>
|
|
17
|
+
|
data/_layouts/bugs.html
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
---
|
|
2
|
+
# Jekyll layout that compresses HTML
|
|
3
|
+
# v3.0.2
|
|
4
|
+
# http://jch.penibelst.de/
|
|
5
|
+
# © 2014–2015 Anatol Broder
|
|
6
|
+
# MIT License
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
{% capture _LINE_FEED %}
|
|
10
|
+
{% endcapture %}{% if site.compress_html.ignore.envs contains jekyll.environment %}{{ content }}{% else %}{% capture _content %}{{ content }}{% endcapture %}{% assign _profile = site.compress_html.profile %}{% if site.compress_html.endings == "all" %}{% assign _endings = "html head body li dt dd p rt rp optgroup option colgroup caption thead tbody tfoot tr td th" | split: " " %}{% else %}{% assign _endings = site.compress_html.endings %}{% endif %}{% for _element in _endings %}{% capture _end %}</{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _end %}{% endfor %}{% if _profile and _endings %}{% assign _profile_endings = _content | size | plus: 1 %}{% endif %}{% for _element in site.compress_html.startings %}{% capture _start %}<{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _start %}{% endfor %}{% if _profile and site.compress_html.startings %}{% assign _profile_startings = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.comments == "all" %}{% assign _comments = "<!-- -->" | split: " " %}{% else %}{% assign _comments = site.compress_html.comments %}{% endif %}{% if _comments.size == 2 %}{% capture _comment_befores %}.{{ _content }}{% endcapture %}{% assign _comment_befores = _comment_befores | split: _comments.first %}{% for _comment_before in _comment_befores %}{% if forloop.first %}{% continue %}{% endif %}{% capture _comment_outside %}{% if _carry %}{{ _comments.first }}{% endif %}{{ _comment_before }}{% endcapture %}{% capture _comment %}{% unless _carry %}{{ _comments.first }}{% endunless %}{{ _comment_outside | split: _comments.last | first }}{% if _comment_outside contains _comments.last %}{{ _comments.last }}{% assign _carry = false %}{% else %}{% assign _carry = true %}{% endif %}{% endcapture %}{% assign _content = _content | remove_first: _comment %}{% endfor %}{% if _profile %}{% assign _profile_comments = _content | size | plus: 1 %}{% endif %}{% endif %}{% assign _pre_befores = _content | split: "<pre" %}{% assign _content = "" %}{% for _pre_before in _pre_befores %}{% assign _pres = _pre_before | split: "</pre>" %}{% assign _pres_after = "" %}{% if _pres.size != 0 %}{% if site.compress_html.blanklines %}{% assign _lines = _pres.last | split: _LINE_FEED %}{% capture _pres_after %}{% for _line in _lines %}{% assign _trimmed = _line | split: " " | join: " " %}{% if _trimmed != empty or forloop.last %}{% unless forloop.first %}{{ _LINE_FEED }}{% endunless %}{{ _line }}{% endif %}{% endfor %}{% endcapture %}{% else %}{% assign _pres_after = _pres.last | split: " " | join: " " %}{% endif %}{% endif %}{% capture _content %}{{ _content }}{% if _pre_before contains "</pre>" %}<pre{{ _pres.first }}</pre>{% endif %}{% unless _pre_before contains "</pre>" and _pres.size == 1 %}{{ _pres_after }}{% endunless %}{% endcapture %}{% endfor %}{% if _profile %}{% assign _profile_collapse = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.clippings == "all" %}{% assign _clippings = "html head title base link meta style body article section nav aside h1 h2 h3 h4 h5 h6 hgroup header footer address p hr blockquote ol ul li dl dt dd figure figcaption main div table caption colgroup col tbody thead tfoot tr td th" | split: " " %}{% else %}{% assign _clippings = site.compress_html.clippings %}{% endif %}{% for _element in _clippings %}{% assign _edges = " <e;<e; </e>;</e>;</e> ;</e>" | replace: "e", _element | split: ";" %}{% assign _content = _content | replace: _edges[0], _edges[1] | replace: _edges[2], _edges[3] | replace: _edges[4], _edges[5] %}{% endfor %}{% if _profile and _clippings %}{% assign _profile_clippings = _content | size | plus: 1 %}{% endif %}{{ _content }}{% if _profile %} <table id="compress_html_profile_{{ site.time | date: "%Y%m%d" }}" class="compress_html_profile"> <thead> <tr> <td>Step <td>Bytes <tbody> <tr> <td>raw <td>{{ content | size }}{% if _profile_endings %} <tr> <td>endings <td>{{ _profile_endings }}{% endif %}{% if _profile_startings %} <tr> <td>startings <td>{{ _profile_startings }}{% endif %}{% if _profile_comments %} <tr> <td>comments <td>{{ _profile_comments }}{% endif %}{% if _profile_collapse %} <tr> <td>collapse <td>{{ _profile_collapse }}{% endif %}{% if _profile_clippings %} <tr> <td>clippings <td>{{ _profile_clippings }}{% endif %} </table>{% endif %}{% endif %}
|
data/_layouts/docs.html
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: default
|
|
3
|
+
---
|
|
4
|
+
{% include home.html %}
|
|
5
|
+
{% include doc-top-nav.html %}
|
|
6
|
+
|
|
7
|
+
<style>
|
|
8
|
+
.thin-left-border {
|
|
9
|
+
border-left: 1px solid rgba(0, 0, 0, .15);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.tab-neg-margin {
|
|
13
|
+
margin-left: -15px;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
#sidebar-tab {
|
|
17
|
+
border: 1px solid rgba(0,0,0,0.10);
|
|
18
|
+
border-top-right-radius: 8px;
|
|
19
|
+
border-bottom-right-radius: 8px;
|
|
20
|
+
background-color: rgba(0,0,0,0.05);
|
|
21
|
+
padding: 10px 5px 10px 5px;
|
|
22
|
+
margin-top: -2px;
|
|
23
|
+
margin-right: 10px;
|
|
24
|
+
font-size: 1rem;
|
|
25
|
+
color: black;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
#sidebar-container {
|
|
29
|
+
float: left;
|
|
30
|
+
padding:0px;
|
|
31
|
+
background-color: #fff;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
</style>
|
|
35
|
+
<div class="container docs">
|
|
36
|
+
<div class="row">
|
|
37
|
+
<div class="col-md-11 nofloat center-block">
|
|
38
|
+
<div class="row">
|
|
39
|
+
<div id="sidebar-container" class="col-sm-3">
|
|
40
|
+
{% include doc-side-nav.html %}
|
|
41
|
+
</div>
|
|
42
|
+
<div id="tab-container" class="col-xs-1 tab-neg-margin pull-left">
|
|
43
|
+
<span id="sidebar-tab" class="glyphicon glyphicon-chevron-left"></span>
|
|
44
|
+
</div>
|
|
45
|
+
<div id="content-container" class="thin-left-border col-sm-9 {{ page.type }}">
|
|
46
|
+
<div id="toc" class=""></div>
|
|
47
|
+
<h1>{{page.title}}</h1>
|
|
48
|
+
{{ content }}
|
|
49
|
+
</div>
|
|
50
|
+
</div>
|
|
51
|
+
</div>
|
|
52
|
+
</div>
|
|
53
|
+
</div>
|
|
54
|
+
|
|
55
|
+
<template id="copy-button">
|
|
56
|
+
<div class="container-fluid">
|
|
57
|
+
<button class="copy-button pull-right">Copy</button>
|
|
58
|
+
</div>
|
|
59
|
+
</template>
|
|
60
|
+
|
|
61
|
+
<script src="{{home}}/js/copyToClipboard.js"></script>
|
|
62
|
+
<script src="{{home}}/js/sidemenu.js"></script>
|