jumbo-jekyll-theme 1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +19 -0
- data/_data/authors.yml +7 -0
- data/_data/footer.yml +51 -0
- data/_data/nav.yml +78 -0
- data/_data/news.yaml +230 -0
- data/_data/settings.yml +113 -0
- data/_data/sidebar-nav.yml +23 -0
- data/_data/sticky-nav.yml +21 -0
- data/_includes/breadcrumb.html +101 -0
- data/_includes/css.html +9 -0
- data/_includes/custom.html +1 -0
- data/_includes/display-blog-posts.html +16 -0
- data/_includes/disqus-comments.html +14 -0
- data/_includes/footer.html +51 -0
- data/_includes/google-analytics-script.html +9 -0
- data/_includes/gtm-noscript.html +5 -0
- data/_includes/gtm-script.html +9 -0
- data/_includes/head.html +41 -0
- data/_includes/image.html +6 -0
- data/_includes/javascript.html +11 -0
- data/_includes/jumbotron.html +54 -0
- data/_includes/linaro-svg.html +1 -0
- data/_includes/media.html +11 -0
- data/_includes/members.html +63 -0
- data/_includes/nav.html +133 -0
- data/_includes/newsletter.html +35 -0
- data/_includes/owl-carousel-homepage.html +103 -0
- data/_includes/pagination.html +39 -0
- data/_includes/post-comments.html +9 -0
- data/_includes/post-sidebar.html +59 -0
- data/_includes/post-tags.html +13 -0
- data/_includes/shape-divider.html +14 -0
- data/_includes/shape.html +52 -0
- data/_includes/sidebar.html +47 -0
- data/_includes/sticky-tab-bar.html +51 -0
- data/_includes/youtube.html +7 -0
- data/_layouts/container-breadcrumb-left-sidebar.html +10 -0
- data/_layouts/container-breadcrumb-right-sidebar.html +9 -0
- data/_layouts/container-breadcrumb.html +6 -0
- data/_layouts/container-left-sidebar.html +9 -0
- data/_layouts/container-right-sidebar.html +9 -0
- data/_layouts/container.html +8 -0
- data/_layouts/default.html +27 -0
- data/_layouts/full-width-breadcrumb.html +10 -0
- data/_layouts/full-width.html +9 -0
- data/_layouts/home.html +17 -0
- data/_layouts/post-featured-image-no-sidebar.html +0 -0
- data/_layouts/post-featured-image.html +129 -0
- data/_layouts/post-index.html +15 -0
- data/_layouts/post-no-sidebar.html +0 -0
- data/_layouts/post.html +71 -0
- data/_plugins/jekyll_get.rb +40 -0
- data/_sass/_bootstrap-compass.scss +9 -0
- data/_sass/_bootstrap-mincer.scss +19 -0
- data/_sass/_bootstrap-sprockets.scss +9 -0
- data/_sass/_bootstrap.scss +56 -0
- data/_sass/blog.scss +8 -0
- data/_sass/bootstrap/_alerts.scss +73 -0
- data/_sass/bootstrap/_badges.scss +68 -0
- data/_sass/bootstrap/_breadcrumbs.scss +28 -0
- data/_sass/bootstrap/_button-groups.scss +244 -0
- data/_sass/bootstrap/_buttons.scss +168 -0
- data/_sass/bootstrap/_carousel.scss +270 -0
- data/_sass/bootstrap/_close.scss +36 -0
- data/_sass/bootstrap/_code.scss +69 -0
- data/_sass/bootstrap/_component-animations.scss +37 -0
- data/_sass/bootstrap/_dropdowns.scss +216 -0
- data/_sass/bootstrap/_forms.scss +617 -0
- data/_sass/bootstrap/_glyphicons.scss +307 -0
- data/_sass/bootstrap/_grid.scss +84 -0
- data/_sass/bootstrap/_input-groups.scss +171 -0
- data/_sass/bootstrap/_jumbotron.scss +54 -0
- data/_sass/bootstrap/_labels.scss +66 -0
- data/_sass/bootstrap/_list-group.scss +130 -0
- data/_sass/bootstrap/_media.scss +66 -0
- data/_sass/bootstrap/_mixins.scss +40 -0
- data/_sass/bootstrap/_modals.scss +150 -0
- data/_sass/bootstrap/_navbar.scss +662 -0
- data/_sass/bootstrap/_navs.scss +242 -0
- data/_sass/bootstrap/_normalize.scss +424 -0
- data/_sass/bootstrap/_pager.scss +54 -0
- data/_sass/bootstrap/_pagination.scss +89 -0
- data/_sass/bootstrap/_panels.scss +271 -0
- data/_sass/bootstrap/_popovers.scss +131 -0
- data/_sass/bootstrap/_print.scss +101 -0
- data/_sass/bootstrap/_progress-bars.scss +87 -0
- data/_sass/bootstrap/_responsive-embed.scss +35 -0
- data/_sass/bootstrap/_responsive-utilities.scss +179 -0
- data/_sass/bootstrap/_scaffolding.scss +161 -0
- data/_sass/bootstrap/_tables.scss +234 -0
- data/_sass/bootstrap/_theme.scss +291 -0
- data/_sass/bootstrap/_thumbnails.scss +38 -0
- data/_sass/bootstrap/_tooltip.scss +101 -0
- data/_sass/bootstrap/_type.scss +298 -0
- data/_sass/bootstrap/_utilities.scss +55 -0
- data/_sass/bootstrap/_variables.scss +898 -0
- data/_sass/bootstrap/_wells.scss +29 -0
- data/_sass/bootstrap/mixins/_alerts.scss +14 -0
- data/_sass/bootstrap/mixins/_background-variant.scss +12 -0
- data/_sass/bootstrap/mixins/_border-radius.scss +18 -0
- data/_sass/bootstrap/mixins/_buttons.scss +65 -0
- data/_sass/bootstrap/mixins/_center-block.scss +7 -0
- data/_sass/bootstrap/mixins/_clearfix.scss +22 -0
- data/_sass/bootstrap/mixins/_forms.scss +88 -0
- data/_sass/bootstrap/mixins/_gradients.scss +58 -0
- data/_sass/bootstrap/mixins/_grid-framework.scss +81 -0
- data/_sass/bootstrap/mixins/_grid.scss +122 -0
- data/_sass/bootstrap/mixins/_hide-text.scss +21 -0
- data/_sass/bootstrap/mixins/_image.scss +33 -0
- data/_sass/bootstrap/mixins/_labels.scss +12 -0
- data/_sass/bootstrap/mixins/_list-group.scss +32 -0
- data/_sass/bootstrap/mixins/_nav-divider.scss +10 -0
- data/_sass/bootstrap/mixins/_nav-vertical-align.scss +9 -0
- data/_sass/bootstrap/mixins/_opacity.scss +8 -0
- data/_sass/bootstrap/mixins/_pagination.scss +24 -0
- data/_sass/bootstrap/mixins/_panels.scss +24 -0
- data/_sass/bootstrap/mixins/_progress-bar.scss +10 -0
- data/_sass/bootstrap/mixins/_reset-filter.scss +8 -0
- data/_sass/bootstrap/mixins/_reset-text.scss +18 -0
- data/_sass/bootstrap/mixins/_resize.scss +6 -0
- data/_sass/bootstrap/mixins/_responsive-visibility.scss +21 -0
- data/_sass/bootstrap/mixins/_size.scss +10 -0
- data/_sass/bootstrap/mixins/_tab-focus.scss +9 -0
- data/_sass/bootstrap/mixins/_table-row.scss +28 -0
- data/_sass/bootstrap/mixins/_text-emphasis.scss +12 -0
- data/_sass/bootstrap/mixins/_text-overflow.scss +8 -0
- data/_sass/bootstrap/mixins/_vendor-prefixes.scss +222 -0
- data/_sass/core.scss +9 -0
- data/_sass/core/404.scss +189 -0
- data/_sass/core/animations.scss +125 -0
- data/_sass/core/blog.scss +348 -0
- data/_sass/core/breadcrumb.scss +90 -0
- data/_sass/core/carousel-styles.scss +3 -0
- data/_sass/core/carousel.scss +175 -0
- data/_sass/core/cookieconsent.scss +42 -0
- data/_sass/core/critical.scss +0 -0
- data/_sass/core/custom.scss +3 -0
- data/_sass/core/fa.scss +2336 -0
- data/_sass/core/flipclock.scss +435 -0
- data/_sass/core/font-awesome.min.scss +4 -0
- data/_sass/core/fonts.scss +0 -0
- data/_sass/core/footer.scss +140 -0
- data/_sass/core/forms.scss +3 -0
- data/_sass/core/homepage.scss +79 -0
- data/_sass/core/lightbox.scss +213 -0
- data/_sass/core/nav.scss +770 -0
- data/_sass/core/owl.carousel.min.scss +6 -0
- data/_sass/core/owl.theme.default.min.scss +6 -0
- data/_sass/core/social-media-icons.scss +71 -0
- data/_sass/core/syntax.scss +65 -0
- data/_sass/core/tables.scss +125 -0
- data/_sass/core/theme.scss +418 -0
- data/_sass/custom.scss +0 -0
- data/assets/css/app/about.scss +47 -0
- data/assets/css/app/blog.scss +48 -0
- data/assets/css/app/custom.scss +670 -0
- data/assets/css/app/overrides.scss +20 -0
- data/assets/css/app/planet.scss +10 -0
- data/assets/css/app/press.scss +24 -0
- data/assets/css/app/social.scss +29 -0
- data/assets/css/app/twitter-feed.scss +414 -0
- data/assets/css/app/work.scss +151 -0
- data/assets/css/app/youtube.scss +65 -0
- data/assets/css/main-404.scss +17 -0
- data/assets/css/main-blog.scss +18 -0
- data/assets/css/main-home.scss +28 -0
- data/assets/css/main-lightbox.scss +28 -0
- data/assets/css/main.scss +27 -0
- data/assets/fonts/fontawesome-webfont.eot +0 -0
- data/assets/fonts/fontawesome-webfont.svg +2671 -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/fontello.eot +0 -0
- data/assets/fonts/fontello.svg +44 -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/images/96boards-Logo.svg +1 -0
- data/assets/images/Linaro-Logo.svg +1 -0
- data/assets/images/Linaro-Logo_light.png +0 -0
- data/assets/images/Linaro-Logo_standard.svg +1 -0
- data/assets/images/Linaro-Sprinkle.svg +13 -0
- data/assets/images/avatar-placeholder.png +0 -0
- data/assets/images/background-image.jpg +0 -0
- data/assets/images/banner.jpg +0 -0
- data/assets/images/close.png +0 -0
- data/assets/images/css3.png +0 -0
- data/assets/images/favicon.ico +0 -0
- data/assets/images/favicon.png +0 -0
- data/assets/images/html5.png +0 -0
- data/assets/images/jekyll.svg +1 -0
- data/assets/images/js.jpeg +0 -0
- data/assets/images/loading.gif +0 -0
- data/assets/images/next.png +0 -0
- data/assets/images/owl.video.play.png +0 -0
- data/assets/images/placeholder.png +0 -0
- data/assets/images/prev.png +0 -0
- data/assets/images/social-media-image.png +0 -0
- data/assets/js/app/developer-services.js +26 -0
- data/assets/js/app/facebook.js +8 -0
- data/assets/js/app/home.js +46 -0
- data/assets/js/app/main.js +145 -0
- data/assets/js/app/mixitup.js +23 -0
- data/assets/js/app/openhours-timer.js +23 -0
- data/assets/js/app/rss.js +96 -0
- data/assets/js/app/search-page.js +40 -0
- data/assets/js/app/sticky-navbar.js +65 -0
- data/assets/js/app/tables.js +35 -0
- data/assets/js/package-blog.js +10 -0
- data/assets/js/package-developer-services.js +10 -0
- data/assets/js/package-extended.js +12 -0
- data/assets/js/package-home.js +10 -0
- data/assets/js/package-main.js +8 -0
- data/assets/js/package-openhours.js +10 -0
- data/assets/js/package-rss.js +11 -0
- data/assets/js/package-search.js +9 -0
- data/assets/js/package-services.js +6 -0
- data/assets/js/package-sticky.js +9 -0
- data/assets/js/package-work.js +12 -0
- data/assets/js/vendor/bootstrap.min.js +7 -0
- data/assets/js/vendor/cognito.js +11 -0
- data/assets/js/vendor/cookieconsent.min.js +8 -0
- data/assets/js/vendor/filtrify.js +11 -0
- data/assets/js/vendor/flipclock.min.js +2 -0
- data/assets/js/vendor/jquery.min.js +4 -0
- data/assets/js/vendor/jquery.rss.min.js +333 -0
- data/assets/js/vendor/jquery.validate.min.js +4 -0
- data/assets/js/vendor/lazysizes.min.js +2 -0
- data/assets/js/vendor/lightbox.js +519 -0
- data/assets/js/vendor/loadCSS.js +35 -0
- data/assets/js/vendor/loadCSS.min.js +2 -0
- data/assets/js/vendor/ls.unveilhooks.js +145 -0
- data/assets/js/vendor/mc-validate.js +14 -0
- data/assets/js/vendor/moment.min.js +1 -0
- data/assets/js/vendor/owl.carousel.min.js +103 -0
- data/assets/js/vendor/picturefill.min.js +5 -0
- data/assets/js/vendor/shuffle.js +2004 -0
- data/assets/js/vendor/twitter.js +129 -0
- data/robots.txt +9 -0
- metadata +509 -0
@@ -0,0 +1,47 @@
|
|
1
|
+
{% assign sub-nav-tabs = site.data.sidebar-nav.pages %}
|
2
|
+
|
3
|
+
{% if sub-nav-tabs %}
|
4
|
+
|
5
|
+
{% assign page-base = page.url | split:'/' %}
|
6
|
+
|
7
|
+
{% for each in sub-nav-tabs %}
|
8
|
+
{% for each-url in each.urls %}
|
9
|
+
{% if each-url == page.url or each.url == page-base[1] %}
|
10
|
+
{% if each.list %}
|
11
|
+
{% assign tab-list = each.list %}
|
12
|
+
{% endif %}
|
13
|
+
{% endif %}
|
14
|
+
{% endfor %}
|
15
|
+
{% if each.custom-include %}
|
16
|
+
{% assign custom-include = each.custom-include %}
|
17
|
+
{% endif %}
|
18
|
+
{% endfor %}
|
19
|
+
|
20
|
+
|
21
|
+
{% if tab-list %}
|
22
|
+
<ul class="nav nav-pills nav-stacked" id="stacked-nav">
|
23
|
+
{% for tab in tab-list %}
|
24
|
+
<li class="{% if page-base[1] == tab.base %}active {% elsif page.url == tab.url or tab.active %}active {% endif %}side-nav-button">
|
25
|
+
<a href="{{tab.url}}" role="link">
|
26
|
+
{% if tab.icon %}
|
27
|
+
<div class="ext-left">
|
28
|
+
<img src="{% asset_path '{{tab.icon}}' %}" class="developer-services-icon" alt="{{tab.title}} Icon"/>
|
29
|
+
</div>
|
30
|
+
<div class="ext-right">
|
31
|
+
{{ tab.title}} {% if tab.external %}<i class="glyphicon glyphicon-new-window pull-right"></i>{% endif %}
|
32
|
+
</div>
|
33
|
+
{% else %}
|
34
|
+
{{ tab.title}} {% if tab.external %}<i class="glyphicon glyphicon-new-window pull-right"></i>{% endif %}
|
35
|
+
{% endif %}
|
36
|
+
</a>
|
37
|
+
</li>
|
38
|
+
{% endfor %}
|
39
|
+
</ul>
|
40
|
+
{% elsif custom-include %}
|
41
|
+
{% include {{custom-include}}.html %}
|
42
|
+
{% else %}
|
43
|
+
No sidebar content found - please add to _data/sidebar-nav.yml. More information available <a href="/jekyll/includes/sidebar/">here</a>.
|
44
|
+
{% endif %}
|
45
|
+
{% else %}
|
46
|
+
No sidebar settings found - please create a _data/sidebar-nav.yml data file. More information available <a href="/jekyll/includes/sidebar/">here</a>.
|
47
|
+
{% endif %}
|
@@ -0,0 +1,51 @@
|
|
1
|
+
{% assign sub-nav-tabs = site.data.sub-nav.pages %}
|
2
|
+
|
3
|
+
{% if sub-nav-tabs %}
|
4
|
+
|
5
|
+
{% assign page-base = page.url | split:'/' %}
|
6
|
+
|
7
|
+
{% for each in sub-nav-tabs %}
|
8
|
+
{% for each-url in each.urls %}
|
9
|
+
{% if each-url == page.url or each.url == page-base[1] %}
|
10
|
+
{% if each.list %}
|
11
|
+
{% assign tab-list = each.list %}
|
12
|
+
{% endif %}
|
13
|
+
{% endif %}
|
14
|
+
{% endfor %}
|
15
|
+
{% if each.custom-include %}
|
16
|
+
{% assign custom-include = each.custom-include %}
|
17
|
+
{% endif %}
|
18
|
+
{% endfor %}
|
19
|
+
|
20
|
+
|
21
|
+
{% if tab-list %}
|
22
|
+
<div class="tabbed-area" id="tabbed-nav-bar"><!-- Nav tabs Wrapper-->
|
23
|
+
<nav class="navbar-default" role="navigation"><!-- Nav -->
|
24
|
+
<div class="container"><!-- Container -->
|
25
|
+
<div class="navbar-header"><!-- Navbar Header -->
|
26
|
+
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#tabbed-nav-bar-collapse">
|
27
|
+
<span class="sr-only">Toggle navigation</span>
|
28
|
+
<span class="icon-bar"></span>
|
29
|
+
<span class="icon-bar"></span>
|
30
|
+
<span class="icon-bar"></span>
|
31
|
+
</button><!-- Navbar Icon Bar Toggle -->
|
32
|
+
<a class="navbar-brand" id="sub-navigation-header" href=""></a><!-- Navbar Brand -->
|
33
|
+
</div>
|
34
|
+
<div class="collapse navbar-collapse" id="tabbed-nav-bar-collapse"><!-- Navbar Collapse -->
|
35
|
+
<ul class="nav nav-tabs tabbed-nav" id="tab-row" role="tablist">
|
36
|
+
{% for tab in tab-list %}
|
37
|
+
<li role="presentation" {% if page.url == tab.url %}class="active tabbed-nav-btn"{% else %}class="tabbed-nav-btn"{% endif %}><a href="{{tab.url}}" aria-controls="overview" role="link">{{tab.title}}</a></li>
|
38
|
+
{% endfor %}
|
39
|
+
</ul>
|
40
|
+
</div>
|
41
|
+
</div>
|
42
|
+
</nav>
|
43
|
+
</div>
|
44
|
+
{% elsif custom-include %}
|
45
|
+
{% include {{custom-include}}.html %}
|
46
|
+
{% else %}
|
47
|
+
No sticky-nav.yml content found - please add to _data/sticky-nav.yml. More information available <a href="/jekyll/includes/sticky-nav/">here</a>.
|
48
|
+
{% endif %}
|
49
|
+
{% else %}
|
50
|
+
No sidebar settings found - please create a _data/sidebar.yml data file. More information available <a href="/jekyll/includes/sidebar/">here</a>.
|
51
|
+
{% endif %}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
---
|
2
|
+
js-package: main
|
3
|
+
---
|
4
|
+
<!DOCTYPE html>
|
5
|
+
<html lang="en">
|
6
|
+
{% include head.html %}
|
7
|
+
<body>
|
8
|
+
{% if site.data.company.google.tag_manager %}
|
9
|
+
{% include _theme-includes/_script-includes/gtm/gtm-noscript.html %}
|
10
|
+
{% endif %}
|
11
|
+
<div id="wrapper{% if layout.home == true %}-home{% endif %}">
|
12
|
+
{% include nav.html %}
|
13
|
+
{{content}}
|
14
|
+
|
15
|
+
{% if site.data.settings.newsletter.enabled == true %}
|
16
|
+
{% if page.url != "/search/" %}
|
17
|
+
{% include newsletter.html %}
|
18
|
+
{% endif %}
|
19
|
+
{% endif %}
|
20
|
+
|
21
|
+
{% include footer.html %}
|
22
|
+
</div>
|
23
|
+
|
24
|
+
{% include javascript.html %}
|
25
|
+
|
26
|
+
</body>
|
27
|
+
</html>
|
data/_layouts/home.html
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
js-package: home
|
4
|
+
css-package: home
|
5
|
+
nav-light: true
|
6
|
+
home: true
|
7
|
+
---
|
8
|
+
{% include jumbotron.html %}
|
9
|
+
|
10
|
+
<div class="container-fluid" id="content-container">
|
11
|
+
<div class="row">
|
12
|
+
<div class="container">
|
13
|
+
{{ content }}
|
14
|
+
</div>
|
15
|
+
</div>
|
16
|
+
</div>
|
17
|
+
|
File without changes
|
@@ -0,0 +1,129 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
js-package: blog
|
4
|
+
css-package: blog
|
5
|
+
---
|
6
|
+
<div class="container-fluid">
|
7
|
+
{% if assets[page.image.name] %}
|
8
|
+
<div class="row" class="blog-featured-img" style="background-color: white;">
|
9
|
+
<div class="img-blog" style="background: linear-gradient(
|
10
|
+
rgba(20,20,20, .5),
|
11
|
+
rgba(20,20,20, .5)),
|
12
|
+
url('{% asset_path {{page.image.name}} %}') no-repeat center center fixed;
|
13
|
+
background-size: cover;
|
14
|
+
-webkit-background-size: cover;
|
15
|
+
-moz-background-size: cover;
|
16
|
+
-o-background-size: cover;">
|
17
|
+
<div class="blog-full-page-image-info">
|
18
|
+
<h1 class="text-center" id="featured-image-blog-title">{{page.title}}</h1>
|
19
|
+
{% if page.author %}
|
20
|
+
{% assign author = site.authors | where: "username", page.author | first %}
|
21
|
+
<a href="{{author.url}}">
|
22
|
+
<img class="blog-author-image" style="
|
23
|
+
background-image:url({% if author.image.name %}
|
24
|
+
{% asset_path '{{author.image.name}}' %}
|
25
|
+
{% else %}
|
26
|
+
{% asset_path 'avatar-placeholder.png' %}
|
27
|
+
{% endif %})" />
|
28
|
+
</a>
|
29
|
+
|
30
|
+
{% if page.co-author %}
|
31
|
+
{% assign co-author = site.authors | where: "username", page.co-author | first %}
|
32
|
+
<a href="{{co-author.url}}">
|
33
|
+
<img class="blog-author-image" style="
|
34
|
+
background-image:url({% if co-author.image.name %}
|
35
|
+
{% asset_path '{{co-author.image.name}}' %}
|
36
|
+
{% else %}
|
37
|
+
{% asset_path 'avatar-placeholder.png' %}
|
38
|
+
{% endif %})" />
|
39
|
+
</a>
|
40
|
+
<br />
|
41
|
+
<small class="blog-author text-center">
|
42
|
+
By
|
43
|
+
<a href="{{author.url}}">
|
44
|
+
<em>{% if author.name %}{{author.name}}{% else %}{{page.author}}{% endif %}</em>
|
45
|
+
</a>
|
46
|
+
and
|
47
|
+
<a href="{{co-author.url}}">
|
48
|
+
<em>{% if co-author.name %}{{co-author.name}}{% else %}{{page.co-author}}{% endif %}</em>
|
49
|
+
</a>
|
50
|
+
</small>
|
51
|
+
<br />
|
52
|
+
{% else %}
|
53
|
+
<br />
|
54
|
+
<small class="blog-author text-center">
|
55
|
+
By
|
56
|
+
<a href="{{author.url}}">
|
57
|
+
<em>{% if author.name %}{{author.name}}{% else %}{{page.author}}{% endif %}</em>
|
58
|
+
</a>
|
59
|
+
</small>
|
60
|
+
<br />
|
61
|
+
{% endif %}
|
62
|
+
|
63
|
+
|
64
|
+
|
65
|
+
{% endif %}
|
66
|
+
{% if page.date %}<small class="blog-date text-center"><em>{{page.date | date: "%A, %B %-d, %Y"}}</em></small>{% endif %}
|
67
|
+
</div>
|
68
|
+
</div>
|
69
|
+
</div>
|
70
|
+
|
71
|
+
{% if page.shape-divider %}
|
72
|
+
{% include shape-divider.html %}
|
73
|
+
{% endif %}
|
74
|
+
|
75
|
+
</div>
|
76
|
+
{% endif %}
|
77
|
+
|
78
|
+
<div class="container-fluid" id="content-container">
|
79
|
+
<div class="row">
|
80
|
+
<div class="container">
|
81
|
+
<article class="post-content">
|
82
|
+
{{ content }}
|
83
|
+
</article>
|
84
|
+
<hr />
|
85
|
+
{% if page.featured-products %}
|
86
|
+
<h3>Featured Products</h3>
|
87
|
+
<hr />
|
88
|
+
<div class="row feautured-products-blog-row">
|
89
|
+
{% for each in page.featured-products %}
|
90
|
+
|
91
|
+
{% capture product-perma %}/product/{{each}}/{% endcapture %}
|
92
|
+
|
93
|
+
{% assign product = site.data.product_db.products | where: "product_permalink", product-perma | first %}
|
94
|
+
|
95
|
+
<div class="col-sm-6">
|
96
|
+
<div class="col-xs-3">
|
97
|
+
<div class="featured-product-blog-img">
|
98
|
+
<a href="{{product.product_permalink}}">
|
99
|
+
<img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" data-src="../../product/{{product.product_specification}}/{{each}}/images/{{product.product_images[0]}}" class="lazyload img-responsive" alt="{{product.product_title}}" />
|
100
|
+
</a>
|
101
|
+
</div>
|
102
|
+
</div>
|
103
|
+
<div class="col-xs-9">
|
104
|
+
<span class="featured-product-blog-title">{{product.product_title}}</h4>
|
105
|
+
<a class="btn btn-blog btn-xs btn-featured-product" href="{{product.product_permalink}}">View Product</a>
|
106
|
+
</div>
|
107
|
+
</div>
|
108
|
+
{% endfor %}
|
109
|
+
</div>
|
110
|
+
|
111
|
+
<hr/>
|
112
|
+
{% endif %}
|
113
|
+
|
114
|
+
{% comment %}
|
115
|
+
TAGS - Check to see if the tags_enabled setting in settings.yml data file is toggled.
|
116
|
+
{% endcomment %}
|
117
|
+
|
118
|
+
{% include post-tags.html %}
|
119
|
+
|
120
|
+
{% comment %}
|
121
|
+
COMMENTS - Check to see if comments are toggled for this particular post.
|
122
|
+
{% endcomment %}
|
123
|
+
|
124
|
+
{% include post-comments.html %}
|
125
|
+
|
126
|
+
|
127
|
+
</div>
|
128
|
+
</div>
|
129
|
+
</div>
|
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
layout: container-breadcrumb
|
3
|
+
title: Blog
|
4
|
+
css-package: blog
|
5
|
+
js-package: blog
|
6
|
+
---
|
7
|
+
<div class="col-md-9">
|
8
|
+
{{content}}
|
9
|
+
{% include display-blog-posts.html %}
|
10
|
+
{% include pagination.html %}
|
11
|
+
</div>
|
12
|
+
|
13
|
+
<div class="col-md-3">
|
14
|
+
{% include post-sidebar.html %}
|
15
|
+
</div>
|
File without changes
|
data/_layouts/post.html
ADDED
@@ -0,0 +1,71 @@
|
|
1
|
+
---
|
2
|
+
js-package: blog
|
3
|
+
css-package: blog
|
4
|
+
layout: container
|
5
|
+
---
|
6
|
+
|
7
|
+
{% if page.previous.url %}
|
8
|
+
<a href="{{page.previous.url}}" class="previous_post_anchor">
|
9
|
+
<div class="previous_post"></div>
|
10
|
+
</a>
|
11
|
+
{% endif %}
|
12
|
+
{% if page.next.url %}
|
13
|
+
<a href="{{page.next.url}}" class="next_post_anchor">
|
14
|
+
<div class="next_post"></div>
|
15
|
+
</a>
|
16
|
+
{% endif %}
|
17
|
+
|
18
|
+
<div class="col-md-9">
|
19
|
+
<article class="post-content">
|
20
|
+
<div class="post-info">
|
21
|
+
<h1>{{page.title }}</h1>
|
22
|
+
|
23
|
+
{% if page.date %}<small class="blog-date text-center"><em>Posted on <b>{{page.date | date: "%A, %B %-d, %Y"}}</b></em></small>{% endif %}
|
24
|
+
{% if page.categories %}in <a href="/categories/#{{page.categories[0]}}">{{page.categories[0] | capitalize}}</a>{% endif %}
|
25
|
+
{% if page.author %}
|
26
|
+
{% assign author = site.authors | where: 'username' , page.author %}
|
27
|
+
{% assign author = author[0] %}
|
28
|
+
<em> By
|
29
|
+
{% if author %}
|
30
|
+
<a href="{{author.url}}">
|
31
|
+
<strong>
|
32
|
+
{{author.name}}
|
33
|
+
</strong>
|
34
|
+
</a>
|
35
|
+
{% else %}
|
36
|
+
<strong>
|
37
|
+
{{page.author}}
|
38
|
+
</strong>
|
39
|
+
{% endif %}
|
40
|
+
|
41
|
+
</em>
|
42
|
+
{% endif %}
|
43
|
+
</div>
|
44
|
+
{{ content }}
|
45
|
+
</article>
|
46
|
+
|
47
|
+
<hr />
|
48
|
+
|
49
|
+
{% comment %}
|
50
|
+
TAGS - Check to see if the tags_enabled setting in settings.yml data file is toggled.
|
51
|
+
{% endcomment %}
|
52
|
+
|
53
|
+
{% include post-tags.html %}
|
54
|
+
|
55
|
+
{% comment %}
|
56
|
+
COMMENTS - Check to see if comments are toggled for this particular post.
|
57
|
+
{% endcomment %}
|
58
|
+
|
59
|
+
{% include post-comments.html %}
|
60
|
+
|
61
|
+
|
62
|
+
</div>
|
63
|
+
|
64
|
+
{% comment %}
|
65
|
+
Display a right side bar.
|
66
|
+
{% endcomment %}
|
67
|
+
|
68
|
+
<div class="col-md-3">
|
69
|
+
{% include post-sidebar.html %}
|
70
|
+
</div>
|
71
|
+
|