linaro-jekyll-theme 0.10.149 → 4.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (340) hide show
  1. checksums.yaml +5 -5
  2. data/LICENSE.txt +1 -1
  3. data/README.md +19 -50
  4. data/_config.yml +192 -0
  5. data/_data/footer.yml +27 -107
  6. data/_data/nav.yml +72 -61
  7. data/_data/picture.yml +151 -0
  8. data/_data/universal_nav.yml +22 -0
  9. data/_includes/blog/authors_posts.html +37 -0
  10. data/_includes/blog/blog_filler_element.html +21 -0
  11. data/_includes/blog/display_latest_posts.html +119 -0
  12. data/_includes/blog/disqus_comments.html +24 -0
  13. data/_includes/blog/latest_posts.html +11 -0
  14. data/_includes/blog/pagination.html +37 -0
  15. data/_includes/blog/post_search.html +11 -0
  16. data/_includes/blog/post_series.html +28 -0
  17. data/_includes/blog/post_sidebar.html +74 -0
  18. data/_includes/blog/read_time.html +7 -0
  19. data/_includes/components/breadcrumb.html +37 -0
  20. data/_includes/components/carousel_header.html +15 -0
  21. data/_includes/components/cookie_manager.html +72 -0
  22. data/_includes/components/css.html +8 -0
  23. data/_includes/components/github_edit.html +34 -0
  24. data/_includes/components/head.html +65 -0
  25. data/_includes/components/http2.html +57 -0
  26. data/_includes/components/javascript.html +10 -0
  27. data/_includes/components/jumbotron.html +82 -0
  28. data/_includes/components/linaro_404.html +16 -0
  29. data/_includes/components/schema.html +1 -0
  30. data/_includes/components/sidebar.html +55 -0
  31. data/_includes/examples/custom_include.html +10 -0
  32. data/_includes/examples/custom_include_row.html +562 -0
  33. data/_includes/flow/blocks.html +73 -0
  34. data/_includes/flow/button.html +6 -0
  35. data/_includes/flow/buttons.html +5 -0
  36. data/_includes/flow/call-to-action-banner.html +8 -0
  37. data/_includes/flow/collapse.html +21 -0
  38. data/_includes/flow/container_row.html +11 -0
  39. data/_includes/flow/feature_block.html +41 -0
  40. data/_includes/flow/flow_inner.html +29 -0
  41. data/_includes/flow/full_width_row.html +5 -0
  42. data/_includes/flow/image.html +12 -0
  43. data/_includes/flow/members-section.html +24 -0
  44. data/_includes/flow/slider.html +25 -0
  45. data/_includes/flow/slider_row.html +3 -0
  46. data/_includes/flow/tabbed_content.html +21 -0
  47. data/_includes/flow/text.html +3 -0
  48. data/_includes/flow/title.html +3 -0
  49. data/_includes/footer/footer.html +29 -0
  50. data/_includes/image.html +15 -4
  51. data/_includes/js_bundles/app.html +4 -0
  52. data/_includes/js_bundles/vendor.html +13 -0
  53. data/_includes/media.html +4 -4
  54. data/_includes/nav/brand.html +3 -0
  55. data/_includes/nav/nav.html +133 -0
  56. data/_includes/nav/universal_nav.html +36 -0
  57. data/_includes/social_media_icons.html +24 -0
  58. data/_includes/sticky-tab-bar.html +61 -0
  59. data/_includes/youtube.html +74 -6
  60. data/_layouts/author.html +61 -0
  61. data/_layouts/base.html +14 -0
  62. data/_layouts/default.html +2 -18
  63. data/_layouts/flow.html +33 -0
  64. data/_layouts/page.html +5 -0
  65. data/_layouts/post.html +56 -133
  66. data/{_layouts/about.html → _sass/app/blog.scss} +0 -0
  67. data/_sass/app/custom.scss +1 -0
  68. data/_sass/app/overrides.scss +43 -0
  69. data/_sass/app/search.scss +51 -0
  70. data/_sass/blog.scss +3 -0
  71. data/_sass/bootstrap/_alert.scss +51 -0
  72. data/_sass/bootstrap/_badge.scss +47 -0
  73. data/_sass/bootstrap/_breadcrumb.scss +41 -0
  74. data/_sass/bootstrap/_button-group.scss +172 -0
  75. data/_sass/bootstrap/_buttons.scss +75 -100
  76. data/_sass/bootstrap/_card.scss +301 -0
  77. data/_sass/bootstrap/_carousel.scss +161 -195
  78. data/_sass/bootstrap/_close.scss +15 -16
  79. data/_sass/bootstrap/_code.scss +15 -36
  80. data/_sass/bootstrap/_custom-forms.scss +433 -0
  81. data/_sass/bootstrap/_dropdown.scss +166 -0
  82. data/_sass/bootstrap/_forms.scss +213 -497
  83. data/_sass/bootstrap/_functions.scss +86 -0
  84. data/_sass/bootstrap/_grid.scss +29 -61
  85. data/_sass/bootstrap/_images.scss +42 -0
  86. data/_sass/bootstrap/_input-group.scss +173 -0
  87. data/_sass/bootstrap/_jumbotron.scss +9 -47
  88. data/_sass/bootstrap/_list-group.scss +64 -79
  89. data/_sass/bootstrap/_media.scss +3 -61
  90. data/_sass/bootstrap/_mixins.scss +19 -18
  91. data/_sass/bootstrap/_modal.scss +180 -0
  92. data/_sass/bootstrap/_nav.scss +118 -0
  93. data/_sass/bootstrap/_navbar.scss +192 -555
  94. data/_sass/bootstrap/_pagination.scss +59 -70
  95. data/_sass/bootstrap/_popover.scss +183 -0
  96. data/_sass/bootstrap/_print.scss +89 -49
  97. data/_sass/bootstrap/_progress.scss +34 -0
  98. data/_sass/bootstrap/_reboot.scss +483 -0
  99. data/_sass/bootstrap/_root.scss +19 -0
  100. data/_sass/bootstrap/_tables.scss +119 -166
  101. data/_sass/bootstrap/_tooltip.scss +93 -79
  102. data/_sass/bootstrap/_transitions.scss +22 -0
  103. data/_sass/bootstrap/_type.scss +66 -239
  104. data/_sass/bootstrap/_utilities.scss +15 -55
  105. data/_sass/bootstrap/_variables.scss +782 -727
  106. data/_sass/bootstrap/bootstrap-grid.scss +32 -0
  107. data/_sass/bootstrap/bootstrap-reboot.scss +12 -0
  108. data/_sass/bootstrap/bootstrap.scss +42 -0
  109. data/_sass/bootstrap/mixins/_alert.scss +13 -0
  110. data/_sass/bootstrap/mixins/_background-variant.scss +14 -5
  111. data/_sass/bootstrap/mixins/_badge.scss +12 -0
  112. data/_sass/bootstrap/mixins/_border-radius.scss +25 -8
  113. data/_sass/bootstrap/mixins/_box-shadow.scss +5 -0
  114. data/_sass/bootstrap/mixins/_breakpoints.scss +123 -0
  115. data/_sass/bootstrap/mixins/_buttons.scss +84 -40
  116. data/_sass/bootstrap/mixins/_caret.scss +66 -0
  117. data/_sass/bootstrap/mixins/_clearfix.scss +3 -18
  118. data/_sass/bootstrap/mixins/_float.scss +11 -0
  119. data/_sass/bootstrap/mixins/_forms.scss +125 -66
  120. data/_sass/bootstrap/mixins/_gradients.scss +17 -30
  121. data/_sass/bootstrap/mixins/_grid-framework.scss +52 -66
  122. data/_sass/bootstrap/mixins/_grid.scss +37 -107
  123. data/_sass/bootstrap/mixins/_hover.scss +37 -0
  124. data/_sass/bootstrap/mixins/_image.scss +18 -15
  125. data/_sass/bootstrap/mixins/_list-group.scss +10 -21
  126. data/_sass/bootstrap/mixins/_lists.scss +7 -0
  127. data/_sass/bootstrap/mixins/_nav-divider.scss +4 -4
  128. data/_sass/bootstrap/mixins/_pagination.scss +10 -12
  129. data/_sass/bootstrap/mixins/_reset-text.scss +7 -8
  130. data/_sass/bootstrap/mixins/_resize.scss +1 -1
  131. data/_sass/bootstrap/mixins/_screen-reader.scss +33 -0
  132. data/_sass/bootstrap/mixins/_size.scss +1 -5
  133. data/_sass/bootstrap/mixins/_table-row.scss +16 -14
  134. data/_sass/bootstrap/mixins/_text-emphasis.scss +7 -5
  135. data/_sass/bootstrap/mixins/_text-hide.scss +13 -0
  136. data/_sass/bootstrap/mixins/{_text-overflow.scss → _text-truncate.scss} +2 -2
  137. data/_sass/bootstrap/mixins/_transition.scss +13 -0
  138. data/_sass/bootstrap/mixins/_visibility.scss +7 -0
  139. data/_sass/bootstrap/utilities/_align.scss +8 -0
  140. data/_sass/bootstrap/utilities/_background.scss +19 -0
  141. data/_sass/bootstrap/utilities/_borders.scss +59 -0
  142. data/_sass/bootstrap/utilities/_clearfix.scss +3 -0
  143. data/_sass/bootstrap/utilities/_display.scss +38 -0
  144. data/_sass/bootstrap/{_responsive-embed.scss → utilities/_embed.scss} +26 -9
  145. data/_sass/bootstrap/utilities/_flex.scss +51 -0
  146. data/_sass/bootstrap/utilities/_float.scss +9 -0
  147. data/_sass/bootstrap/utilities/_position.scss +37 -0
  148. data/_sass/bootstrap/utilities/_screenreaders.scss +11 -0
  149. data/_sass/bootstrap/utilities/_shadows.scss +6 -0
  150. data/_sass/bootstrap/utilities/_sizing.scss +12 -0
  151. data/_sass/bootstrap/utilities/_spacing.scss +51 -0
  152. data/_sass/bootstrap/utilities/_text.scss +58 -0
  153. data/_sass/bootstrap/utilities/_visibility.scss +11 -0
  154. data/_sass/core.scss +15 -0
  155. data/_sass/core/blog.scss +244 -208
  156. data/_sass/core/bootstrap-multiselect.scss +1 -0
  157. data/_sass/core/breadcrumb.scss +16 -65
  158. data/_sass/core/carousel-header.scss +91 -0
  159. data/_sass/core/carousel-styles.scss +1 -0
  160. data/_sass/core/carousel.scss +202 -27
  161. data/_sass/core/cookies.scss +200 -0
  162. data/_sass/core/error.scss +190 -0
  163. data/_sass/core/featherlight.scss +158 -0
  164. data/_sass/core/flow.scss +94 -0
  165. data/_sass/core/fontello.scss +91 -0
  166. data/_sass/core/footer.scss +60 -120
  167. data/_sass/core/jumbotron.scss +105 -0
  168. data/_sass/core/navbar.scss +241 -0
  169. data/_sass/core/normalize.scss +358 -0
  170. data/_sass/core/syntax.scss +65 -62
  171. data/_sass/core/theme.scss +49 -531
  172. data/assets/css/main.scss +12 -18
  173. data/assets/fonts/fontello/fontello.eot +0 -0
  174. data/assets/fonts/fontello/fontello.svg +94 -0
  175. data/assets/fonts/fontello/fontello.ttf +0 -0
  176. data/assets/fonts/fontello/fontello.woff +0 -0
  177. data/assets/fonts/fontello/fontello.woff2 +0 -0
  178. data/assets/fonts/{lato-regular → lato}/LICENSE.txt +0 -0
  179. data/assets/fonts/{lato-regular → lato}/Lato-regular.eot +0 -0
  180. data/assets/fonts/{lato-regular → lato}/Lato-regular.svg +0 -0
  181. data/assets/fonts/{lato-regular → lato}/Lato-regular.ttf +0 -0
  182. data/assets/fonts/{lato-regular → lato}/Lato-regular.woff +0 -0
  183. data/assets/fonts/{lato-regular → lato}/Lato-regular.woff2 +0 -0
  184. data/assets/images/{Linaro-Logo_standard.svg → Linaro-Logo.svg} +0 -0
  185. data/assets/images/Linaro-Sprinkle.png +0 -0
  186. data/assets/images/Linaro-logo-white.png +0 -0
  187. data/assets/images/{avatar-placeholder.png → avatar-placeholder.jpg} +0 -0
  188. data/assets/images/breadcrumb-image.jpg +0 -0
  189. data/assets/images/clipboard.svg +3 -0
  190. data/{_sass/custom.scss → assets/js/app/custom.js} +0 -0
  191. data/assets/js/app/main.js +360 -96
  192. data/assets/js/bootstrap.js.map +1 -0
  193. data/assets/js/popper.min.js.map +1 -0
  194. data/assets/js/vendor/_popper.js +5 -0
  195. data/assets/js/vendor/bootstrap.js +6 -0
  196. data/assets/js/vendor/clipboard.min.js +7 -0
  197. data/assets/js/vendor/featherlight.js +641 -0
  198. data/assets/js/vendor/jquery.cookie.js +120 -0
  199. data/assets/js/vendor/jquery.ihavecookies.js +271 -0
  200. data/assets/js/vendor/jquery.js +10364 -0
  201. data/assets/js/vendor/lazysizes.js +698 -0
  202. data/assets/js/vendor/ls.unveilhooks.js +145 -0
  203. data/assets/js/vendor/owl.carousel.js +3907 -0
  204. data/assets/js/vendor/simple-jekyll-search.min.js +278 -0
  205. data/assets/json/posts.json +28 -0
  206. data/robots.txt +2 -2
  207. metadata +206 -234
  208. data/_data/authors.yml +0 -7
  209. data/_data/company.yml +0 -29
  210. data/_data/linaro.yml +0 -4
  211. data/_data/members_db.yaml +0 -115
  212. data/_data/news.yaml +0 -230
  213. data/_data/sub-nav-stacked.yml +0 -67
  214. data/_data/sub-nav.yml +0 -61
  215. data/_includes/_theme-includes/_blog/pagination.html +0 -39
  216. data/_includes/_theme-includes/_footer/footer.html +0 -85
  217. data/_includes/_theme-includes/_head/head.html +0 -32
  218. data/_includes/_theme-includes/_navigation/nav.html +0 -103
  219. data/_includes/_theme-includes/_navigation/stacked-nav.html +0 -20
  220. data/_includes/_theme-includes/_navigation/tabbed-nav.html +0 -35
  221. data/_includes/_theme-includes/_page-structure/breadcrumb.html +0 -101
  222. data/_includes/_theme-includes/_page-structure/home-hero-shape.html +0 -34
  223. data/_includes/_theme-includes/_page-structure/home-hero.html +0 -23
  224. data/_includes/_theme-includes/_page-structure/shape-divider.html +0 -12
  225. data/_includes/_theme-includes/_script-includes/css.html +0 -40
  226. data/_includes/_theme-includes/_script-includes/google-analytics/script.html +0 -10
  227. data/_includes/_theme-includes/_script-includes/gtm/gtm-noscript.html +0 -5
  228. data/_includes/_theme-includes/_script-includes/gtm/gtm-script.html +0 -9
  229. data/_includes/_theme-includes/_script-includes/javascript.html +0 -50
  230. data/_includes/_theme-includes/_third-party/disqus.html +0 -14
  231. data/_includes/_theme-includes/_third-party/mailchimp-homepage.html +0 -33
  232. data/_includes/_theme-includes/members.html +0 -63
  233. data/_includes/base.html +0 -14
  234. data/_includes/owl-carousel-homepage.html +0 -103
  235. data/_layouts/accessory-display-page.html +0 -88
  236. data/_layouts/blog-breadcrumbless.html +0 -49
  237. data/_layouts/blog.html +0 -56
  238. data/_layouts/contact.html +0 -10
  239. data/_layouts/default-empty.html +0 -11
  240. data/_layouts/default-no-sub-nav.html +0 -15
  241. data/_layouts/default-plain.html +0 -16
  242. data/_layouts/default-stacked-breadcrumb.html +0 -23
  243. data/_layouts/default-stacked.html +0 -22
  244. data/_layouts/empty.html +0 -10
  245. data/_layouts/fluid-no-sub-nav.html +0 -11
  246. data/_layouts/fluid.html +0 -15
  247. data/_layouts/home-shape.html +0 -18
  248. data/_layouts/home.html +0 -18
  249. data/_layouts/product-display-page.html +0 -262
  250. data/_layouts/project-display-page.html +0 -28
  251. data/_sass/_bootstrap-compass.scss +0 -9
  252. data/_sass/_bootstrap-mincer.scss +0 -19
  253. data/_sass/_bootstrap-sprockets.scss +0 -9
  254. data/_sass/_bootstrap.scss +0 -56
  255. data/_sass/bootstrap/_alerts.scss +0 -73
  256. data/_sass/bootstrap/_badges.scss +0 -68
  257. data/_sass/bootstrap/_breadcrumbs.scss +0 -28
  258. data/_sass/bootstrap/_button-groups.scss +0 -244
  259. data/_sass/bootstrap/_component-animations.scss +0 -37
  260. data/_sass/bootstrap/_dropdowns.scss +0 -216
  261. data/_sass/bootstrap/_glyphicons.scss +0 -307
  262. data/_sass/bootstrap/_input-groups.scss +0 -171
  263. data/_sass/bootstrap/_labels.scss +0 -66
  264. data/_sass/bootstrap/_modals.scss +0 -150
  265. data/_sass/bootstrap/_navs.scss +0 -242
  266. data/_sass/bootstrap/_normalize.scss +0 -424
  267. data/_sass/bootstrap/_pager.scss +0 -54
  268. data/_sass/bootstrap/_panels.scss +0 -271
  269. data/_sass/bootstrap/_popovers.scss +0 -131
  270. data/_sass/bootstrap/_progress-bars.scss +0 -87
  271. data/_sass/bootstrap/_responsive-utilities.scss +0 -179
  272. data/_sass/bootstrap/_scaffolding.scss +0 -161
  273. data/_sass/bootstrap/_theme.scss +0 -291
  274. data/_sass/bootstrap/_thumbnails.scss +0 -38
  275. data/_sass/bootstrap/_wells.scss +0 -29
  276. data/_sass/bootstrap/mixins/_alerts.scss +0 -14
  277. data/_sass/bootstrap/mixins/_center-block.scss +0 -7
  278. data/_sass/bootstrap/mixins/_hide-text.scss +0 -21
  279. data/_sass/bootstrap/mixins/_labels.scss +0 -12
  280. data/_sass/bootstrap/mixins/_nav-vertical-align.scss +0 -9
  281. data/_sass/bootstrap/mixins/_opacity.scss +0 -8
  282. data/_sass/bootstrap/mixins/_panels.scss +0 -24
  283. data/_sass/bootstrap/mixins/_progress-bar.scss +0 -10
  284. data/_sass/bootstrap/mixins/_reset-filter.scss +0 -8
  285. data/_sass/bootstrap/mixins/_responsive-visibility.scss +0 -21
  286. data/_sass/bootstrap/mixins/_tab-focus.scss +0 -9
  287. data/_sass/bootstrap/mixins/_vendor-prefixes.scss +0 -222
  288. data/_sass/core/animations.scss +0 -125
  289. data/_sass/core/cookieconsent.scss +0 -42
  290. data/_sass/core/custom.scss +0 -3
  291. data/_sass/core/fa.scss +0 -2336
  292. data/_sass/core/flipclock.scss +0 -435
  293. data/_sass/core/font-awesome.min.scss +0 -4
  294. data/_sass/core/fonts.scss +0 -7
  295. data/_sass/core/homepage.scss +0 -40
  296. data/_sass/core/lightbox.scss +0 -213
  297. data/_sass/core/nav.scss +0 -657
  298. data/_sass/core/openhours.scss +0 -51
  299. data/_sass/core/products.scss +0 -221
  300. data/_sass/core/projects.scss +0 -32
  301. data/_sass/core/social-media-icons.scss +0 -71
  302. data/_sass/core/tables.scss +0 -125
  303. data/assets/css/main-blog.scss +0 -19
  304. data/assets/css/main-home.scss +0 -16
  305. data/assets/css/main-lightbox.scss +0 -22
  306. data/assets/css/main-openhours.scss +0 -19
  307. data/assets/css/main-products.scss +0 -20
  308. data/assets/css/main-projects.scss +0 -20
  309. data/assets/fonts/fontawesome-webfont.eot +0 -0
  310. data/assets/fonts/fontawesome-webfont.svg +0 -2671
  311. data/assets/fonts/fontawesome-webfont.ttf +0 -0
  312. data/assets/fonts/fontawesome-webfont.woff +0 -0
  313. data/assets/fonts/fontawesome-webfont.woff2 +0 -0
  314. data/assets/fonts/fontello.eot +0 -0
  315. data/assets/fonts/fontello.svg +0 -44
  316. data/assets/fonts/glyphicons-halflings-regular.ttf +0 -0
  317. data/assets/fonts/glyphicons-halflings-regular.woff +0 -0
  318. data/assets/fonts/glyphicons-halflings-regular.woff2 +0 -0
  319. data/assets/images/96boards-Logo.svg +0 -1
  320. data/assets/images/Linaro-Logo_light.png +0 -0
  321. data/assets/images/Linaro-Sprinkle.svg +0 -13
  322. data/assets/images/background-image.jpg +0 -0
  323. data/assets/images/banner.jpg +0 -0
  324. data/assets/images/css3.png +0 -0
  325. data/assets/images/html5.png +0 -0
  326. data/assets/images/jekyll.svg +0 -1
  327. data/assets/images/js.jpeg +0 -0
  328. data/assets/images/placeholder.png +0 -0
  329. data/assets/js/app/search.js +0 -41
  330. data/assets/js/app/sticky.js +0 -76
  331. data/assets/js/app/tables.js +0 -8
  332. data/assets/js/vendor/bootstrap.min.js +0 -7
  333. data/assets/js/vendor/cognito-forms.js +0 -150
  334. data/assets/js/vendor/cookieconsent.min.js +0 -8
  335. data/assets/js/vendor/flipclock.min.js +0 -35
  336. data/assets/js/vendor/jquery.min.js +0 -4
  337. data/assets/js/vendor/lazysizes.min.js +0 -2
  338. data/assets/js/vendor/lightbox.min.js +0 -14
  339. data/assets/js/vendor/mc-validate.js +0 -14
  340. data/assets/js/vendor/owl.carousel.min.js +0 -27
