jumbo-jekyll-theme-test 1.0.0
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 +26 -0
- data/_config.yml +122 -0
- data/_data/authors.yml +7 -0
- data/_data/footer.yml +55 -0
- data/_data/nav.yml +77 -0
- data/_data/news.yaml +230 -0
- data/_data/settings.yml +148 -0
- data/_data/sidebar-nav.yml +23 -0
- data/_data/sticky-tab-bar.yml +29 -0
- data/_includes/breadcrumb.html +97 -0
- data/_includes/css.html +9 -0
- data/_includes/custom.html +1 -0
- data/_includes/display-blog-posts.html +67 -0
- data/_includes/disqus-comments.html +14 -0
- data/_includes/footer.html +70 -0
- data/_includes/github-edit.html +73 -0
- data/_includes/google-analytics-script.html +9 -0
- data/_includes/gtm-noscript.html +5 -0
- data/_includes/gtm-script.html +7 -0
- data/_includes/head.html +44 -0
- data/_includes/hero-banner.html +21 -0
- data/_includes/image.html +6 -0
- data/_includes/javascript.html +9 -0
- data/_includes/jumbotron.html +87 -0
- data/_includes/linaro-404.html +13 -0
- data/_includes/linaro-svg.html +1 -0
- data/_includes/media.html +11 -0
- data/_includes/members.html +63 -0
- data/_includes/nav.html +132 -0
- data/_includes/newsletter-script.html +30 -0
- data/_includes/owl-carousel-homepage.html +103 -0
- data/_includes/pagination-authors.html +36 -0
- data/_includes/pagination-news.html +36 -0
- data/_includes/pagination.html +36 -0
- data/_includes/post-comments.html +9 -0
- data/_includes/post-sidebar.html +74 -0
- data/_includes/post-tags.html +9 -0
- data/_includes/schema.html +50 -0
- data/_includes/shape-divider.html +12 -0
- data/_includes/shape.html +52 -0
- data/_includes/sidebar.html +55 -0
- data/_includes/sticky-tab-bar.html +63 -0
- data/_includes/universal-nav.html +28 -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-tabs.html +7 -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 +9 -0
- data/_layouts/default.html +31 -0
- data/_layouts/full-width-breadcrumb.html +10 -0
- data/_layouts/full-width.html +9 -0
- data/_layouts/home.html +21 -0
- data/_layouts/post-index.html +19 -0
- data/_layouts/post-no-sidebar.html +0 -0
- data/_layouts/post-old.html +70 -0
- data/_layouts/post.html +240 -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/app/blog.scss +58 -0
- data/_sass/app/contact.scss +3 -0
- data/_sass/app/custom.scss +1 -0
- data/_sass/app/home.scss +18 -0
- data/_sass/app/overrides.scss +36 -0
- data/_sass/app/search.scss +1 -0
- data/_sass/blog.scss +9 -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 +922 -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 +12 -0
- data/_sass/core/404.scss +189 -0
- data/_sass/core/animations.scss +125 -0
- data/_sass/core/blog.scss +441 -0
- data/_sass/core/breadcrumb.scss +97 -0
- data/_sass/core/carousel-styles.scss +3 -0
- data/_sass/core/carousel.scss +318 -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 +434 -0
- data/_sass/core/font-awesome.min.scss +4 -0
- data/_sass/core/fonts.scss +3 -0
- data/_sass/core/footer.scss +169 -0
- data/_sass/core/forms.scss +3 -0
- data/_sass/core/homepage.scss +106 -0
- data/_sass/core/jumbotron.scss +51 -0
- data/_sass/core/lightbox.scss +212 -0
- data/_sass/core/nav.scss +971 -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 +67 -0
- data/_sass/core/syntax.scss +65 -0
- data/_sass/core/tables.scss +145 -0
- data/_sass/core/theme.scss +630 -0
- data/_sass/core/twitter-feed.scss +414 -0
- data/_sass/core/universal-nav.scss +154 -0
- data/_sass/core/youtube.scss +65 -0
- data/_sass/home.scss +6 -0
- data/assets/css/main-404.scss +18 -0
- data/assets/css/main-blog.scss +19 -0
- data/assets/css/main-contact.scss +23 -0
- data/assets/css/main-home.scss +22 -0
- data/assets/css/main-lightbox.scss +29 -0
- data/assets/css/main-search.scss +13 -0
- data/assets/css/main.scss +12 -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/fonts/lato-regular/LICENSE.txt +93 -0
- data/assets/fonts/lato-regular/Lato-regular.eot +0 -0
- data/assets/fonts/lato-regular/Lato-regular.svg +435 -0
- data/assets/fonts/lato-regular/Lato-regular.ttf +0 -0
- data/assets/fonts/lato-regular/Lato-regular.woff +0 -0
- data/assets/fonts/lato-regular/Lato-regular.woff2 +0 -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.png +0 -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/breadcrumb-image.jpg +0 -0
- data/assets/images/close.png +0 -0
- data/assets/images/favicon.ico +0 -0
- data/assets/images/favicon.png +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/custom.js +0 -0
- data/assets/js/app/facebook.js +8 -0
- data/assets/js/app/home.js +46 -0
- data/assets/js/app/main.js +143 -0
- data/assets/js/app/scroll-to-anchors.js +10 -0
- data/assets/js/app/sticky-tab-bar.js +72 -0
- data/assets/js/app/tables.js +35 -0
- data/assets/js/package-blog.js +10 -0
- data/assets/js/package-extended.js +14 -0
- data/assets/js/package-home.js +12 -0
- data/assets/js/package-main.js +10 -0
- data/assets/js/package-search.js +8 -0
- data/assets/js/vendor/bootstrap.js +2377 -0
- data/assets/js/vendor/cognito.js +11 -0
- data/assets/js/vendor/cookieconsent.js +1504 -0
- data/assets/js/vendor/jquery.js +10364 -0
- data/assets/js/vendor/jquery.rss.js +333 -0
- data/assets/js/vendor/jquery.validate.js +1601 -0
- data/assets/js/vendor/lazysizes.js +698 -0
- data/assets/js/vendor/lightbox.js +523 -0
- data/assets/js/vendor/loadCSS.js +35 -0
- data/assets/js/vendor/ls.unveilhooks.js +145 -0
- data/assets/js/vendor/mc.js +255 -0
- data/assets/js/vendor/owl.carousel.js +3475 -0
- data/assets/js/vendor/picturefill.js +1471 -0
- data/assets/js/vendor/shuffle.js +2004 -0
- data/robots.txt +9 -0
- metadata +528 -0
data/_data/settings.yml
ADDED
@@ -0,0 +1,148 @@
|
|
1
|
+
# Custom Favicon
|
2
|
+
favicon: favicon.png
|
3
|
+
|
4
|
+
# # Mailchimp settings
|
5
|
+
# mailchimp:
|
6
|
+
# enabled: true
|
7
|
+
# id: af6cf590b0
|
8
|
+
|
9
|
+
# Footer Newsletter toggle.
|
10
|
+
newsletter:
|
11
|
+
enabled: false
|
12
|
+
|
13
|
+
tags_enabled: true
|
14
|
+
|
15
|
+
# Footer Image default is linaro sprinkle
|
16
|
+
linaro-footer-image: Linaro-Sprinkle.png
|
17
|
+
|
18
|
+
# # Breadcrumb Settings
|
19
|
+
# breadcrumb:
|
20
|
+
# image: breadcrumb-image.jpg
|
21
|
+
|
22
|
+
|
23
|
+
#Content Repo for static site.
|
24
|
+
# Used for the edit on github include
|
25
|
+
|
26
|
+
# edit-on-github:
|
27
|
+
# enabled: true
|
28
|
+
# repo: https://www.github.com/Linaro/website
|
29
|
+
# docs: https://www.github.com/Linaro/website
|
30
|
+
|
31
|
+
# Settings for the home page
|
32
|
+
home:
|
33
|
+
#Content Background Image E.g. DeviceTree.org
|
34
|
+
# content-image: background-image.png
|
35
|
+
# If this is set then the navigation will be transparent.
|
36
|
+
transparent-nav: true
|
37
|
+
# If this is set to true then the shape divider will be displayed
|
38
|
+
shaped-divider: true
|
39
|
+
# Jumbotron settings for the home page
|
40
|
+
jumbotron:
|
41
|
+
# Include file to replace all the contents of the jumbotron with.
|
42
|
+
included_file: hero-banner.html
|
43
|
+
# Toggle the jumbotron
|
44
|
+
enabled: true
|
45
|
+
# Title for the home page jumbotron
|
46
|
+
title:
|
47
|
+
first-line:
|
48
|
+
text: Welcome to the
|
49
|
+
display: true
|
50
|
+
bold: false
|
51
|
+
second-line:
|
52
|
+
text: Jumbo Jekyll Theme
|
53
|
+
display: true
|
54
|
+
bold: true
|
55
|
+
# Text to be displayed in the home page jumbotron
|
56
|
+
sub-title:
|
57
|
+
first-line:
|
58
|
+
text: A theme for Linaro Static Jekyll sites.
|
59
|
+
display: true
|
60
|
+
bold: false
|
61
|
+
second-line:
|
62
|
+
text: Customize this content in the _data/settings.yml
|
63
|
+
display: false
|
64
|
+
bold: false
|
65
|
+
# Buttons to be displayed in the Jumbotron
|
66
|
+
buttons:
|
67
|
+
- text: Learn More
|
68
|
+
class: btn btn-primary btn-lg fade-in-three bottom-border-five
|
69
|
+
url: /about/
|
70
|
+
- text: Get Started
|
71
|
+
url:
|
72
|
+
class: btn btn-primary btn-lg fade-in-three bottom-border-five
|
73
|
+
# Background image for the home page located in assets/images
|
74
|
+
# background-image:
|
75
|
+
# # Darken is set to true by default - if you wish to remove the image overlay
|
76
|
+
# # then change this setting to false.
|
77
|
+
# darken: true
|
78
|
+
# # This is the name of the background-image located in /assets/images/
|
79
|
+
# name: background-image.jpg
|
80
|
+
# image: devicetree-icon-white.png
|
81
|
+
|
82
|
+
# Jekyll social media site settings. Github, LinkedIn, Google+, Facebook and Youtube
|
83
|
+
# github_username: Linaro
|
84
|
+
# linkedin_username: 1026961
|
85
|
+
# google_plus_username: +LinaroOnAir
|
86
|
+
# facebook_username: LinaroOrg
|
87
|
+
# youtube_username: linaroorg
|
88
|
+
# twitter_username: linaroorg
|
89
|
+
# slideshare_username: linaroorg
|
90
|
+
|
91
|
+
# Blog setup
|
92
|
+
blog:
|
93
|
+
# Show Thumbnails in the post index
|
94
|
+
show_thumbnails: true
|
95
|
+
# Toggle site wide comments display.
|
96
|
+
comments: true
|
97
|
+
# Post Side Bar Settings
|
98
|
+
sidebar:
|
99
|
+
# custom-include: blog-sidebar-include.html
|
100
|
+
display-on-posts: true
|
101
|
+
display-on-index: true
|
102
|
+
# Toggle whether or not thumbnails in the sidebar are displayed.
|
103
|
+
thumbnails:
|
104
|
+
display: true
|
105
|
+
# Display other posts contained in _posts
|
106
|
+
other-posts:
|
107
|
+
display: true
|
108
|
+
count: 4
|
109
|
+
# Display Related posts based on tags / categories
|
110
|
+
related-posts:
|
111
|
+
display: true
|
112
|
+
count: 5
|
113
|
+
# Display the most recent posts
|
114
|
+
most-recent-posts:
|
115
|
+
display: true
|
116
|
+
count: 5
|
117
|
+
|
118
|
+
# Google Anayltics Setup
|
119
|
+
# google:
|
120
|
+
# tag_manager: GTM-5DLPJQ
|
121
|
+
|
122
|
+
# Shema.org settings used in the schema.html include.
|
123
|
+
# schema:
|
124
|
+
# enabled: true
|
125
|
+
# organisation:
|
126
|
+
# name: Linaro
|
127
|
+
# url: https://www.linaro.org
|
128
|
+
# sameAs:
|
129
|
+
# - https://twitter.com/linaroorg
|
130
|
+
# - https://www.facebook.com/LinaroOrg
|
131
|
+
# - https://www.linkedin.com/company/1026961/
|
132
|
+
# - https://plus.google.com/+LinaroOnAir
|
133
|
+
# - https://github.com/Linaro
|
134
|
+
# - https://www.slideshare.net/linaroorg
|
135
|
+
# address:
|
136
|
+
# street: Harston Mill, Royston Rd
|
137
|
+
# town: Harston
|
138
|
+
# county: Cambridge
|
139
|
+
# post_code: CB22 7GG
|
140
|
+
# country_code: UK
|
141
|
+
|
142
|
+
# # Disqus Comments
|
143
|
+
# disqus:
|
144
|
+
# enabled: false
|
145
|
+
# shortname: Linaro
|
146
|
+
|
147
|
+
# Placeholder for Missing Images
|
148
|
+
placeholder: placeholder.jpg
|
@@ -0,0 +1,23 @@
|
|
1
|
+
pages:
|
2
|
+
-
|
3
|
+
list:
|
4
|
+
-
|
5
|
+
title: "Container Left Sidebar"
|
6
|
+
url: /jekyll/layouts/container-left-sidebar/
|
7
|
+
-
|
8
|
+
title: "Container Right Sidebar"
|
9
|
+
url: "/jekyll/layouts/container-right-sidebar/"
|
10
|
+
-
|
11
|
+
title: "Container Breadcrumb Left Sidebar"
|
12
|
+
url: "/jekyll/layouts/container-breadcrumb-left-sidebar/"
|
13
|
+
-
|
14
|
+
title: "Container Breadcrumb Right Sidebar"
|
15
|
+
url: "/jekyll/layouts/container-breadcrumb-right-sidebar/"
|
16
|
+
# custom-include: custom
|
17
|
+
# Custom includes can be used using the above setting. Simply add the name of the
|
18
|
+
# jekyll _include file (without .html exetension) to the above setting and that will be used instead.
|
19
|
+
urls: [
|
20
|
+
/jekyll/layouts/container-breadcrumb-left-sidebar/,
|
21
|
+
/jekyll/layouts/container-breadcrumb-right-sidebar/,
|
22
|
+
/jekyll/layouts/container-left-sidebar/,
|
23
|
+
/jekyll/layouts/container-right-sidebar/]
|
@@ -0,0 +1,29 @@
|
|
1
|
+
pages:
|
2
|
+
-
|
3
|
+
list:
|
4
|
+
-
|
5
|
+
title: "Home"
|
6
|
+
url: /
|
7
|
+
-
|
8
|
+
title: "About"
|
9
|
+
url: "/about/"
|
10
|
+
-
|
11
|
+
title: "FAQ"
|
12
|
+
url: "/faq/"
|
13
|
+
-
|
14
|
+
title: "Jekyll"
|
15
|
+
url: "/jekyll/"
|
16
|
+
|
17
|
+
urls: [
|
18
|
+
/,
|
19
|
+
/about/,
|
20
|
+
/faq/,
|
21
|
+
/jekyll/]
|
22
|
+
-
|
23
|
+
list:
|
24
|
+
-
|
25
|
+
title: "Container Breadcrumb"
|
26
|
+
url: /jekyll/layouts/container-breadcrumb/
|
27
|
+
|
28
|
+
urls: [
|
29
|
+
/jekyll/layouts/container-breadcrumb/]
|
@@ -0,0 +1,97 @@
|
|
1
|
+
<div class="container-fluid breadcrumb-container"
|
2
|
+
{% if site.data.settings.breadcrumb.image %}
|
3
|
+
style="background-image: url('{% asset_path '{{site.data.settings.breadcrumb.image}}' %}');
|
4
|
+
"
|
5
|
+
{% endif %}><!--- Main fluid container start ---->
|
6
|
+
<div class="row"> <!--- Row Start ---->
|
7
|
+
<div class="container breadcrumb-inner-container"><!--- Container Start ---->
|
8
|
+
<h1>
|
9
|
+
{% if page.title %}
|
10
|
+
{{ page.title }}
|
11
|
+
{% else %}
|
12
|
+
{{page.url | replace: "/", "" | replace: "-","" | capitalize }}
|
13
|
+
{% endif %}
|
14
|
+
</h1>
|
15
|
+
<ol itemscope itemtype="http://schema.org/BreadcrumbList" class="breadcrumb">
|
16
|
+
<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
|
17
|
+
<a itemprop="item" href="/">
|
18
|
+
<span itemprop="name">{{site.title}}</span>
|
19
|
+
</a>
|
20
|
+
<meta itemprop="position" content="1" />
|
21
|
+
</li>
|
22
|
+
{% assign page-url = page.url | split: "/" %}
|
23
|
+
{% assign iterator = 2 %}
|
24
|
+
{% assign breadcrumb-path = "/" %}
|
25
|
+
{% for section in page-url %}
|
26
|
+
{% if forloop.last == false %}
|
27
|
+
{% if section == "" or section == "index.html" %}
|
28
|
+
{% continue %}
|
29
|
+
{% elsif section == "product" %}
|
30
|
+
{% capture breadcrumb-path %}{{breadcrumb-path}}{{section}}/{% endcapture%}
|
31
|
+
<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
|
32
|
+
<a itemprop="item" href="/products/">
|
33
|
+
<span itemprop="name">{{section | truncate: 20 | capitalize }}s</span>
|
34
|
+
</a>
|
35
|
+
<meta itemprop="position" content="{{iterator}}" />
|
36
|
+
</li>
|
37
|
+
{% elsif section contains ".md.html" %}
|
38
|
+
{% capture breadcrumb-path %}{{breadcrumb-path}}{{section}}{% endcapture%}
|
39
|
+
<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
|
40
|
+
<a itemprop="item" href="{{breadcrumb-path}}">
|
41
|
+
<span itemprop="name">{{section | replace: ".html", "" | truncate: 20 | capitalize }}</span>
|
42
|
+
</a>
|
43
|
+
<meta itemprop="position" content="{{iterator}}" />
|
44
|
+
</li>
|
45
|
+
{% elsif section == "ConsumerEdition" %}
|
46
|
+
{% capture breadcrumb-path %}{{breadcrumb-path}}{{section}}/{% endcapture%}
|
47
|
+
<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
|
48
|
+
<a itemprop="item" href="{{breadcrumb-path}}">
|
49
|
+
<span itemprop="name">Consumer Edition</span>
|
50
|
+
</a>
|
51
|
+
<meta itemprop="position" content="{{iterator}}" />
|
52
|
+
</li>
|
53
|
+
{% elsif section == "EnterpriseEdition" %}
|
54
|
+
{% capture breadcrumb-path %}{{breadcrumb-path}}{{section}}/{% endcapture%}
|
55
|
+
<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
|
56
|
+
<a itemprop="item" href="{{breadcrumb-path}}">
|
57
|
+
<span itemprop="name">Enterprise Edition</span>
|
58
|
+
</a>
|
59
|
+
<meta itemprop="position" content="{{iterator}}" />
|
60
|
+
</li>
|
61
|
+
{% elsif section == "IoTEdition" %}
|
62
|
+
{% capture breadcrumb-path %}{{breadcrumb-path}}{{section}}/{% endcapture%}
|
63
|
+
<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
|
64
|
+
<a itemprop="item" href="{{breadcrumb-path}}">
|
65
|
+
<span itemprop="name">IoT Edition</span>
|
66
|
+
</a>
|
67
|
+
<meta itemprop="position" content="{{iterator}}" />
|
68
|
+
</li>
|
69
|
+
{% elsif section == "MezzanineProducts" %}
|
70
|
+
{% capture breadcrumb-path %}{{breadcrumb-path}}{{section}}/{% endcapture%}
|
71
|
+
<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
|
72
|
+
<a itemprop="item" href="{{breadcrumb-path}}">
|
73
|
+
<span itemprop="name">Mezzanine Products</span>
|
74
|
+
</a>
|
75
|
+
<meta itemprop="position" content="{{iterator}}" />
|
76
|
+
</li>
|
77
|
+
{% else %}
|
78
|
+
{% capture breadcrumb-path %}{{breadcrumb-path}}{{section}}/{% endcapture%}
|
79
|
+
<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
|
80
|
+
<a itemprop="item" href="{{breadcrumb-path}}">
|
81
|
+
<span itemprop="name">{{section | truncate: 20 | capitalize }}</span>
|
82
|
+
</a>
|
83
|
+
<meta itemprop="position" content="{{iterator}}" />
|
84
|
+
</li>
|
85
|
+
{% endif %}
|
86
|
+
{% else %}
|
87
|
+
<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem" class="active">
|
88
|
+
<span itemprop="name">{% if page.title %}{{page.title}}{% else %}{{ page.title }}{% endif %}</span>
|
89
|
+
<meta itemprop="position" content="{{iterator}}" />
|
90
|
+
</li>
|
91
|
+
{% endif %}
|
92
|
+
{% assign iterator = iterator | plus: 1 %}
|
93
|
+
{% endfor %}
|
94
|
+
</ol>
|
95
|
+
</div>
|
96
|
+
</div>
|
97
|
+
</div>
|
data/_includes/css.html
ADDED
@@ -0,0 +1,9 @@
|
|
1
|
+
{% if page.css-package %}
|
2
|
+
{% capture css-package %}/assets/css/main-{{page.css-package}}.css{% endcapture %}
|
3
|
+
<link rel="stylesheet" href="{{ css-package | relative_url }}?v={% bust_cache %}">
|
4
|
+
{% elsif layout.css-package %}
|
5
|
+
{% capture css-package %}/assets/css/main-{{layout.css-package}}.css{% endcapture %}
|
6
|
+
<link rel="stylesheet" href="{{ css-package | relative_url }}?v={% bust_cache %}">
|
7
|
+
{% else %}
|
8
|
+
<link rel="stylesheet" href="{{ "/assets/css/main.css" | relative_url }}?v={% bust_cache %}">
|
9
|
+
{% endif %}
|
@@ -0,0 +1 @@
|
|
1
|
+
Testing custom include.
|
@@ -0,0 +1,67 @@
|
|
1
|
+
{% for post in paginator.posts %}
|
2
|
+
<div class="row blog_post">
|
3
|
+
{% if site.data.settings.blog.show_thumbnails %}
|
4
|
+
<div class="col-md-4 col-sm-4 col-xs-4">
|
5
|
+
<a href="{{post.url}}">
|
6
|
+
{% if post.image.thumb %}
|
7
|
+
<picture>
|
8
|
+
<source srcset="{% asset_path '{{post.image.thumb}}' %}"
|
9
|
+
media="(max-width: 999px)" />
|
10
|
+
<source srcset="{% asset_path '{{post.image.thumb}}' %}"
|
11
|
+
media="(min-width: 1000px)" />
|
12
|
+
<img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="
|
13
|
+
data-src="{% asset_path '{{post.image.thumb}}' %}"
|
14
|
+
class="lazyload img-responsive center-block"/>
|
15
|
+
</picture>
|
16
|
+
{% elsif post.image.name %}
|
17
|
+
<picture>
|
18
|
+
<source srcset="{% asset_path '{{post.image.name}}' %}"
|
19
|
+
media="(max-width: 999px)" />
|
20
|
+
<source srcset="{% asset_path '{{post.image.name}}' %}"
|
21
|
+
media="(min-width: 1000px)" />
|
22
|
+
<img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="
|
23
|
+
data-src="{% asset_path '{{post.image.name}}' %}"
|
24
|
+
class="lazyload img-responsive center-block"/>
|
25
|
+
</picture>
|
26
|
+
{% else %}
|
27
|
+
<picture>
|
28
|
+
<source srcset="{% asset_path '{{site.data.settings.placeholder}}' %}"
|
29
|
+
media="(max-width: 999px)" />
|
30
|
+
<source srcset="{% asset_path '{{site.data.settings.placeholder}}' %}"
|
31
|
+
media="(min-width: 1000px)" />
|
32
|
+
<img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="
|
33
|
+
data-src="{% asset_path '{{site.data.settings.placeholder}}' %}"
|
34
|
+
class="lazyload img-responsive center-block"/>
|
35
|
+
</picture>
|
36
|
+
{% endif %}
|
37
|
+
</a>
|
38
|
+
</div>
|
39
|
+
<div class="col-md-8 col-sm-8 col-xs-8 post_title no-padding">
|
40
|
+
<a href="{{post.url}}"><h3>{{ post.title}}</h3></a>
|
41
|
+
<em>{{ post.date | date: "%A, %B %-d, %Y"}}</em><br />
|
42
|
+
<p class="post_excerpt">
|
43
|
+
{{ post.content | strip_html | truncatewords:30 }}
|
44
|
+
</p>
|
45
|
+
<p>
|
46
|
+
<a href="{{post.url}}">
|
47
|
+
<button class="btn blog-read-more-btn">Read More</button>
|
48
|
+
</a>
|
49
|
+
</p>
|
50
|
+
</div>
|
51
|
+
{% else %}
|
52
|
+
<div class="col-xs-12 post_title no-padding">
|
53
|
+
<a href="{{post.url}}"><h3>{{ post.title}}</h3></a>
|
54
|
+
<em>{{ post.date | date: "%A, %B %-d, %Y"}}</em><br />
|
55
|
+
<p class="post_excerpt">
|
56
|
+
{{ post.content | strip_html | truncatewords:30 }}
|
57
|
+
</p>
|
58
|
+
<p>
|
59
|
+
<a href="{{post.url}}">
|
60
|
+
<button class="btn blog-read-more-btn">Read More</button>
|
61
|
+
</a>
|
62
|
+
</p>
|
63
|
+
</div>
|
64
|
+
{% endif %}
|
65
|
+
</div>
|
66
|
+
{% endfor %}
|
67
|
+
|
@@ -0,0 +1,14 @@
|
|
1
|
+
<section class="disqus">
|
2
|
+
<div id="disqus_thread"></div>
|
3
|
+
<script type="text/javascript">
|
4
|
+
var disqus_shortname = '{{ site.data.settings.disqus.shortname }}';
|
5
|
+
var disqus_developer = 0; // developer mode is on
|
6
|
+
(function() {
|
7
|
+
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
|
8
|
+
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
|
9
|
+
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
|
10
|
+
})();
|
11
|
+
</script>
|
12
|
+
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
|
13
|
+
<a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
|
14
|
+
</section>
|
@@ -0,0 +1,70 @@
|
|
1
|
+
<div class="container-fluid footer">
|
2
|
+
<div class="row">
|
3
|
+
<footer id="footer">
|
4
|
+
<div class="container">
|
5
|
+
<div class="row main-footer-content">
|
6
|
+
{% for column in site.data.footer.columns %}
|
7
|
+
<div class="col-xs-6 col-md-2">
|
8
|
+
<ul class="list-unstyled ">
|
9
|
+
<li><b><a class="footer-heading" href="{% if column.url %}{{column.url}}{% else %}#{% endif %}">{{column.title}}</a></b></li>
|
10
|
+
{% if column.items %} {% for item in column.items %}
|
11
|
+
<li><a class="footer-element" href="{{item.url}}">{{item.text}}</a></li>
|
12
|
+
{% endfor %} {% endif %}
|
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 %}
|
22
|
+
</div>
|
23
|
+
|
24
|
+
<div class="row footer-strip">
|
25
|
+
<div class="container no-padding">
|
26
|
+
<div class="col-md-6 company-footer-bottom">
|
27
|
+
<a href="{{site.data.linaro.url}}"><img src="{% asset_path '{{site.data.settings.linaro-footer-image}}' %}" class="linaro-logo" alt="Linaro Icon" /></a>
|
28
|
+
Copyright © {{ 'now' | date: "%Y" }} Linaro Limited <a href="{{site.data.linaro.url}}">{{site.data.linaro.name}}</a>
|
29
|
+
{% for link in site.data.footer.company-links %}
|
30
|
+
<span class="coloured-bp">•</span>
|
31
|
+
<a href="{{link.url}}">{{link.name}}</a>
|
32
|
+
{% endfor %}
|
33
|
+
{% if site.data.settings.newsletter.url %}
|
34
|
+
<span class="coloured-bp">•</span>
|
35
|
+
<a href="{{site.data.settings.newsletter.url}}">Subscribe to Newsletter</a>
|
36
|
+
{% else %}
|
37
|
+
{% if site.data.settings.newsletter.enabled %}
|
38
|
+
<span class="coloured-bp">•</span>
|
39
|
+
<a href="#" id="open-newsletter-popup">Subscribe to Newsletter</a>
|
40
|
+
{% endif %}
|
41
|
+
{% endif %}
|
42
|
+
</div>
|
43
|
+
<div class="col-md-6 social-footer-bottom text-right no-padding">
|
44
|
+
{% if site.data.settings.facebook_username %}
|
45
|
+
<a href="http://facebook.com/{{site.data.settings.facebook_username}}" class="btn btn-social-icon"><i class="icon-facebook"></i></a>
|
46
|
+
{% endif %}
|
47
|
+
{% if site.data.settings.github_username %}
|
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>
|
61
|
+
{% endif %}
|
62
|
+
</div>
|
63
|
+
<div style="clear:both;"></div>
|
64
|
+
</div>
|
65
|
+
</div>
|
66
|
+
<!--/.container-->
|
67
|
+
</div>
|
68
|
+
</footer>
|
69
|
+
</div>
|
70
|
+
</div>
|