jumbo-jekyll-theme 2.5.0 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_config.yml +26 -16
- data/_data/footer.yml +3 -1
- data/_data/nav.yml +1 -3
- data/_data/settings.yml +35 -93
- data/_includes/breadcrumb.html +92 -94
- data/_includes/carousel-header.html +15 -0
- data/_includes/display-blog-posts.html +9 -9
- data/_includes/disqus-comments.html +20 -14
- data/_includes/footer.html +62 -64
- data/_includes/jumbotron.html +30 -85
- data/_includes/linaro-404.html +0 -3
- data/_includes/nav.html +3 -3
- data/_includes/post-sidebar.html +6 -6
- data/_includes/sidebar.html +1 -1
- data/_includes/sticky-tab-bar.html +16 -18
- data/_layouts/author.html +1 -1
- data/_layouts/container-breadcrumb.html +16 -3
- data/_layouts/container.html +6 -7
- data/_layouts/default.html +8 -10
- data/_layouts/error.html +23 -0
- data/_layouts/jumbotron-container.html +19 -0
- data/_layouts/jumbotron.html +8 -0
- data/_layouts/post-index.html +0 -1
- data/_layouts/post.html +36 -122
- data/_sass/app/overrides.scss +9 -8
- data/_sass/blog.scss +1 -1
- data/_sass/bootstrap/_variables.scss +7 -6
- data/_sass/core.scss +4 -0
- data/_sass/core/blog.scss +6 -5
- data/_sass/core/breadcrumb.scss +2 -2
- data/_sass/core/carousel-header.scss +91 -0
- data/_sass/core/carousel-styles.scss +1 -0
- data/_sass/core/carousel.scss +0 -6
- data/_sass/core/cookieconsent.scss +3 -6
- data/_sass/core/{404.scss → error.scss} +5 -8
- data/_sass/core/featherlight.scss +158 -0
- data/_sass/core/footer.scss +19 -42
- data/_sass/core/homepage.scss +1 -88
- data/_sass/core/jumbotron.scss +58 -25
- data/_sass/core/nav.scss +67 -89
- data/_sass/core/theme.scss +10 -0
- data/_sass/core/universal-nav.scss +17 -10
- data/_sass/home.scss +0 -1
- data/assets/css/{main-404.scss → main-error.scss} +1 -5
- data/assets/images/content/background-image1.jpg +0 -0
- data/assets/images/content/background-image2.png +0 -0
- data/assets/images/content/background-image3.jpg +0 -0
- data/assets/js/app/facebook.js +1 -1
- data/assets/js/app/main.js +82 -62
- data/assets/js/app/search.js +29 -0
- data/assets/js/app/sticky-tab-bar.js +16 -17
- data/assets/js/package-blog.js +2 -1
- data/assets/js/package-extended.js +3 -1
- data/assets/js/package-home.js +4 -2
- data/assets/js/package-main.js +2 -0
- data/assets/js/package-search.js +2 -0
- data/assets/js/vendor/cookieconsent.js +0 -9
- data/assets/js/vendor/featherlight.js +641 -0
- metadata +59 -42
- data/_includes/post-comments.html +0 -9
- data/_includes/shape-divider.html +0 -12
- data/_includes/shape.html +0 -52
- data/_layouts/container-breadcrumb-left-sidebar.html +0 -10
- data/_layouts/container-breadcrumb-right-sidebar.html +0 -9
- data/_layouts/container-breadcrumb-tabs.html +0 -7
- data/_layouts/container-left-sidebar.html +0 -9
- data/_layouts/container-right-sidebar.html +0 -9
- data/_layouts/full-width-breadcrumb.html +0 -10
- data/_layouts/full-width.html +0 -9
- data/_layouts/home.html +0 -21
- data/_layouts/post-no-sidebar.html +0 -0
- data/_sass/app/home.scss +0 -18
- data/_sass/core/twitter-feed.scss +0 -414
- data/assets/css/main-contact.scss +0 -23
- data/assets/css/main-home.scss +0 -22
- data/assets/css/main-lightbox.scss +0 -29
- data/assets/images/background-image.jpg +0 -0
- data/assets/images/banner.jpg +0 -0
- data/assets/js/vendor/lightbox.js +0 -523
@@ -0,0 +1,15 @@
|
|
1
|
+
{% assign images = include.images %}
|
2
|
+
<!-- Carousel Header -->
|
3
|
+
<div class="row">
|
4
|
+
<div class="carousel slide carousel-fade" id="header-carousel" data-ride="carousel">
|
5
|
+
<div class="carousel-inner" role="listbox">
|
6
|
+
{% for image in images %}
|
7
|
+
<div data-src="{{image}}" style="{% if forloop.index == 1%}background: url('{{image}}');{% else %}{% endif %}background-size:cover; background-position:center center; background-repeat: no-repeat;"
|
8
|
+
class=" item {% if forloop.index == 1%}active{% else %}{% endif %}">
|
9
|
+
</div>
|
10
|
+
{% endfor %}
|
11
|
+
</div>
|
12
|
+
</div>
|
13
|
+
</div>
|
14
|
+
<!-- End Carousel Header -->
|
15
|
+
|
@@ -5,32 +5,32 @@
|
|
5
5
|
<a href="{{post.url}}">
|
6
6
|
{% if post.image.thumb %}
|
7
7
|
<picture>
|
8
|
-
<source srcset="{
|
8
|
+
<source srcset="{{post.image.thumb}}"
|
9
9
|
media="(max-width: 999px)" />
|
10
|
-
<source srcset="{
|
10
|
+
<source srcset="{{post.image.thumb}}"
|
11
11
|
media="(min-width: 1000px)" />
|
12
12
|
<img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="
|
13
|
-
data-src="{
|
13
|
+
data-src="{{post.image.thumb}}"
|
14
14
|
class="lazyload img-responsive center-block"/>
|
15
15
|
</picture>
|
16
16
|
{% elsif post.image.name %}
|
17
17
|
<picture>
|
18
|
-
<source srcset="{
|
18
|
+
<source srcset="{{post.image.name}}"
|
19
19
|
media="(max-width: 999px)" />
|
20
|
-
<source srcset="{
|
20
|
+
<source srcset="{{post.image.name}}"
|
21
21
|
media="(min-width: 1000px)" />
|
22
22
|
<img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="
|
23
|
-
data-src="{
|
23
|
+
data-src="{{post.image.name}}"
|
24
24
|
class="lazyload img-responsive center-block"/>
|
25
25
|
</picture>
|
26
26
|
{% else %}
|
27
27
|
<picture>
|
28
|
-
<source srcset="{
|
28
|
+
<source srcset="{{site.data.settings.placeholder}}"
|
29
29
|
media="(max-width: 999px)" />
|
30
|
-
<source srcset="{
|
30
|
+
<source srcset="{{site.data.settings.placeholder}}"
|
31
31
|
media="(min-width: 1000px)" />
|
32
32
|
<img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="
|
33
|
-
data-src="{
|
33
|
+
data-src="{{site.data.settings.placeholder}}"
|
34
34
|
class="lazyload img-responsive center-block"/>
|
35
35
|
</picture>
|
36
36
|
{% endif %}
|
@@ -1,14 +1,20 @@
|
|
1
|
-
|
2
|
-
<
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
</
|
1
|
+
{% unless page.comments == false %}
|
2
|
+
<section id="comments-section">
|
3
|
+
<h3>Comments</h3>
|
4
|
+
<section class="disqus">
|
5
|
+
<div id="disqus_thread"></div>
|
6
|
+
<script type="text/javascript">
|
7
|
+
var disqus_shortname = '{{ site.data.settings.disqus.shortname }}';
|
8
|
+
var disqus_developer = 0; // developer mode is on
|
9
|
+
(function() {
|
10
|
+
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
|
11
|
+
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
|
12
|
+
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
|
13
|
+
})();
|
14
|
+
</script>
|
15
|
+
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
|
16
|
+
<a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
|
17
|
+
</section>
|
18
|
+
</section>
|
19
|
+
{% endunless %}
|
20
|
+
|
data/_includes/footer.html
CHANGED
@@ -1,70 +1,68 @@
|
|
1
|
-
<div class="
|
2
|
-
<
|
3
|
-
<
|
4
|
-
<div class="
|
5
|
-
|
6
|
-
|
7
|
-
<
|
8
|
-
<
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
</ul>
|
14
|
-
</div>
|
15
|
-
{% endfor %} {% if site.data.footer.image %}
|
16
|
-
<div class="col-xs-6 col-md-2">
|
17
|
-
<a href="/">
|
18
|
-
<img src="{% if site.data.footer.image %}{% asset_path '{{site.data.footer.image}}' %}{% endif %}" class="footer-logo pull-right" alt="{{site.data.settings.name}}" />
|
19
|
-
</a>
|
20
|
-
</div>
|
21
|
-
{% endif %}
|
1
|
+
<div class="row footer">
|
2
|
+
<footer id="footer">
|
3
|
+
<div class="container">
|
4
|
+
<div class="row main-footer-content">
|
5
|
+
{% for column in site.data.footer.columns %}
|
6
|
+
<div class="col-xs-6 col-md-2">
|
7
|
+
<ul class="list-unstyled ">
|
8
|
+
<li><b><a class="footer-heading" href="{% if column.url %}{{column.url}}{% else %}#{% endif %}">{{column.title}}</a></b></li>
|
9
|
+
{% if column.items %} {% for item in column.items %}
|
10
|
+
<li><a class="footer-element" href="{{item.url}}">{{item.text}}</a></li>
|
11
|
+
{% endfor %} {% endif %}
|
12
|
+
</ul>
|
22
13
|
</div>
|
23
|
-
|
24
|
-
<div class="
|
25
|
-
<
|
26
|
-
<
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
<a href="https://github.com/{{site.data.settings.github_username}}" class="btn btn-social-icon"><i class="icon-github-circled"></i></a>
|
49
|
-
{% endif %}
|
50
|
-
{% if site.data.settings.google_plus_username %}
|
51
|
-
<a href="https://plus.google.com/{{site.data.settings.google_plus_username}}/posts" class="btn btn-social-icon"><i class="icon-gplus"></i></a>
|
52
|
-
{% endif %}
|
53
|
-
{% if site.data.settings.linkedin_username %}
|
54
|
-
<a href="https://www.linkedin.com/company/{{site.data.settings.linkedin_username}}" class="btn btn-social-icon"><i class="icon-linkedin"></i></a>
|
55
|
-
{% endif %}
|
56
|
-
{% if site.data.settings.twitter_username %}
|
57
|
-
<a href="https://twitter.com/{{site.data.settings.twitter_username}}" class="btn btn-social-icon"><i class="icon-twitter"></i></a>
|
58
|
-
{% endif %}
|
59
|
-
{% if site.data.settings.youtube_username %}
|
60
|
-
<a href="https://www.youtube.com/{{site.data.settings.youtube_username}}" class="btn btn-social-icon"><i class="icon-youtube"></i></a>
|
14
|
+
{% endfor %} {% if site.data.footer.image %}
|
15
|
+
<div class="col-xs-6 col-md-2">
|
16
|
+
<a href="/">
|
17
|
+
<img src="{% if site.data.footer.image %}{% asset_path '{{site.data.footer.image}}' %}{% endif %}" class="footer-logo pull-right" alt="{{site.data.settings.name}}" />
|
18
|
+
</a>
|
19
|
+
</div>
|
20
|
+
{% endif %}
|
21
|
+
</div>
|
22
|
+
<div class="row footer-strip">
|
23
|
+
<div class="container no-padding">
|
24
|
+
<div class="col-md-6 company-footer-bottom">
|
25
|
+
{% if site.data.footer.footer-image-url %}<a href="{{site.data.footer.footer-image-url}}"><img src="{{site.data.footer.footer-image}}"
|
26
|
+
class="footer-logo" alt="{{site.title}} Footer Icon" /></a>{% endif %}
|
27
|
+
Copyright © {{ 'now' | date: "%Y" }} {{site.data.footer.company-copyright-text}}
|
28
|
+
{% for link in site.data.footer.company-links %}
|
29
|
+
<span class="coloured-bp">•</span>
|
30
|
+
<a href="{{link.url}}">{{link.name}}</a>
|
31
|
+
{% endfor %}
|
32
|
+
{% if site.data.settings.newsletter.url %}
|
33
|
+
<span class="coloured-bp">•</span>
|
34
|
+
<a href="{{site.data.settings.newsletter.url}}">Subscribe to Newsletter</a>
|
35
|
+
{% else %}
|
36
|
+
{% if site.data.settings.newsletter.enabled %}
|
37
|
+
<span class="coloured-bp">•</span>
|
38
|
+
<a href="#" id="open-newsletter-popup">Subscribe to Newsletter</a>
|
61
39
|
{% endif %}
|
62
|
-
|
63
|
-
|
40
|
+
{% endif %}
|
41
|
+
</div>
|
42
|
+
<div class="col-md-6 social-footer-bottom text-right no-padding">
|
43
|
+
{% if site.data.settings.facebook_username %}
|
44
|
+
<a href="http://facebook.com/{{site.data.settings.facebook_username}}" class="btn btn-social-icon"><i class="icon-facebook"></i></a>
|
45
|
+
{% endif %}
|
46
|
+
{% if site.data.settings.github_username %}
|
47
|
+
<a href="https://github.com/{{site.data.settings.github_username}}" class="btn btn-social-icon"><i class="icon-github-circled"></i></a>
|
48
|
+
{% endif %}
|
49
|
+
{% if site.data.settings.google_plus_username %}
|
50
|
+
<a href="https://plus.google.com/{{site.data.settings.google_plus_username}}/posts" class="btn btn-social-icon"><i class="icon-gplus"></i></a>
|
51
|
+
{% endif %}
|
52
|
+
{% if site.data.settings.linkedin_username %}
|
53
|
+
<a href="https://www.linkedin.com/company/{{site.data.settings.linkedin_username}}" class="btn btn-social-icon"><i class="icon-linkedin"></i></a>
|
54
|
+
{% endif %}
|
55
|
+
{% if site.data.settings.twitter_username %}
|
56
|
+
<a href="https://twitter.com/{{site.data.settings.twitter_username}}" class="btn btn-social-icon"><i class="icon-twitter"></i></a>
|
57
|
+
{% endif %}
|
58
|
+
{% if site.data.settings.youtube_username %}
|
59
|
+
<a href="https://www.youtube.com/{{site.data.settings.youtube_username}}" class="btn btn-social-icon"><i class="icon-youtube"></i></a>
|
60
|
+
{% endif %}
|
64
61
|
</div>
|
62
|
+
<div style="clear:both;"></div>
|
65
63
|
</div>
|
66
|
-
<!--/.container-->
|
67
64
|
</div>
|
68
|
-
|
69
|
-
|
65
|
+
<!--/.container-->
|
66
|
+
</div>
|
67
|
+
</footer>
|
70
68
|
</div>
|
data/_includes/jumbotron.html
CHANGED
@@ -1,87 +1,32 @@
|
|
1
|
-
<div class="
|
2
|
-
{% if
|
3
|
-
style="background-image: url('{
|
1
|
+
<div class="row {% if site.data.settings.jumbotron.darken %}overlay{% endif %}" id="jumbotron"
|
2
|
+
{% if page.jumbotron.background-image %}
|
3
|
+
style="background-image: url('{{page.jumbotron.background-image}}');"
|
4
4
|
{% else %}
|
5
5
|
class="jumbotron text-center featured-jumbotron"
|
6
|
-
{% endif %}> <!--
|
7
|
-
<div
|
8
|
-
<div id="
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
{% endif %}
|
34
|
-
{% endif %}
|
35
|
-
{% if site.data.settings.home.jumbotron.title.second-line.display %}
|
36
|
-
{% if site.data.settings.home.jumbotron.title.second-line.bold %}
|
37
|
-
<br /><strong>{{site.data.settings.home.jumbotron.title.second-line.text}}</strong>
|
38
|
-
{% else %}
|
39
|
-
<br />{{site.data.settings.home.jumbotron.title.second-line.text}}
|
40
|
-
{% endif %}
|
41
|
-
{% endif %}
|
42
|
-
</h1>
|
43
|
-
{% endif %}
|
44
|
-
|
45
|
-
{% if site.data.settings.home.jumbotron.sub-title %}
|
46
|
-
<p id="home-page-text" class="sub-tag center-block fade-in-two">
|
47
|
-
{% if site.data.settings.home.jumbotron.sub-title.first-line.display %}
|
48
|
-
{% if site.data.settings.home.jumbotron.sub-title.first-line.bold %}
|
49
|
-
<strong>
|
50
|
-
<span>{{site.data.settings.home.jumbotron.sub-title.first-line.text}}</span>
|
51
|
-
</strong>
|
52
|
-
{% else %}
|
53
|
-
<span>{{site.data.settings.home.jumbotron.sub-title.first-line.text}}</span>
|
54
|
-
{% endif %}
|
55
|
-
{% endif %}
|
56
|
-
{% if site.data.settings.home.jumbotron.sub-title.second-line.display %}
|
57
|
-
{% if site.data.settings.home.jumbotron.sub-title.second-line.bold %}
|
58
|
-
<br />
|
59
|
-
<strong>
|
60
|
-
<span>{{site.data.settings.home.jumbotron.sub-title.second-line.text}}</span>
|
61
|
-
</strong>
|
62
|
-
{% else %}
|
63
|
-
<span>{{site.data.settings.home.jumbotron.sub-title.second-line.text}}</span>
|
64
|
-
{% endif %}
|
65
|
-
{% endif %}
|
66
|
-
</p>
|
67
|
-
{% endif %}
|
68
|
-
|
69
|
-
{% if site.data.settings.home.jumbotron.buttons %}
|
70
|
-
<p id="buttons">
|
71
|
-
{% for button in site.data.settings.home.jumbotron.buttons %}
|
72
|
-
<a class="{{button.class}}" href="{{button.url}}" role="button">
|
73
|
-
{{button.text}}
|
74
|
-
</a>
|
75
|
-
{% endfor %}
|
76
|
-
</p>
|
77
|
-
{% endif %}
|
78
|
-
|
79
|
-
{% endif %}
|
80
|
-
|
81
|
-
</div><!-- End Jumbotron Container Div -->
|
82
|
-
{% if site.data.settings.home.shaped-divider %}
|
83
|
-
{% include shape-divider.html %}
|
84
|
-
{% endif %}
|
85
|
-
</div> <!--End Jumbotron div -->
|
86
|
-
</div> <!--row -->
|
87
|
-
</div> <!--End Container-fluid -->
|
6
|
+
{% endif %}> <!--Row -->
|
7
|
+
<div id="jumbotron-content" class=" flex-container"> <!--Jumbotron div -->
|
8
|
+
<div class="container flex-center" id="jumbotron-text"> <!--Container -->
|
9
|
+
{% if page.title %}
|
10
|
+
<h1 class="{% if page.carousel-header.animation == "fade" %}fade-in-one{% endif %}" id="jumbotron-heading">
|
11
|
+
{{page.title}}
|
12
|
+
</h1>
|
13
|
+
{% if page.description %}
|
14
|
+
<p class="center-block {% if page.carousel-header.animation == "fade" %}fade-in-two{% endif %}" id="jumbotron-sub-title">
|
15
|
+
{{page.description}}
|
16
|
+
</p>
|
17
|
+
{% endif %}
|
18
|
+
{% if page.carousel-header.buttons %}
|
19
|
+
<p id="buttons">
|
20
|
+
{% for button in page.carousel-header.buttons %}
|
21
|
+
<a class="btn btn-primary btn-lg {% if page.carousel-header.animation == "fade" %}fade-in-three{% endif %}" href="{{button.url}}" role="button">
|
22
|
+
{{button.title}} <i class="{{button.class}}"></i>
|
23
|
+
</a>
|
24
|
+
{% endfor %}
|
25
|
+
</p>
|
26
|
+
{% endif %}
|
27
|
+
{% else %}
|
28
|
+
{% include header-content %}
|
29
|
+
{% endif %}
|
30
|
+
</div><!-- End Jumbotron Container Div -->
|
31
|
+
</div> <!--End Jumbotron div -->
|
32
|
+
</div> <!--row -->
|
data/_includes/linaro-404.html
CHANGED
@@ -1,9 +1,6 @@
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
2
|
-
|
3
2
|
<svg id="Linaro-Sprinkle" viewBox="0 0 500 500" xmlns="http://www.w3.org/2000/svg" data-name="Linaro Sprinkle">
|
4
|
-
|
5
3
|
<title>Linaro-Logo</title>
|
6
|
-
|
7
4
|
<path class="cls-1 green-big" d="m454.13 73.48h-128.7a20.88 20.88 0 0 0 -20.89 20.87v128.65a20.88 20.88 0 0 0 20.89 20.87h128.7a20.87 20.87 0 0 0 20.87 -20.87v-128.65a20.86 20.86 0 0 0 -20.87 -20.87z"></path>
|
8
5
|
<path class="cls-2 red" d="m186.6 73.22h-107.91a17.5 17.5 0 0 0 -17.51 17.49v107.91a17.51 17.51 0 0 0 17.51 17.5h107.91a17.5 17.5 0 0 0 17.5 -17.5v-107.91a17.49 17.49 0 0 0 -17.5 -17.49z"></path>
|
9
6
|
<path class="cls-3 pink" d="m212.13 310.22h-88a14.28 14.28 0 0 0 -14.28 14.27v88a14.28 14.28 0 0 0 14.28 14.27h88a14.27 14.27 0 0 0 14.27 -14.27v-88a14.27 14.27 0 0 0 -14.27 -14.27z"></path>
|
data/_includes/nav.html
CHANGED
@@ -12,9 +12,9 @@ navbar-inverse navbar-static" id="main-navigation">
|
|
12
12
|
<div class="navbar-header">
|
13
13
|
<button for="navbar-toggle-cbox" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-collapse" aria-expanded="false" aria-controls="navbar">
|
14
14
|
<span class="sr-only">Toggle navigation</span>
|
15
|
-
<span class="icon-bar"></span>
|
16
|
-
<span class="icon-bar"></span>
|
17
|
-
<span class="icon-bar"></span>
|
15
|
+
<span class="icon-bar top-bar"></span>
|
16
|
+
<span class="icon-bar middle-bar"></span>
|
17
|
+
<span class="icon-bar bottom-bar"></span>
|
18
18
|
</button>
|
19
19
|
{% if site.data.nav.brand %}
|
20
20
|
<a class="navbar-brand " href="{{site.data.nav.brand.url}}">
|
data/_includes/post-sidebar.html
CHANGED
@@ -14,12 +14,12 @@
|
|
14
14
|
<img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="
|
15
15
|
{% if post.image.featured %}
|
16
16
|
{% if post.image.thumb %}
|
17
|
-
data-src="{
|
17
|
+
data-src="{{post.image.thumb}}"
|
18
18
|
{% else %}
|
19
|
-
data-src="{
|
19
|
+
data-src="{{post.image.path}}"
|
20
20
|
{% endif %}
|
21
21
|
{% else %}
|
22
|
-
data-src="{
|
22
|
+
data-src="{{site.data.settings.placeholder}}"
|
23
23
|
{% endif %}
|
24
24
|
alt="{{post.title}}" class="img-responsive lazyload"/>
|
25
25
|
</div>
|
@@ -50,12 +50,12 @@
|
|
50
50
|
<img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="
|
51
51
|
{% if post.image.featured %}
|
52
52
|
{% if post.image.thumb %}
|
53
|
-
data-src="{
|
53
|
+
data-src="{{post.image.thumb}}"
|
54
54
|
{% else %}
|
55
|
-
data-src="{
|
55
|
+
data-src="{{post.image.path}}"
|
56
56
|
{% endif %}
|
57
57
|
{% else %}
|
58
|
-
data-src="{
|
58
|
+
data-src="{{site.data.settings.placeholder}}"
|
59
59
|
{% endif %}
|
60
60
|
alt="{{post.title}}" class="img-responsive lazyload"/>
|
61
61
|
</div>
|
data/_includes/sidebar.html
CHANGED
@@ -24,7 +24,7 @@
|
|
24
24
|
<a href="{{tab.url}}" role="link">
|
25
25
|
{% if tab.icon %}
|
26
26
|
<div class="ext-left">
|
27
|
-
<img src="{
|
27
|
+
<img src="{{tab.icon}}" class="developer-services-icon" alt="{{tab.title}} Icon"/>
|
28
28
|
</div>
|
29
29
|
<div class="ext-right">
|
30
30
|
{{ tab.title}} {% if tab.external %}<i class="glyphicon glyphicon-new-window pull-right"></i>{% endif %}
|
@@ -1,9 +1,10 @@
|
|
1
|
+
{% if page.sticky-tab-bar %}
|
2
|
+
{% assign tab-list = page.sticky-tab-bar %}
|
3
|
+
{% else %}
|
1
4
|
{% assign sub-nav-tabs = site.data.sticky-tab-bar.pages %}
|
2
|
-
|
5
|
+
{% endif %}
|
3
6
|
{% if sub-nav-tabs %}
|
4
|
-
|
5
7
|
{% assign page-base = page.url | split:'/' %}
|
6
|
-
|
7
8
|
{% for each in sub-nav-tabs %}
|
8
9
|
{% for each-url in each.urls %}
|
9
10
|
{% if each-url == page.url %}
|
@@ -20,19 +21,17 @@
|
|
20
21
|
{% assign custom-include = each.custom-include %}
|
21
22
|
{% endif %}
|
22
23
|
{% endfor %}
|
23
|
-
|
24
|
-
|
25
|
-
{% if tab-list %}
|
26
|
-
|
24
|
+
{% endif %}
|
25
|
+
{% if tab-list %}
|
27
26
|
<div class="tabbed-area non-sticky-nav" id="tabbed-nav-bar"><!-- Nav tabs Wrapper-->
|
28
27
|
<nav class="navbar-default" role="navigation"><!-- Nav -->
|
29
28
|
<div class="container">
|
30
29
|
<div class="navbar-header"><!-- Navbar Header -->
|
31
|
-
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#tabbed-nav-bar-collapse">
|
30
|
+
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#tabbed-nav-bar-collapse">
|
32
31
|
<span class="sr-only">Toggle navigation</span>
|
33
|
-
<span class="icon-bar"></span>
|
34
|
-
<span class="icon-bar"></span>
|
35
|
-
<span class="icon-bar"></span>
|
32
|
+
<span class="icon-bar top-bar"></span>
|
33
|
+
<span class="icon-bar middle-bar"></span>
|
34
|
+
<span class="icon-bar bottom-bar"></span>
|
36
35
|
</button><!-- Navbar Icon Bar Toggle -->
|
37
36
|
<a class="navbar-brand" id="sub-navigation-header" href=""></a><!-- Navbar Brand -->
|
38
37
|
</div>
|
@@ -43,6 +42,8 @@
|
|
43
42
|
class="active tabbed-nav-btn {% if tab.right %}pull-right{% endif %}"
|
44
43
|
{% elsif tab.sub-pages and page.url contains tab.url %}
|
45
44
|
class="active tabbed-nav-btn {% if tab.right %}pull-right{% endif %}"
|
45
|
+
{% elsif tab.active %}
|
46
|
+
class="active tabbed-nav-btn {% if tab.right %}pull-right{% endif %}"
|
46
47
|
{% else %}
|
47
48
|
class="tabbed-nav-btn {% if tab.right %}pull-right{% endif %}"
|
48
49
|
{% endif %}>
|
@@ -53,11 +54,8 @@
|
|
53
54
|
</div>
|
54
55
|
</nav>
|
55
56
|
</div>
|
56
|
-
|
57
|
-
|
58
|
-
{% else %}
|
59
|
-
No sticky-nav.yml content found - please add to _data/sticky-tab-bar.yml. More information available <a href="/jekyll/includes/sticky-tab-bar/">here</a>.
|
60
|
-
{% endif %}
|
57
|
+
{% elsif custom-include %}
|
58
|
+
{% include {{custom-include}}.html %}
|
61
59
|
{% else %}
|
62
|
-
No
|
63
|
-
{% endif %}
|
60
|
+
No sticky-nav.yml content found - please add to _data/sticky-tab-bar.yml. More information available <a href="/jekyll/includes/sticky-tab-bar/">here</a>.
|
61
|
+
{% endif %}
|