@@ -0,0 +1,73 @@
1
+ <div class="col col-12 blocks {% if include.object.style %}{{include.object.style}}{% endif %}">
2
+ <!-- <div class="row blocks"> -->
3
+ <div class="row justify-content-lg-center">
4
+ {% assign block_width = 3 %}
5
+ {% if include.object.item_width %}
6
+ {% assign block_width = include.object.item_width %}
7
+ {% endif %}
8
+ {% for block in include.object.block_section_content.blocks %}
9
+ {% if block.modal_content %}
10
+ <!-- Modal -->
11
+ <div class="modal fade" id="blockModal-{{forloop.index}}-{{block.title | slugify}}" tabindex="-1" role="dialog" aria-labelledby="blockModalLabel-{{forloop.index}}-{{block.title | slugify}}"
12
+ aria-hidden="true">
13
+ <div class="modal-dialog modal-dialog-centered modal-lg" role="document">
14
+ <div class="modal-content">
15
+ <div class="modal-header">
16
+ <h5 class="modal-title" id="blockModalLabel-{{forloop.index}}-{{block.title | slugify}}">{{block.title}}</h5>
17
+ <button type="button" class="close" data-dismiss="modal" aria-label="Close">
18
+ <span aria-hidden="true">&times;</span>
19
+ </button>
20
+ </div>
21
+ <div class="modal-body text-left">
22
+ {{block.modal_content | markdownify}}
23
+ </div>
24
+ <div class="modal-footer">
25
+ <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
26
+ </div>
27
+ </div>
28
+ </div>
29
+ </div>
30
+ {% endif %}
31
+ <div class="col col-12 col-sm-6 col-lg-{{block_width}} block_column">
32
+ <div class="card h-100 {% if block.background_image %}background_image text-white{% endif %} {% if block.style %}{{block.style}}{% endif %}">
33
+ {% if block.image %}
34
+ {% assign block_image = block.image %}
35
+ {% capture block_image_alt %}{{block.title}} image {% endcapture %}
36
+ {% picture card_block_image {{block_image}} --alt {{block_image_alt}} %}
37
+ {% endif %}
38
+ <div class="card-body {% if block.background_image %}card-img-overlay{% else %}card-body{% endif %} {% if block.content_style %}{{block.content_style}}{% endif %}">
39
+ {% if block.title %}
40
+ <h5 class="card-title">{{block.title}}</h5>
41
+ {% endif %}
42
+ {% if block.sub_title %}
43
+ <h6 class="card-subtitle mb-2 text-muted">{{block.sub_title}}</h6>
44
+ {% endif %}
45
+ {% if block.description %}
46
+ <p class="card-text">
47
+ {{block.description | markdownify }}
48
+ </p>
49
+ {% endif %}
50
+ {% if block.modal_content %}
51
+ <!-- Button trigger modal -->
52
+ <button type="button" class="btn btn-primary" data-toggle="modal" data-target="#blockModal-{{forloop.index}}-{{block.title | slugify}}">
53
+ More Info
54
+ </button>
55
+ {% else %}
56
+ {% if block.buttons %}
57
+ {% for button in block.buttons %}
58
+ {% include flow/button.html object=button %}
59
+ {% endfor %}
60
+ {% endif %}
61
+ {% endif %}
62
+ </div>
63
+ {% if block.footer_text %}
64
+ <div class="card-footer">
65
+ <small class="text-muted">{{block.footer_text}}</small>
66
+ </div>
67
+ {% endif %}
68
+ </div>
69
+ </div>
70
+ {% endfor %}
71
+ </div>
72
+ <!-- </div> -->
73
+ </div>
@@ -0,0 +1,6 @@
1
+ <a href="{{include.object.url}}" class="btn {% if include.object.style %}{{include.object.style}}{% else %}btn-primary{% endif %}">
2
+ {{include.object.title}}
3
+ {% if include.object.icon %}
4
+ <i class="{{include.object.icon}}" aria-hidden="true"></i>
5
+ {% endif %}
6
+ </a>
@@ -0,0 +1,5 @@
1
+ <div class="col col-12 buttons px-0 {% if include.style %}{{include.style}}{% endif %}">
2
+ {% for button in include.object %}
3
+ {% include flow/button.html object=button %}
4
+ {% endfor %}
5
+ </div>
@@ -0,0 +1,8 @@
1
+ <div class="row" id="call_to_action_banner">
2
+ {% if include.object.image %}
3
+ {% picture backgroundImage {{include.object.image.path}} alt=include.object.image.alt %}
4
+ {% endif %}
5
+ <div class="container">
6
+ {% if include.object.title %}<h1>{{include.object.title}}</h1>{% endif %}
7
+ </div>
8
+ </div>
@@ -0,0 +1,21 @@
1
+ <div class="col col-12 blocks {% if include.object.style %}{{include.object.style}}{% endif %}">
2
+ <div id="collapseSection" role="tablist" aria-multiselectable="true">
3
+ {% for panel in include.object.panels %}
4
+ <div class="card mb-3 border-0">
5
+ <div class="card-header border" role="tab" id="section{{forloop.index}}Header">
6
+ <h2 class="mb-0">
7
+ <button class="btn btn-link btn-block text-left text-dark {% unless forloop.first %}collapsed{% endunless %}" type="button" data-toggle="collapse" data-target="#section{{forloop.index}}Content"
8
+ aria-expanded="true" aria-controls="section{{forloop.index}}Content">
9
+ {{panel.title}}
10
+ </button>
11
+ </h2>
12
+ </div>
13
+ <div id="section{{forloop.index}}Content" class="mt-3 collapse {% if forloop.first %}show{% endif %}" role="tabpanel" aria-labelledby="section{{forloop.index}}Header">
14
+ <div class="card-body border">
15
+ {{panel.content | markdownify}}
16
+ </div>
17
+ </div>
18
+ </div>
19
+ {% endfor %}
20
+ </div>
21
+ </div>
@@ -0,0 +1,11 @@
1
+ <div class="row {% if include.object.style %}{{include.object.style}}{% endif %}
2
+ {% if include.object.background_image %}background_image_row text-white{% endif %}">
3
+ {% if include.object.background_image %}
4
+ {% assign row_background_image = include.object.background_image %}
5
+ {% capture row_background_image_alt %}background image{% endcapture %}
6
+ {% picture header_image {{row_background_image}} --alt {{block_image_alt}} %}
7
+ {% endif %}
8
+ <div class="container">
9
+ {% include flow/flow_inner.html sections=include.object.sections %}
10
+ </div>
11
+ </div>
@@ -0,0 +1,41 @@
1
+ <div class="col col-12 feature_block">
2
+ <div class="row {% if include.object.style %}{{include.object.style}}{% endif %}">
3
+ <div class="col col-12 col-md-7 block__image {% if include.object.feature_block_content.position == "right" %}order-sm-2{% endif %}">
4
+ {% if include.object.feature_block_content.type == "image" %}
5
+ {% assign image_path = include.object.feature_block_content.image_content_path %}
6
+ {% capture image_alt %}
7
+ {% if include.object.feature_block_content.title %}
8
+ {{include.object.feature_block_content.title}} featured image
9
+ {% else %}
10
+ {{page.title}} feature block image
11
+ {% endif %}
12
+ {% endcapture %}
13
+ {% picture feature_block_image {{image_path}} --alt {{image_alt}} %}
14
+ {% elsif include.object.feature_block_content.type == "slider" %}
15
+ {% include flow/slider.html object=include.object.feature_block_content.slider_content %}
16
+ {% elsif include.object.feature_block_content.type == "youtube_video" %}
17
+ {% include youtube.html url=include.object.feature_block_content.youtube.url title=include.object.feature_block_content.title poster_image=include.object.feature_block_content.youtube.poster_image %}
18
+ {% else %}
19
+ <p>Please verify the feature_block content "type" is correct</p>
20
+ {% endif %}
21
+ </div>
22
+ <div class="col col-12 col-md-5 block__text {% if include.object.feature_block_content.position == "right" %}order-sm-1{% endif %}">
23
+ {% if include.object.feature_block_content.title %}
24
+ <h2>{{include.object.feature_block_content.title}}</h2>
25
+ {% endif %}
26
+ {% if include.object.feature_block_content.highlight-text %}
27
+ <div class="font-weight-bold">
28
+ {{include.object.feature_block_content.highlight-text | markdownify }}
29
+ </div>
30
+ {% endif %}
31
+ {% if include.object.feature_block_content.text == "page_content" %}
32
+ {{page.content | markdownify }}
33
+ {% else %}
34
+ {{include.object.feature_block_content.text | markdownify}}
35
+ {% endif %}
36
+ {% if include.object.feature_block_content.buttons %}
37
+ {% include flow/buttons.html object=include.object.feature_block_content.buttons %}
38
+ {% endif %}
39
+ </div>
40
+ </div>
41
+ </div>
@@ -0,0 +1,29 @@
1
+ {% for section in include.sections %}
2
+ {% if section.format == "title" %}
3
+ {% include flow/title.html object=section %}
4
+ {% elsif section.format == "members" %}
5
+ {% include flow/members-section.html object=section %}
6
+ {% elsif section.format == "youtube" %}
7
+ <div class="col col-12 youtube_embed">
8
+ {% include youtube.html url=section.url title=section.title poster_image=section.poster_image %}
9
+ </div>
10
+ {% elsif section.format == "tabs" %}
11
+ {% include flow/tabbed_content.html object=section %}
12
+ {% elsif section.format == "collapse" %}
13
+ {% include flow/collapse.html object=section %}
14
+ {% elsif section.format == "block" %}
15
+ {% include flow/blocks.html object=section %}
16
+ {% elsif section.format == "image" %}
17
+ {% include flow/image.html object=section %}
18
+ {% elsif section.format == "buttons" %}
19
+ {% include flow/buttons.html object=section.buttons_content style=section.style %}
20
+ {% elsif section.format == "text" %}
21
+ {% include flow/text.html object=section %}
22
+ {% elsif section.format == "custom_include" %}
23
+ {% include {{section.source}} object=section %}
24
+ {% elsif section.format == "slider" %}
25
+ {% include flow/slider_row.html object=section.slider_content %}
26
+ {% elsif section.format == "feature_block" %}
27
+ {% include flow/feature_block.html object=section %}
28
+ {% endif %}
29
+ {% endfor %}
@@ -0,0 +1,5 @@
1
+ <div class="row {% if include.object.style %}{{include.object.style}}{% endif %}
2
+ {% if include.object.background_image %}background_image_row overlay{% endif %}"
3
+ {% if include.object.background_image %}style="background-image: url({{include.object.background_image}}), linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));"{% endif %}>
4
+ {% include flow/flow_inner.html sections=include.object.sections %}
5
+ </div>
@@ -0,0 +1,12 @@
1
+ <div class="col col-12 content_image {% if include.object.style %}{{include.object.style}}{% endif %}">
2
+ {% if include.object.size %}
3
+ <div class="row">
4
+ {% assign offset = 12 | minus: include.object.size | divided_by: 2 %}
5
+ <div class="col col-12 col-sm-{{include.object.size}} offset-sm-{{offset}} content_image__innner_col">
6
+ {% picture content_image {{include.object.path}} --alt {{include.object.alt}} %}
7
+ </div>
8
+ </div>
9
+ {% else %}
10
+ {% picture content_image {{include.object.path}} --alt {{include.object.alt}} %}
11
+ {% endif %}
12
+ </div>
@@ -0,0 +1,24 @@
1
+ {% if include.object.members_content.members_content.source %}
2
+ {% assign members = site.data[include.object.members_content.source] %}
3
+ {% else %}
4
+ {% assign members = include.object.members_content.items %}
5
+ {% endif %}
6
+ <div class="members_section {% if include.object.style %}{{include.object.style}}{% endif %}">
7
+ {% for member in members %}
8
+ {% if member.url %}<a href="{{member.url}}">{% endif %}
9
+ {% if member.image.path contains "http" %}
10
+ <div class="col-xs-6 col-sm-{{include.object.members_content.item_width}}">
11
+ <img class="lazyload img-responsive" alt="{{member.image.alt}}"
12
+ src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="
13
+ data-src="{{member.image.path}}"/>
14
+ </div>
15
+ {% else %}
16
+ {% assign image_path = member.image.path %}
17
+ {% assign full_path = member.image.path %}
18
+ <div class="col-xs-6 col-sm-{{include.object.members_content.item_width}}">
19
+ <!--TODO picture-->
20
+ </div>
21
+ {% endif %}
22
+ {% if member.url %}</a>{% endif %}
23
+ {% endfor %}
24
+ </div>
@@ -0,0 +1,25 @@
1
+ <div class="owl-carousel slider_block owl-theme" data-size="{{include.object.items | size }}"
2
+ {% if include.object.xs_items %}data-xs-number="{{include.object.xs_items}}"{% endif %}
3
+ {% if include.object.sm_items %}data-sm-number="{{include.object.sm_items}}"{% endif %}
4
+ {% if include.object.md_items %}data-md-number="{{include.object.md_items}}"{% endif %}
5
+ {% if include.object.lg_items %}data-lg-number="{{include.object.lg_items}}"{% endif %}
6
+ {% if include.object.dots %}data-dots="true"{% endif %}
7
+ {% if include.object.nav %}data-nav="true"{% endif %}
8
+ {% if include.object.seconds_per_slide %}data-seconds-per-slide="{{include.object.seconds_per_slide}}"{% endif %}>
9
+ {% if include.object.items %}
10
+ {% assign carousel_items = include.object.items %}
11
+ {% elsif include.object.data_source %}
12
+ {% assign carousel_items = site.data[include.object.source] %}
13
+ {% endif %}
14
+ {% for item in carousel_items %}
15
+ {% if include.object.lightbox_enabled %}<a data-featherlight="{{item.image}}">{% endif %}
16
+ <div class="item">
17
+ {% if item.image %}
18
+ {% capture image_path %}{{item.image}}{% endcapture %}
19
+ {% capture image_alt %}Slider block image {{forloop.index}}{% endcapture %}
20
+ {% picture slider_block_image {{image_path}} --alt {{image_alt}} %}
21
+ {% endif %}
22
+ </div>
23
+ {% if include.object.lightbox_enabled %}</a>{% endif %}
24
+ {% endfor %}
25
+ </div>
@@ -0,0 +1,3 @@
1
+ <div class="col col-12 slider_row">
2
+ {% include flow/slider.html object=include.object %}
3
+ </div>
@@ -0,0 +1,21 @@
1
+ <div class="col col-12 tabbed_content {% if include.object.style %}{{include.object.style}}{% endif %}">
2
+ <nav>
3
+ <div class="nav nav-tabs" id="{{page.title | slugify}}{{forloop.index}}" role="tablist">
4
+ {% for tab in include.object.tabs %}
5
+ <a class="nav-item nav-link {% if forloop.first %}active{% endif %}" href="#{{tab.title | slugify}}{{forloop.index}}" id="{{tab.title | slugify}}{{forloop.index}}-tab"
6
+ data-toggle="tab" href="#{{tab.title | slugify}}{{forloop.index}}" role="tab"
7
+ aria-controls="{{tab.title | slugify}}{{forloop.index}}" aria-selected="true">
8
+ {{tab.title}}
9
+ </a>
10
+ {% endfor %}
11
+ </div>
12
+ </nav>
13
+ <div class="tab-content" id="nav-tabContent">
14
+ {% for tab in include.object.tabs %}
15
+ <div class="tab-pane fade {% if forloop.first %}show active{% endif %}" id="{{tab.title | slugify}}{{forloop.index}}"
16
+ role="tabpanel" aria-labelledby="{{tab.title | slugify}}{{forloop.index}}-tab">
17
+ {{tab.content | markdownify }}
18
+ </div>
19
+ {% endfor %}
20
+ </div>
21
+ </div>
@@ -0,0 +1,3 @@
1
+ <div class="col col-12 text_block {% if include.object.style %}{{include.object.style}}{% endif %}">
2
+ {{include.object.text_content.text | markdownify }}
3
+ </div>
@@ -0,0 +1,3 @@
1
+ <div class="col col-12 title {% if include.object.style %}{{include.object.style}}{% endif %}">
2
+ <{{include.object.title_content.size}} {% if include.object.title_content.style %}class="{{include.object.title_content.style}}"{% endif %}>{{include.object.title_content.text}}</{{include.object.title_content.size}}>
3
+ </div>
@@ -0,0 +1,29 @@
1
+ <footer>
2
+ <div class="container-fluid">
3
+ <div class="row strip p-t-20 p-b-20">
4
+ <div class="container">
5
+ <div class="row">
6
+ <div class="col col-12 text-center">
7
+ {% include components/github_edit.html pagePath=page.path pagePermalink=page.permalink %}
8
+ </div>
9
+ <div class="col col-12 text-white text-center">
10
+ <span class="copyright">Copyright &copy; {{ 'now' | date: "%Y" }} {{site.data.footer.copyright_text}}</span>
11
+ {% for link in site.data.footer.company_links %}
12
+ <span class="coloured-bp">&bull;</span>
13
+ <a href="{{link.url}}">{{link.name}}</a>
14
+ {% endfor %}
15
+ {% include_cached social_media_icons.html %}
16
+ </div>
17
+ {% if site.data.footer.footer_brand %}
18
+ <div class="col col-12 text-white text-center m-t-10">
19
+ <a href="{{site.url}}/">
20
+ <img src="{{site.data.footer.footer_brand.logo}}" class="footer-logo mx-auto"
21
+ alt="{{site.name}} Logo" />
22
+ </a>
23
+ </div>
24
+ {% endif %}
25
+ </div>
26
+ </div>
27
+ </div>
28
+ </div>
29
+ </footer>
@@ -1,6 +1,17 @@
1
- {% if include.lightbox_disabled %}
2
- ![{{include.alt}}](data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==){:class="img-responsive lazyload {% if include.class %}{{include.class}}{% endif %}" data-src="{% asset_path '{{include.name}}' %}"}
1
+ {% if include.alt %}
2
+ {% capture image_alt %}{{include.alt}}{% endcapture %}
3
3
  {% else %}
