jekyll-theme-docs 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE +21 -0
- data/README.md +2 -0
- data/_includes/breadcrumbs.html +55 -0
- data/_includes/disqus.html +18 -0
- data/_includes/footer.html +28 -0
- data/_includes/google-analytics.html +11 -0
- data/_includes/head.html +20 -0
- data/_includes/header.html +22 -0
- data/_includes/meta_social.html +49 -0
- data/_includes/search.html +38 -0
- data/_includes/sidebar.html +29 -0
- data/_layouts/category.html +50 -0
- data/_layouts/default.html +9 -0
- data/_layouts/post.html +76 -0
- data/_layouts/subcategory.html +33 -0
- data/_layouts/tiles.html +24 -0
- data/assets/css/bootstrap.css +6757 -0
- data/assets/css/bootstrap.css.map +1 -0
- data/assets/css/bootstrap.min.css +6 -0
- data/assets/css/bootstrap.min.css.map +1 -0
- data/assets/css/font-awesome.css +2199 -0
- data/assets/css/font-awesome.min.css +4 -0
- data/assets/css/github.css +61 -0
- data/assets/css/styles.css +166 -0
- data/assets/fonts/FontAwesome.otf +0 -0
- data/assets/fonts/fontawesome-webfont.eot +0 -0
- data/assets/fonts/fontawesome-webfont.svg +685 -0
- data/assets/fonts/fontawesome-webfont.ttf +0 -0
- data/assets/fonts/fontawesome-webfont.woff +0 -0
- data/assets/fonts/fontawesome-webfont.woff2 +0 -0
- data/assets/fonts/glyphicons-halflings-regular.eot +0 -0
- data/assets/fonts/glyphicons-halflings-regular.svg +288 -0
- data/assets/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/assets/fonts/glyphicons-halflings-regular.woff +0 -0
- data/assets/fonts/glyphicons-halflings-regular.woff2 +0 -0
- data/assets/img/apple-touch-icon.png +0 -0
- data/assets/img/apple-touch-icon.svg +85 -0
- data/assets/img/favicon.png +0 -0
- data/assets/img/favicon.svg +85 -0
- data/assets/img/logo.png +0 -0
- data/assets/img/logo.svg +81 -0
- data/assets/img/social.png +0 -0
- data/assets/img/social.svg +129 -0
- data/assets/js/bootstrap.js +2377 -0
- data/assets/js/bootstrap.min.js +7 -0
- data/assets/js/jquery.js +9814 -0
- data/assets/js/jquery.min.js +4 -0
- data/assets/js/scripts.js +236 -0
- data/assets/js/validator.js +394 -0
- data/assets/js/validator.min.js +9 -0
- metadata +137 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 7ba58b192782936f9d4994322fc29d35a0dfabdc
|
4
|
+
data.tar.gz: 532177782733a58545a6015274715c1a175df799
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 2b4d7119b41d9bcb1ea9e0829914a2965c65feb5181cb5c5a07727317abefe2341950a3dddcd2566b5325c9236671e3d82ae159ac235933e6bf0f25d5bb7152c
|
7
|
+
data.tar.gz: 30c18cfc92dba7e9125d28c85370c270198b218ecac6f5ec2c71e0338b5b86e65642a56aa5d98fb69d1fbc05fe10d746d7d747cf99597913d36ad4a94a2995ec
|
data/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2017 Natan Felles
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,55 @@
|
|
1
|
+
{% if page.layout == 'category' %}
|
2
|
+
<ol class="breadcrumb">
|
3
|
+
<li>
|
4
|
+
<a href="{{ 'docs' | relative_url }}">
|
5
|
+
{% for site_pages in site.pages %}
|
6
|
+
{% if site_pages.url == '/docs/' %}
|
7
|
+
{{ site_pages.title }}
|
8
|
+
{% endif %}
|
9
|
+
{% endfor %}
|
10
|
+
</a>
|
11
|
+
</li>
|
12
|
+
<li class="active">{{ page.title }}</li>
|
13
|
+
</ol>
|
14
|
+
{% elsif page.layout == 'subcategory' %}
|
15
|
+
<ol class="breadcrumb">
|
16
|
+
<li>
|
17
|
+
<a href="{{ 'docs' | relative_url }}">
|
18
|
+
{% for site_pages in site.pages %}
|
19
|
+
{% if site_pages.url == '/docs/' %}
|
20
|
+
{{ site_pages.title }}
|
21
|
+
{% endif %}
|
22
|
+
{% endfor %}
|
23
|
+
</a>
|
24
|
+
</li>
|
25
|
+
{% assign category_url = '/docs' %}
|
26
|
+
{% for category in page.categories %}
|
27
|
+
{% capture category_url %}{{ category_url}}/{{ category }}{% endcapture %}
|
28
|
+
{% capture cat_url %}{{ category_url}}/{% endcapture %}
|
29
|
+
<li>
|
30
|
+
{% for site_pages in site.pages %}
|
31
|
+
{% if site_pages.url == cat_url %}
|
32
|
+
<a href="{{ site_pages.url }}">{{ site_pages.title }}</a>
|
33
|
+
{% endif %}
|
34
|
+
{% endfor %}
|
35
|
+
</li>
|
36
|
+
{% endfor %}
|
37
|
+
<li class="active">{{ page.title }}</li>
|
38
|
+
</ol>
|
39
|
+
{% elsif page.layout == 'post' %}
|
40
|
+
<ol class="breadcrumb">
|
41
|
+
{% assign category_url = '' %}
|
42
|
+
{% for category in page.categories %}
|
43
|
+
{% capture category_url %}{{ category_url}}/{{ category }}{% endcapture %}
|
44
|
+
{% capture cat_url %}{{ category_url}}/{% endcapture %}
|
45
|
+
<li>
|
46
|
+
{% for site_pages in site.pages %}
|
47
|
+
{% if site_pages.url == cat_url %}
|
48
|
+
<a href="{{ site_pages.url }}">{{ site_pages.title }}</a>
|
49
|
+
{% endif %}
|
50
|
+
{% endfor %}
|
51
|
+
</li>
|
52
|
+
{% endfor %}
|
53
|
+
<li class="active">{{ page.title }}</li>
|
54
|
+
</ol>
|
55
|
+
{% endif %}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
{% if site.disqus_shortname %}
|
2
|
+
<div id="disqus_thread"></div>
|
3
|
+
<script type="text/javascript">
|
4
|
+
var disqus_config = function () {
|
5
|
+
this.page.url = '{{ site.url }}{{ page.url }}';
|
6
|
+
this.page.identifier = '{{ page.id }}';
|
7
|
+
};
|
8
|
+
|
9
|
+
(function() {
|
10
|
+
var d = document, s = d.createElement('script');
|
11
|
+
s.src = '//{{ site.disqus_shortname }}.disqus.com/embed.js';
|
12
|
+
s.setAttribute('data-timestamp', +new Date());
|
13
|
+
(d.head || d.body).appendChild(s);
|
14
|
+
})();
|
15
|
+
</script>
|
16
|
+
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
|
17
|
+
<a href="http://disqus.com" class="dsq-brlink" target="_blank">comments powered by <span class="logo-disqus">Disqus</span></a></a>
|
18
|
+
{% endif %}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
<button class="btn btn-default btn-lg" id="toTop"><i class="fa fa-chevron-up"></i></button>
|
2
|
+
|
3
|
+
<footer>
|
4
|
+
<div class="container text-center">
|
5
|
+
<p>Theme created with
|
6
|
+
<i class="fa fa-heart"></i>
|
7
|
+
<i class="fa fa-music"></i>
|
8
|
+
<i class="fa fa-coffee"></i>
|
9
|
+
and <i class="fa fa-linux"></i>
|
10
|
+
by <a href="https://natanfelles.github.io" target="_blank">Natan Felles</a>
|
11
|
+
to <a href="https://jekyllrb.com/" target="_blank">Jekyll Community</a>
|
12
|
+
</p>
|
13
|
+
</div>
|
14
|
+
</footer>
|
15
|
+
|
16
|
+
{% include google-analytics.html %}
|
17
|
+
|
18
|
+
{% if jekyll.environment != "development" %}
|
19
|
+
<script src="https://code.jquery.com/jquery-2.2.4.min.js" integrity="sha256-BbhdlvQf/xTY9gja0Dq3HiwQF8LaCRTXxZKRutelT44=" crossorigin="anonymous"></script>
|
20
|
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha256-U5ZEeKfGNOja007MMD3YBI0A3OSZOQbeG6z2f2Y0hu8=" crossorigin="anonymous"></script>
|
21
|
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/1000hz-bootstrap-validator/0.11.9/validator.min.js" integrity="sha256-dHf/YjH1A4tewEsKUSmNnV05DDbfGN3g7NMq86xgGh8=" crossorigin="anonymous"></script>
|
22
|
+
{% else %}
|
23
|
+
<script type="text/javascript" src="{{ "/assets/js/jquery.min.js" | relative_url }}"></script>
|
24
|
+
<script type="text/javascript" src="{{ "/assets/js/bootstrap.min.js" | relative_url }}"></script>
|
25
|
+
<script type="text/javascript" src="{{ "/assets/js/validator.min.js" | relative_url }}"></script>
|
26
|
+
{% endif %}
|
27
|
+
|
28
|
+
<script type="text/javascript" src="{{ "/assets/js/scripts.js" | relative_url }}"></script>
|
@@ -0,0 +1,11 @@
|
|
1
|
+
{% if site.google.analytics %}
|
2
|
+
<script>
|
3
|
+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
4
|
+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
5
|
+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
6
|
+
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
|
7
|
+
|
8
|
+
ga('create', '{{ site.google.analytics }}', 'auto');
|
9
|
+
ga('send', 'pageview');
|
10
|
+
</script>
|
11
|
+
{% endif %}
|
data/_includes/head.html
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
<head>
|
2
|
+
<meta charset="utf-8">
|
3
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
4
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
5
|
+
<title>{{ site.title }}{% if page.title %} · {{ page.title }}{% endif %}</title>
|
6
|
+
<meta name="author" content="{% if page.author.name %}{{ page.author.name }}{% else %}{{ site.author.name }}{% endif %}">
|
7
|
+
|
8
|
+
{% include meta_social.html %}
|
9
|
+
|
10
|
+
<link rel="apple-touch-icon" href="{{ "/assets/img/apple-touch-icon.png" | relative_url }}">
|
11
|
+
<link rel="icon" type="image/png" href="{{ "/assets/img/favicon.png" | relative_url }}">
|
12
|
+
<link rel="shortcut icon" href="{{ "/favicon.ico" | relative_url }}">
|
13
|
+
|
14
|
+
<link rel="stylesheet" href="{{ "/assets/css/bootstrap.min.css" | relative_url }}">
|
15
|
+
<link rel="stylesheet" href="{{ "/assets/css/font-awesome.min.css" | relative_url }}">
|
16
|
+
|
17
|
+
<link rel="stylesheet" href="{{ "/assets/css/styles.css" | relative_url }}">
|
18
|
+
|
19
|
+
<link rel="alternate" type="application/rss+xml" title="{{ site.title }}" href="{{ "/feed.xml" | relative_url }}">
|
20
|
+
</head>
|
@@ -0,0 +1,22 @@
|
|
1
|
+
<header>
|
2
|
+
<nav class="navbar navbar-default navbar-inverse">
|
3
|
+
<div class="container">
|
4
|
+
<div class="navbar-header">
|
5
|
+
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#header-collapse" aria-expanded="false">
|
6
|
+
<span class="sr-only">Toggle navigation</span>
|
7
|
+
<span class="icon-bar"></span>
|
8
|
+
<span class="icon-bar"></span>
|
9
|
+
<span class="icon-bar"></span>
|
10
|
+
</button>
|
11
|
+
<a class="navbar-brand" href="{{ site.url }}">{{ site.title }}</a>
|
12
|
+
</div>
|
13
|
+
<div class="collapse navbar-collapse" id="header-collapse">
|
14
|
+
<ul class="nav navbar-nav navbar-right">
|
15
|
+
<li><a href="{{ 'docs' | relative_url }}">Docs</a></li>
|
16
|
+
<li><a href="{{ 'about' | relative_url }}">About</a></li>
|
17
|
+
<li><a href="{{ 'contact' | relative_url }}">Contact</a></li>
|
18
|
+
</ul>
|
19
|
+
</div>
|
20
|
+
</div>
|
21
|
+
</nav>
|
22
|
+
</header>
|
@@ -0,0 +1,49 @@
|
|
1
|
+
{% capture title %}{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}{% endcapture %}
|
2
|
+
{% capture description %}{% if page.description %}{{ page.description }}{% else %}{{ site.description }}{% endif %}{% endcapture %}
|
3
|
+
{% capture keywords %}{% if page.keywords %}{{ page.keywords }}{% else %}{{ site.keywords }}{% endif %}{% endcapture %}
|
4
|
+
{% capture twitter_site %}{% if page.twitter.site %}{{ page.twitter.site }}{% else %}{{ site.twitter.site }}{% endif %}{% endcapture %}
|
5
|
+
{% capture twitter_creator %}{% if page.twitter.creator %}{{ page.twitter.creator }}{% else %}{{ site.twitter.creator }}{% endif %}{% endcapture %}
|
6
|
+
{% capture image %}{% if page.image %}{{ page.image }}{% else %}{{ site.image }}{% endif %}{% endcapture %}
|
7
|
+
|
8
|
+
<meta name="description" content="{{ description }}">
|
9
|
+
<meta name="keywords" content="{{ keywords }}">
|
10
|
+
|
11
|
+
<!-- Twitter -->
|
12
|
+
{% if twitter_site != '' %}
|
13
|
+
<meta name="twitter:site" content="{{ twitter_site }}">
|
14
|
+
{% endif %}
|
15
|
+
|
16
|
+
{% if twitter_creator != '' %}
|
17
|
+
<meta name="twitter:creator" content="{{ twitter_creator }}">
|
18
|
+
{% endif %}
|
19
|
+
|
20
|
+
<meta name="twitter:title" content="{{ title }}">
|
21
|
+
<meta name="twitter:description" content="{{ description }}">
|
22
|
+
<meta name="twitter:image" content="{{ image }}">
|
23
|
+
<meta name="twitter:url" content="{{ page.url }}"/>
|
24
|
+
<meta name="twitter:card" content="photo" />
|
25
|
+
|
26
|
+
<!-- Facebook -->
|
27
|
+
<meta name="og:url" content="{{ page.url }}">
|
28
|
+
<meta name="og:site_name" content="{{ site.title }}">
|
29
|
+
<meta name="og:title" content="{{ title }}">
|
30
|
+
<meta name="og:description" content="{{ description }}">
|
31
|
+
<meta name="og:image" content="{{ image }}">
|
32
|
+
{% capture og_type %}{% if page.layout == "post" %}article{% else %}website{% endif %}{% endcapture %}
|
33
|
+
<meta name="og:type" content="{{ og_type }}">
|
34
|
+
|
35
|
+
<!-- Google Verification and Analytics -->
|
36
|
+
{% if site.google.site-verification %}
|
37
|
+
<meta name="google-site-verification" content="{{ site.google.site-verification }}">
|
38
|
+
{% endif %}
|
39
|
+
|
40
|
+
{% if site.google.analytics %}
|
41
|
+
<meta name="google-analytics" content="{{ site.google.analytics }}">
|
42
|
+
{% endif %}
|
43
|
+
|
44
|
+
<!-- Custom -->
|
45
|
+
<meta name="google-cse-cx" content="{{ site.google.cse-cx }}">
|
46
|
+
<meta name="google-api-key" content="{{ site.google.api-key }}">
|
47
|
+
|
48
|
+
<link rel="canonical" href="{{ page.url }}">
|
49
|
+
|
@@ -0,0 +1,38 @@
|
|
1
|
+
<form id="search-form">
|
2
|
+
<div class="input-group">
|
3
|
+
<input type="text" name="q" class="form-control" placeholder="Search for...">
|
4
|
+
<span class="input-group-btn">
|
5
|
+
<button class="btn btn-default" type="submit" data-toggle="modal" data-target="#search-results"><i class="fa fa-search"></i></button>
|
6
|
+
</span>
|
7
|
+
</div>
|
8
|
+
</form>
|
9
|
+
|
10
|
+
<div class="modal fade" id="search-results">
|
11
|
+
<div class="modal-dialog modal-lg">
|
12
|
+
<div class="modal-content">
|
13
|
+
<div class="modal-header">
|
14
|
+
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
15
|
+
<h4 class="modal-title">Search powered by Google CSE</h4>
|
16
|
+
</div>
|
17
|
+
<div class="modal-body">
|
18
|
+
<form id="search-modal">
|
19
|
+
<div class="form-group">
|
20
|
+
<div class="input-group">
|
21
|
+
<input type="text" name="q" class="form-control" placeholder="Search for...">
|
22
|
+
<span class="input-group-btn">
|
23
|
+
<button class="btn btn-default" type="submit"><i class="fa fa-search"></i></button>
|
24
|
+
</span>
|
25
|
+
</div>
|
26
|
+
</div>
|
27
|
+
</form>
|
28
|
+
<div id="search-box">
|
29
|
+
<p class="text-muted text-right sr-benchmark"><!-- ajax --></p>
|
30
|
+
<div class="list-group sr-results"><!-- ajax --></div>
|
31
|
+
<nav class="text-center sr-pages">
|
32
|
+
<ul class="pagination"><!-- ajax --></ul>
|
33
|
+
</nav>
|
34
|
+
</div>
|
35
|
+
</div>
|
36
|
+
</div>
|
37
|
+
</div>
|
38
|
+
</div>
|
@@ -0,0 +1,29 @@
|
|
1
|
+
<aside class="col-md-3" id="sidebar">
|
2
|
+
<div class="well">
|
3
|
+
{% include search.html %}
|
4
|
+
</div>
|
5
|
+
<div class="list-group" id="topics"><!-- Topics --></div>
|
6
|
+
<div class="well">
|
7
|
+
<form>
|
8
|
+
<label>Subscribe to Updates</label>
|
9
|
+
<div class="input-group">
|
10
|
+
<input type="email" class="form-control" placeholder="Email address...">
|
11
|
+
<span class="input-group-btn">
|
12
|
+
<button class="btn btn-default" type="button">Ok</button>
|
13
|
+
</span>
|
14
|
+
</div>
|
15
|
+
</form>
|
16
|
+
</div>
|
17
|
+
|
18
|
+
{% if page.tags[0] %}
|
19
|
+
<div class="panel panel-default" id="tags">
|
20
|
+
<div class="panel-heading">Tags</div>
|
21
|
+
<div class="panel-body">
|
22
|
+
{% for tag in page.tags %}
|
23
|
+
<a class="btn btn-default" href="{{ /tags#{{tag}} }}">{{ tag }}</a>
|
24
|
+
{% endfor %}
|
25
|
+
</div>
|
26
|
+
</div>
|
27
|
+
{% endif %}
|
28
|
+
|
29
|
+
</aside>
|
@@ -0,0 +1,50 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
<div class="container">
|
5
|
+
|
6
|
+
<div class="row">
|
7
|
+
<div class="col-md-8">
|
8
|
+
{% include breadcrumbs.html %}
|
9
|
+
</div>
|
10
|
+
<div class="col-md-4">
|
11
|
+
{% include search.html %}
|
12
|
+
</div>
|
13
|
+
</div>
|
14
|
+
|
15
|
+
<h1>{{ page.title }}</h1>
|
16
|
+
<p>{{ page.description }}</p>
|
17
|
+
|
18
|
+
<div class="content">{{ content }}</div>
|
19
|
+
|
20
|
+
<div class="list-group posts">
|
21
|
+
{% capture page_base %}/{{ page.path | remove: page.name}}{% endcapture %}
|
22
|
+
{% for post in site.posts %}
|
23
|
+
{% capture post_base %}{{ post.url | remove: post.slug }}{% endcapture %}
|
24
|
+
{% if post_base == page_base %}
|
25
|
+
<a href="{{ post.url }}" class="list-group-item">
|
26
|
+
<h4 class="list-group-item-heading">{{ post.title }}</h4>
|
27
|
+
<p class="list-group-item-text">{{ post.description }}</p>
|
28
|
+
</a>
|
29
|
+
{% endif %}
|
30
|
+
{% endfor %}
|
31
|
+
</div>
|
32
|
+
|
33
|
+
{% for category in page.categories %}
|
34
|
+
{% capture category_url %}{{ page.url }}{{ category }}/{% endcapture %}
|
35
|
+
{% for site_pages in site.pages %}
|
36
|
+
{% if site_pages.url == category_url %}
|
37
|
+
<h2><a href="{{ site_pages.url }}">{{ site_pages.title }}</a></h2>
|
38
|
+
<p>{{ site_pages.description }}</p>
|
39
|
+
{% endif %}
|
40
|
+
{% endfor %}
|
41
|
+
<div class="list-group posts">
|
42
|
+
{% for post in site.posts %}
|
43
|
+
{% if post.url contains category_url %}
|
44
|
+
<a href="{{ post.url }}" class="list-group-item">{{ post.title }}</a>
|
45
|
+
{% endif %}
|
46
|
+
{% endfor %}
|
47
|
+
</div>
|
48
|
+
{% endfor %}
|
49
|
+
|
50
|
+
</div>
|
data/_layouts/post.html
ADDED
@@ -0,0 +1,76 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
<div class="container">
|
5
|
+
|
6
|
+
{% include breadcrumbs.html %}
|
7
|
+
|
8
|
+
<div class="row">
|
9
|
+
|
10
|
+
{% include sidebar.html %}
|
11
|
+
|
12
|
+
<div class="col-md-9">
|
13
|
+
<h1 class="main-header">{{ page.title }}</h1>
|
14
|
+
|
15
|
+
<p class="text-muted">
|
16
|
+
{% if page.update.date %}
|
17
|
+
Updated {{ page.update.date | date_to_long_string }} by {% if page.update.author %}{{ page.update.author }}{% else %}{{ page.author }}{% endif %}
|
18
|
+
{% else %}
|
19
|
+
Created {{ page.date | date_to_long_string }} by {% if page.author.name %}{{ page.author.name }}{% else %}{{ site.author.name }}{% endif %}
|
20
|
+
{% endif %}
|
21
|
+
</p>
|
22
|
+
|
23
|
+
<div class="github-block well">
|
24
|
+
<p>
|
25
|
+
<strong><i class="fa fa-github"></i> Contribute on GitHub</strong>
|
26
|
+
<a href="https://github.com/{{ site.github.repository_nwo }}" target="_blank">View Project</a> |
|
27
|
+
<a href="https://github.com/{{ site.github.repository_nwo }}/blob/{{ site.branch }}/{{ page.path }}" target="_blank">View File</a> |
|
28
|
+
<a href="https://github.com/{{ site.github.repository_nwo }}/edit/{{ site.branch }}/{{ page.path }}" target="_blank">Edit File</a>
|
29
|
+
</p>
|
30
|
+
</div>
|
31
|
+
|
32
|
+
<div class="post">
|
33
|
+
{{ content }}
|
34
|
+
</div>
|
35
|
+
|
36
|
+
{% if page.external_resources %}
|
37
|
+
<div class="external_resources">
|
38
|
+
<h2>External Resources</h2>
|
39
|
+
<ul>
|
40
|
+
{% for item in page.external_resources %}
|
41
|
+
{% capture link %}{{ item }}{: target="_blank"}{% endcapture %}
|
42
|
+
<li>{{ link | markdownify }}</li>
|
43
|
+
{% endfor %}
|
44
|
+
</ul>
|
45
|
+
</div>
|
46
|
+
{% endif %}
|
47
|
+
|
48
|
+
<hr>
|
49
|
+
{% if page.license %}
|
50
|
+
<p class="text-muted">
|
51
|
+
{% capture page_license %}{{ page.license }}{: target="_blank"}{% endcapture %}
|
52
|
+
This guide is published under a {{ page_license | markdownify | remove: '<p>' | remove: '</p>' }} license.
|
53
|
+
</p>
|
54
|
+
{% endif %}
|
55
|
+
|
56
|
+
<div class="text-center prev_next">
|
57
|
+
<div class="btn-group btn-group-justified" role="group">
|
58
|
+
{% if page.previous.url %}
|
59
|
+
<a href="{{ page.previous.url }} " class="btn btn-default">
|
60
|
+
<i class="fa fa-arrow-left"></i> Previous Post
|
61
|
+
</a>
|
62
|
+
{% endif %}
|
63
|
+
{% if page.next.url %}
|
64
|
+
<a href="{{ page.next.url }} " class="btn btn-default">
|
65
|
+
Next Post <i class="fa fa-arrow-right"></i>
|
66
|
+
</a>
|
67
|
+
{% endif %}
|
68
|
+
</div>
|
69
|
+
</div>
|
70
|
+
|
71
|
+
{% include disqus.html %}
|
72
|
+
|
73
|
+
</div>
|
74
|
+
|
75
|
+
</div>
|
76
|
+
</div>
|