4
- [![{{include.alt}}](data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==){:class="img-responsive lazyload {% if include.class %}{{include.class}}{% endif %}" data-src="{% asset_path '{{include.name}}' %}"}]({% if include.url %}{{include.url}}{% elsif include.lightbox_disabled %}{% else %}{% asset_path "{{include.name}}" %}{% endif %}){% if include.lightbox_disabled %}{% else %}{% if include.url %}{% else %}{: data-lightbox="{{include.name}}" data-title="{{include.alt}}"}{% endif %}{% endif %}
4
+ {% capture image_alt %}{{page.title}} content image{% endcapture %}
5
+ {% endif %}
6
+ {% if include.class %}
7
+ {% capture image_class %}{{include.class}}{% endcapture %}
8
+ {% else %}
9
+ {% capture image_class %}{% endcapture %}
10
+ {% endif %}
11
+ {% if include.url %}
12
+ <a href="{{include.url}}" target="_blank">
13
+ {% endif %}
14
+ {% picture blog_image {{include.path}} class="{{image_class}}" --alt {{image_alt}} --class {{image_class}} %}
15
+ {% if include.url %}
16
+ </a>
5
17
  {% endif %}
6
-
@@ -0,0 +1,4 @@
1
+ {% javascript_asset_tag app %}
2
+ - assets/js/app/main.js
3
+ - assets/js/app/custom.js
4
+ {% endjavascript_asset_tag %}
@@ -0,0 +1,13 @@
1
+ {% javascript_asset_tag vendor %}
2
+ - /assets/js/vendor/jquery.js
3
+ - /assets/js/vendor/_popper.js
4
+ - /assets/js/vendor/bootstrap.js
5
+ - /assets/js/vendor/jquery.cookie.js
6
+ - /assets/js/vendor/jquery.ihavecookies.js
7
+ - /assets/js/vendor/lazysizes.js
8
+ - /assets/js/vendor/owl.carousel.js
9
+ - /assets/js/vendor/ls.unveilhooks.js
10
+ - /assets/js/vendor/featherlight.js
11
+ - /assets/js/vendor/clipboard.min.js
12
+ - /assets/js/vendor/simple-jekyll-search.min.js
13
+ {% endjavascript_asset_tag %}
@@ -1,11 +1,11 @@
1
1
  {% if include.media_url contains "https://youtu.be/" %}
2
2
  {% assign media_url = include.media_url | replace: 'https://youtu.be/','https://youtube.com/embed/'%}
3
- {% elsif include.media_url contains "https://www.youtube.com/watch?v="%}
3
+ {% elsif include.media_url contains "https://www.youtube.com/watch?v=" %}
4
4
  {% assign media_url = include.media_url | replace: 'https://www.youtube.com/watch?v=','https://youtube.com/embed/'%}
5
5
  {% else %}
6
- {% assign media_url = include.media_url%}
6
+ {% assign media_url = include.media_url %}
7
7
  {% endif %}
8
8
 
9
- <div class="embed-responsive embed-responsive-16by9">
10
- <iframe src="" allowFullScreen="allowFullScreen" frameBorder="0" class="lazyload embed-responsive-item" data-src="{{media_url}}"></iframe>
9
+ <div class="embed-responsive embed-responsive-16by9" {% if include.class %}{{include.class}}{% endif %}>
10
+ <iframe src='about:blank' allowFullScreen="allowFullScreen" frameBorder="0" class="lazyload embed-responsive-item" data-src="{{media_url}}"></iframe>
11
11
  </div>
@@ -0,0 +1,3 @@
1
+ <a class="navbar-brand" href="/">
2
+ <img src="/assets/images/Linaro-Logo.svg" alt="Linaro Logo" width="30" height="30" class="d-inline-block align-top">
3
+ </a>
@@ -0,0 +1,133 @@
1
+ {% if site.data.nav.universal_nav %}
2
+ {% include_cached nav/universal_nav.html %}
3
+ {% endif %}
4
+ {% assign page_base = include.pageUrl | split: "/" %}
5
+ {% assign current_page_url = include.pageUrl | replace: "index.html", "" %}
6
+ {% if current_page_url == "/" %}
7
+ {% assign current_page_url = "do-no-set"%}
8
+ {% endif %}
9
+ <nav class="navbar navbar-expand-md navbar-light bg-light" id="main-navigation">
10
+ <div class="container">
11
+ {% include nav/brand.html %}
12
+ <button class="navbar-toggler collapsed" type="button" data-toggle="collapse" data-target="#navbar-collapse"
13
+ aria-controls="navbar-collapse " aria-expanded="false" aria-label="Toggle navigation">
14
+ <span class="icon-bar"></span>
15
+ <span class="icon-bar"></span>
16
+ <span class="icon-bar"></span>
17
+ <span class="sr-only">Toggle navigation</span>
18
+ </button>
19
+ <div class="collapse navbar-collapse" id="navbar-collapse">
20
+ <ul class="navbar-nav ml-auto">
21
+ {% for section in site.data.nav.pages %}
22
+ {% if section.options %}
23
+ {% assign active = "" %}
24
+ {% if section.active_paths %}
25
+ {% for active_path in section.active_paths %}
26
+ {% if current_page_url contains active_path %}
27
+ {% assign active = "active" %}
28
+ {% break %}
29
+ {% endif %}
30
+ {% endfor %}
31
+ {% endif %}
32
+ {% for menu-item in section.options %}
33
+ {% if menu-item.options %}
34
+ {% for sub-item in menu-item.options %}
35
+ {% if current_page_url contains sub-item.url or sub-item.url == current_page_url %}
36
+ {% unless sub-item.url contains "http" %}
37
+ {% assign active = "active" %}
38
+ {% break %}
39
+ {% endunless %}
40
+ {% endif %}
41
+ {% endfor %}
42
+ {% elsif current_page_url contains menu-item.url or menu-item.url == current_page_url %}
43
+ {% unless menu-item.url contains "http" %}
44
+ {% assign active = "active" %}
45
+ {% break %}
46
+ {% endunless %}
47
+ {% endif %}
48
+ {% endfor %}
49
+
50
+ <li class="nav-item dropdown {{active}}">
51
+ <a class="nav-link dropdown-toggle" href="#" id="dropdown-{{forloop.index}}" role="button" data-toggle="dropdown"
52
+ aria-haspopup="true" aria-expanded="false">
53
+ {{section.title}}
54
+ </a>
55
+ <ul class="dropdown-menu" aria-labelledby="dropdown-{{forloop.index}}">
56
+ {% for menu_option in section.options %}
57
+ {% if menu_option.options %}
58
+ <li class="dropdown-item dropdown {% if section.left %} pull-left {% endif %}">
59
+ <a href="#" id="dropdown1-{{forloop.index}}" data-toggle="dropdown" aria-haspopup="true"
60
+ aria-expanded="false" class="dropdown-toggle">
61
+ {{menu_option.text}}
62
+ </a>
63
+ <ul class="dropdown-menu" aria-labelledby="dropdown1-{{forloop.index}}">
64
+ {% for sub-option in menu_option.options %}
65
+ {% if sub-option.options %}
66
+ <li class="dropdown-item dropdown">
67
+ <a href="#" class="dropdown-toggle" id="dropdown1-1-{{forloop.index}}"
68
+ data-toggle="dropdown" aria-haspopup="true"
69
+ aria-expanded="false">
70
+ {{sub-option.text}}
71
+ </a>
72
+ <ul class="dropdown-menu" aria-labelledby="dropdown1-1-{{forloop.index}}">
73
+ {% for sub-sub-option in sub-option.options %}
74
+ <li >
75
+ <a href="{{sub-sub-option.url}}">{{sub-sub-option.text}}</a>
76
+ </li>
77
+ {% endfor %}
78
+ </ul>
79
+ </li>
80
+ {% else %}
81
+ <li><a href="{{sub-option.url}}">{{sub-option.text}}</a></li>
82
+ {% endif %}
83
+ {% endfor %}
84
+ </ul>
85
+ </li>
86
+ {% else %}
87
+ <li>
88
+ <a href="{{menu_option.url}}">
89
+ {{menu_option.text}}
90
+ {% if menu_option.external %}<i class="glyphicon glyphicon-new-window pull-right"></i>{% endif %}
91
+ </a>
92
+ </li>
93
+ {% endif %}
94
+ {% endfor %}
95
+ </ul>
96
+ </li>
97
+ {% else %}
98
+ {% assign active = "" %}
99
+ {% if section.url == current_page_url or current_page_url contains section.url %}
100
+ {% assign active = "active" %}
101
+ {% elsif section.active_paths %}
102
+ {% for active_path in section.active_paths %}
103
+ {% if current_page_url contains active_path %}
104
+ {% assign active = "active" %}
105
+ {% break %}
106
+ {% endif %}
107
+ {% endfor %}
108
+ {% endif %}
109
+ <li class="nav-item {{active}}">
110
+ <a class="nav-link" href="{{section.url}}">{{section.title}} {% if active == "active" %}<span class="sr-only">(current)</span>{% endif %}</a>
111
+ </li>
112
+ {% endif %}
113
+ {% endfor %}
114
+ {% if site.data.nav.search.enabled %}
115
+ <li class="nav-item dropdown search">
116
+ <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" aria-label="Search dropdown" data-toggle="dropdown"
117
+ aria-haspopup="true" aria-expanded="false">
118
+ <i class="icon-search"></i>
119
+ </a>
120
+ <div class="dropdown-menu" aria-labelledby="navbarDropdown">
121
+ <form class="form-inline flex-nowrap" action="/search/" method="GET" target="_self" id="search_form">
122
+ <input class="form-control border-0" name="q" type="search" placeholder="Search..." aria-label="Search">
123
+ <button class="btn btn-outline-primary border-0" type="submit">Search</button>
124
+ <input type="hidden" name="fields.label" value="{{ site.search_label }}">
125
+ </form>
126
+ </div>
127
+ </li>
128
+ {% endif %}
129
+ </ul>
130
+
131
+ </div>
132
+ </div>
133
+ </nav>