linaro-jekyll-theme 0.3.3 → 0.3.4

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 (51) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/_data/authors.yml +7 -0
  4. data/_data/company.yml +2 -1
  5. data/_data/sub-nav.yml +15 -0
  6. data/_includes/_theme-includes/_head/head.html +1 -1
  7. data/_includes/_theme-includes/_navigation/tabbed-nav.html +32 -0
  8. data/_includes/_theme-includes/_page-structure/home-hero.html +6 -6
  9. data/_includes/_theme-includes/_script-includes/javascript.html +14 -2
  10. data/{assets/vendor.js → _layouts/about.html} +0 -0
  11. data/_layouts/blog.html +3 -2
  12. data/_layouts/default-no-sub-nav.html +2 -2
  13. data/_layouts/default.html +3 -3
  14. data/_layouts/fluid-no-sub-nav.html +11 -0
  15. data/_layouts/fluid.html +15 -0
  16. data/_layouts/home.html +2 -2
  17. data/_layouts/post.html +130 -144
  18. data/_sass/core/nav.scss +5 -1
  19. data/_sass/core/theme.scss +9 -6
  20. data/assets/css/blog-pages.scss +1 -2
  21. data/assets/css/main.scss +0 -1
  22. data/assets/images/avatar-placeholder.png +0 -0
  23. data/assets/images/css3.png +0 -0
  24. data/assets/images/favicon.ico +0 -0
  25. data/assets/images/favicon.png +0 -0
  26. data/assets/images/html5.png +0 -0
  27. data/assets/images/jekyll.svg +1 -0
  28. data/assets/images/js.jpeg +0 -0
  29. data/assets/js/app/{96boards.js → main.js} +0 -29
  30. data/assets/js/app/{search-page.js → search.js} +0 -0
  31. data/assets/js/app/{sticky-navbar.js → sticky.js} +0 -0
  32. data/assets/js/vendor/flipclock.min.js +33 -0
  33. data/assets/js/vendor/lightbox.min.js +14 -0
  34. metadata +19 -23
  35. data/_includes/_theme-includes/_footer/backup.html +0 -71
  36. data/_includes/_theme-includes/_head/ascii-art.html +0 -11
  37. data/_includes/_theme-includes/_navigation/_sub-navigation/tabbed-nav.html +0 -26
  38. data/_includes/_theme-includes/_page-structure/old-breadcrumb.html +0 -139
  39. data/_sass/blog-pages.scss +0 -5
  40. data/assets/js/app.js +0 -2
  41. data/assets/js/app/app.js +0 -5
  42. data/assets/js/app/mixitup.js +0 -23
  43. data/assets/js/sticky-navbar.js +0 -65
  44. data/assets/js/vendor.js +0 -7
  45. data/assets/js/vendor/filtrify.js +0 -11
  46. data/assets/js/vendor/lightbox.js +0 -519
  47. data/assets/js/vendor/loadCSS.js +0 -35
  48. data/assets/js/vendor/loadCSS.min.js +0 -2
  49. data/assets/js/vendor/picturefill.min.js +0 -5
  50. data/assets/js/vendor/shuffle.js +0 -2004
  51. data/assets/js/vendor/vendor.js +0 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1b4eb0f545af10eadfc631729f26bab57ad2a83e
4
- data.tar.gz: 8d9e0cd9b294dfa73251f779bb0411cf43abf0eb
3
+ metadata.gz: 3bb405f56ce07b8812c9473ba655b2a06b031d00
4
+ data.tar.gz: e9e2ec95a767a102e1f47644be8171f374eef987
5
5
  SHA512:
6
- metadata.gz: 69689afb2898a7a6b75f3f8765b4a8b0b61a7eaf02b20b3841d9339b4534b4e1def56dd51bd9f1ef8747676c37c7ae38d90f151e960f9365341c3a619f4b5e88
7
- data.tar.gz: 4afbc2869fdc5dcb0322e28c1ee08cb5b95fd4d9de03df8a010501093767edb292cdd13dbb3c683cf6114c92c42b777901a31776d5d6a38781f38ad134d1e803
6
+ metadata.gz: 01042cb73ef3d18d557f5198116ccd7d3c4fc3e1de084f96822847850e7696c6b752ca494a56bbb485c13e521c0923f140270277449dc05ab7497db7f4b8e7e0
7
+ data.tar.gz: 1f4622dfec634522ccee41155685f6f1b9f932741db0839fbabef1fdaf4562444ca81deba5bf3d5127b5309a7c2f5db4699870e5e4cb763902ba13110832c6f8
data/README.md CHANGED
@@ -9,13 +9,13 @@ TODO: Delete this and the text above, and describe your gem
9
9
  Add this line to your Jekyll site's `Gemfile`:
10
10
 
11
11
  ```ruby
12
- gem "LinaroHyperBlipTheme"
12
+ gem "linaro-jekyll-theme"
13
13
  ```
14
14
 
15
15
  And add this line to your Jekyll site's `_config.yml`:
16
16
 
17
17
  ```yaml
18
- theme: LinaroHyperBlipTheme
18
+ theme: linaro-jekyll-theme
19
19
  ```
20
20
 
21
21
  And then execute:
@@ -24,7 +24,7 @@ And then execute:
24
24
 
25
25
  Or install it yourself as:
26
26
 
27
- $ gem install LinaroHyperBlipTheme
27
+ $ gem install linaro-jekyll-theme
28
28
 
29
29
  ## Usage
30
30
 
@@ -32,7 +32,7 @@ TODO: Write usage instructions here. Describe your available layouts, includes,
32
32
 
33
33
  ## Contributing
34
34
 
35
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/hello. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/kylekirkby/LinaroJekyllTheme. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
36
36
 
37
37
  ## Development
38
38
 
data/_data/authors.yml ADDED
@@ -0,0 +1,7 @@
1
+ entries:
2
+ - shortname: kylekirkby
3
+ avatar: https://en.gravatar.com/userimage/54786027/fc975171b4e83cd1c19b20697a1d4329.jpeg
4
+ first_name: Kyle
5
+ second_name: Kirkby
6
+ website: https://kylekirkby.co.uk
7
+ github: https://github.com/kylekirkby
data/_data/company.yml CHANGED
@@ -2,8 +2,9 @@ homepage:
2
2
  hero-line-1: Welcome to the
3
3
  hero-line-2: Linaro Jekyll Theme
4
4
  hero-line-3: A theme for Linaro Static Jekyll sites.
5
- hero-line-4:
5
+ hero-line-4: Customize this in the _data folder.
6
6
  button-text-1: Contribute
7
7
  button-url-1: https://github.com/kylekirkby/LinaroJekyllTheme
8
8
  button-text-2: Setup
9
9
  button-url-2: /setup/
10
+ favicon: /assets/images/favion.png?v=2
data/_data/sub-nav.yml ADDED
@@ -0,0 +1,15 @@
1
+ pages:
2
+ -
3
+ list:
4
+ -
5
+ title: "About Theme"
6
+ active: true
7
+ url: /about/
8
+ -
9
+ title: "About Linaro"
10
+ url: "https://linaro.org/about"
11
+ -
12
+ title: "Contribute to Theme"
13
+ url: "https://github.com/kylekirkby/LinaroJekyllTheme"
14
+ right: true
15
+ url: /about/
@@ -11,7 +11,7 @@
11
11
  {% endif %}
12
12
  </title>
13
13
  {% include _theme-includes/_script-includes/css.html %}
14
- <link rel="icon" href="{% if site.company.favicon %}{{site.company.favicon}}{% else %}/assets/images/favicon.png{% endif %}" type="image/png" />
14
+ <link rel="icon" href="{% if site.company.favicon %}{{site.company.favicon}}{% else %}/assets/images/favicon.png?v=2{% endif %}" type="image/png" />
15
15
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
16
16
  <meta charset="UTF-8">
17
17
  {% if site.google-tag-manager %}
@@ -0,0 +1,32 @@
1
+ {% assign sub-nav-tabs = site.data.sub-nav.pages %}
2
+ {% if sub-nav-tabs %}
3
+ {% for each in sub-nav-tabs %}
4
+ {% if each.url == "/about/" %}
5
+ {% assign tab-list = each.list %}
6
+ {% endif %}
7
+ {% endfor %}
8
+ {% if tab-list %}
9
+ <div class="tabbed-area" id="tabbed-nav-bar"><!-- Nav tabs -->
10
+ <nav class="navbar-default" role="navigation">
11
+ <div class="container">
12
+ <div class="navbar-header">
13
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#tabbed-nav-bar-collapse">
14
+ <span class="sr-only">Toggle navigation</span>
15
+ <span class="icon-bar"></span>
16
+ <span class="icon-bar"></span>
17
+ <span class="icon-bar"></span>
18
+ </button>
19
+ <a class="navbar-brand" id="sub-navigation-header" href=""></a>
20
+ </div>
21
+ <div class="collapse navbar-collapse" id="tabbed-nav-bar-collapse">
22
+ <ul class="nav nav-tabs tabbed-nav" id="tab-row" role="tablist">
23
+ {% for tab in tab-list %}
24
+ <li role="presentation" class="{% if tab.active %}active {% endif %}tabbed-nav-btn {% if tab.right %}pull-right{% endif %}"><a href="{{tab.url}}" role="link">{{ tab.title | capitalize}}</a></li>
25
+ {% endfor %}
26
+ </ul>
27
+ </div>
28
+ </div>
29
+ </nav>
30
+ </div>
31
+ {% endif %}
32
+ {% endif %}
@@ -1,13 +1,13 @@
1
1
  <div class="jumbotron text-center homepage-jumbotron" id="homepage-jumbotron">
2
2
  <div class="container">
3
3
 
4
- <h1 class="fade-in-one" id="homepage-heading">{{site.homepage.hero-line-1}}<br />
5
- <b>{{site.homepage.hero-line-2}}</b></h1>
4
+ <h1 class="fade-in-one" id="homepage-heading">{{site.data.company.homepage.hero-line-1}}<br />
5
+ <b>{{site.data.company.homepage.hero-line-2}}</b></h1>
6
6
  <p class="sub-tag center-block fade-in-two">
7
- <span>{{site.homepage.hero-line-3}}</span><br />
8
- <span>{{site.homepage.hero-line-4}}</span>
7
+ <span>{{site.data.company.homepage.hero-line-3}}</span><br />
8
+ <span>{{site.data.company.homepage.hero-line-4}}</span>
9
9
  </p>
10
- <p id="buttons"><a class="btn btn-primary btn-lg fade-in-three bottom-border-five" href="{{site.homepage.button-url-1}}" role="button">{{site.homepage.button-text-1}}</a>&#32;&#32;
11
- <a class="btn btn-primary btn-lg fade-in-three bottom-border-five" href="{{site.homepage.button-url-2}}" role="button">{{site.homepage.button-text-2}}</a></p>
10
+ <p id="buttons"><a class="btn btn-primary btn-lg fade-in-three bottom-border-five" href="{{site.data.company.homepage.button-url-1}}" role="button">{{site.data.company.homepage.button-text-1}}</a>&#32;&#32;
11
+ <a class="btn btn-primary btn-lg fade-in-three bottom-border-five" href="{{site.data.company.homepage.button-url-2}}" role="button">{{site.data.company.homepage.button-text-2}}</a></p>
12
12
  </div>
13
13
  </div>
@@ -1,2 +1,14 @@
1
- <script src="/assets/js/app.js"></script>
2
- <script src="/assets/js/vendor.js"></script>
1
+ <script src="/assets/js/vendor/jquery.min.js"></script>
2
+ <script src="/assets/js/vendor/bootstrap.min.js"></script>
3
+ <script src="/assets/js/app/main.js"></script>
4
+ <script src="/assets/js/vendor/cookieconsent.min.js"></script>
5
+ <script src="/assets/js/vendor/lazysizes.min.js"></script>
6
+ {% if page.specific_js %}
7
+ {% for script in page.specific_js %}
8
+ <script src="{{script}}"></script>
9
+ {% endfor %}
10
+ {% elsif layout.specific_js %}
11
+ {% for script in layout.specific_js %}
12
+ <script src="{{script}}"></script>
13
+ {% endfor %}
14
+ {% endif %}
File without changes
data/_layouts/blog.html CHANGED
@@ -1,12 +1,13 @@
1
1
  ---
2
2
  layout: default-no-sub-nav
3
+ specific_css: /assets/css/blog-pages.css
3
4
  ---
4
5
  <div class="row blog-row">
5
6
  <div class="col-md-9">
6
7
  {{content}}
7
8
  </div>
8
9
  <div class="col-md-3">
9
- <div class="panel panel-primary blog-panel">
10
+ <div class="panel panel-default blog-panel">
10
11
  <div class="panel-heading">
11
12
  <h3 class="panel-title">Follow Us</h3>
12
13
  </div>
@@ -20,7 +21,7 @@ layout: default-no-sub-nav
20
21
  </div>
21
22
 
22
23
  </div>
23
- <div class="panel panel-primary blog-panel">
24
+ <div class="panel panel-default blog-panel">
24
25
  <div class="panel-heading">
25
26
  <h3 class="panel-title">Recent Blogs</h3>
26
27
  </div>
@@ -2,9 +2,9 @@
2
2
  <body>
3
3
  {% include _theme-includes/_navigation/nav.html %}
4
4
  {% include _theme-includes/_page-structure/breadcrumb.html %}
5
- <div class="container-fluid">
5
+ <div class="container-fluid content-container">
6
6
  <div class="row">
7
- <div class="container content-container">
7
+ <div class="container">
8
8
  {{ content }}
9
9
  </div>
10
10
  </div>
@@ -2,10 +2,10 @@
2
2
  <body>
3
3
  {% include _theme-includes/_navigation/nav.html %}
4
4
  {% include _theme-includes/_page-structure/breadcrumb.html %}
5
- <div class="container-fluid">
6
- {% include _theme-includes/_navigation/_sub-navigation/tabbed-nav.html %}
5
+ <div class="container-fluid content-container">
6
+ {% include _theme-includes/_navigation/tabbed-nav.html %}
7
7
  <div class="row">
8
- <div class="container content-container">
8
+ <div class="container">
9
9
  {{ content }}
10
10
  </div>
11
11
  </div>
@@ -0,0 +1,11 @@
1
+ {% include _theme-includes/_head/head.html %}
2
+ <body>
3
+ {% include _theme-includes/_navigation/nav.html %}
4
+ {% include _theme-includes/_page-structure/breadcrumb.html %}
5
+ <div class="container-fluid content-container">
6
+ {{ content }}
7
+ {% include _theme-includes/_footer/footer.html %}
8
+ </div>
9
+ {% include _theme-includes/_script-includes/javascript.html %}
10
+ </body>
11
+ </html>
@@ -0,0 +1,15 @@
1
+ ---
2
+ specific_js: /assets/js/app/sticky.js
3
+ ---
4
+ {% include _theme-includes/_head/head.html %}
5
+ <body>
6
+ {% include _theme-includes/_navigation/nav.html %}
7
+ {% include _theme-includes/_page-structure/breadcrumb.html %}
8
+ <div class="container-fluid content-container">
9
+ {% include _theme-includes/_navigation/tabbed-nav.html %}
10
+ {{ content }}
11
+ {% include _theme-includes/_footer/footer.html %}
12
+ </div>
13
+ {% include _theme-includes/_script-includes/javascript.html %}
14
+ </body>
15
+ </html>
data/_layouts/home.html CHANGED
@@ -2,9 +2,9 @@
2
2
  <body>
3
3
  {% include _theme-includes/_navigation/nav.html %}
4
4
  {% include _theme-includes/_page-structure/home-hero.html %}
5
- <div class="container-fluid">
5
+ <div class="container-fluid content-container">
6
6
  <div class="row">
7
- <div class="container content-container">
7
+ <div class="container">
8
8
  {{ content }}
9
9
  </div>
10
10
  </div>
data/_layouts/post.html CHANGED
@@ -1,155 +1,141 @@
1
- {% include _theme-includes/_head/head.html %}
2
- <body>
3
- {% include _theme-includes/_navigation/nav.html %}
4
- {% include _theme-includes/_page-structure/breadcrumb.html %}
5
- <div class="container-fluid">
6
- {% include _theme-includes/_navigation/_sub-navigation/tabbed-nav.html %}
7
- <div class="row">
8
- <div class="container content-container">
1
+ ---
2
+ layout: fluid-no-sub-nav
3
+ specific_css: /assets/css/blog-pages.css
4
+ ---
5
+ {% if page.featured_image %}
6
+ <div class="row" class="blog-featured-img" style="background-color: white;">
7
+ <div class="img-blog" style="background: linear-gradient(
8
+ rgba(20,20,20, .5),
9
+ rgba(20,20,20, .5)),
10
+ url('{{page.featured_image}}') no-repeat center center fixed;
11
+ background-size: cover;
12
+ -webkit-background-size: cover;
13
+ -moz-background-size: cover;
14
+ -o-background-size: cover;">
15
+ <div class="blog-full-page-image-info">
16
+ <h1 class="blog-title text-center">{{page.title}}</h1>
17
+ {% if page.author %}
18
+ {% assign author_object = site.data.authors.entries | where: "shortname", "page.author" %}
19
+ <img class="blog-author-image" src="
20
+ {% if author_object.avatar %}{{author_object.avatar}}{% else %}/assets/images/avatar-placeholder.png{% endif %}" /><br />
21
+ <small class="blog-author text-center">By <em>{% if author_object.name %}{{author_object.name}}{% else %}{{page.author}}{% endif %}</em></small><br />
22
+ {% endif %}
23
+ {% if page.date %}<small class="blog-date text-center"><em>{{page.date | date: "%A, %B %-d, %Y"}}</em></small>{% endif %}
24
+ </div>
25
+ </div>
26
+ </div>
27
+ {% endif %}
9
28
 
10
- {% if page.featured_image %}
11
- <div class="row" class="blog-featured-img" style="background-color: white;">
12
- <div class="img-blog" style="background: linear-gradient(
13
- rgba(20,20,20, .5),
14
- rgba(20,20,20, .5)),
15
- url('{{page.featured_image}}') no-repeat center center fixed;
16
- background-size: cover;
17
- -webkit-background-size: cover;
18
- -moz-background-size: cover;
19
- -o-background-size: cover;">
20
- <div class="blog-full-page-image-info">
21
- <h1 class="blog-title text-center">{{page.title}}</h1>
22
- {% if page.author %}
23
- {% assign author_object = site.data.authors | where: "shortname", "page.author" %}
24
- <img class="blog-author-image" src="
25
- {% if author_object.avatar %}{{author_object.avatar}}{% else %}/assets/images/avatar-placeholder.png{% endif %}" /><br />
26
- <small class="blog-author text-center">By <em>{% if author_object.name %}{{author_object.name}}{% else %}{{page.author}}{% endif %}</em></small><br />
27
- {% endif %}
28
- {% if page.date %}<small class="blog-date text-center"><em>{{page.date | date: "%A, %B %-d, %Y"}}</em></small>{% endif %}
29
- </div>
30
- </div>
31
- </div>
29
+ <div class="row blog_content_area ">
30
+ <div class="container blog-post-content ">
31
+ <div class="row">
32
+ <div class="col-md-9">
33
+ <article class="post-content">
34
+ {{ content }}
35
+ </article>
36
+ <hr />
37
+ {% if page.tags %}
38
+ <h3>Tags</h3>
39
+ {% assign tags = page.tags %}
40
+ {% if page.tags %}
41
+ {% for tag in tags %}
42
+ <a class="btn btn-blog btn-xs post_tag" href="/blog/tag#{{tag | slugify }}">{{tag}}</a>
43
+ {% endfor %}
44
+ {% else %}
45
+ <p>
46
+ No tags found.
47
+ </p>
48
+ {% endif %}
49
+ {% endif %}
50
+
51
+ <section id="comments-section">
52
+ {% if page.comments %}
53
+ <h3>Comments</h3>
54
+ {% include _theme-includes/_third-party/disqus.html %}
55
+ <br />
32
56
  {% endif %}
57
+ </section>
58
+ </div>
59
+ <div class="col-md-3">
33
60
 
34
- <div class="row blog_content_area">
35
- <div class="container blog-post-content">
36
- <div class="row">
37
- <div class="col-md-9">
38
- <article class="post-content">
39
- {{ content }}
40
- </article>
41
- <hr />
42
- {% if page.tags %}
43
- <h3>Tags</h3>
44
- {% assign tags = page.tags %}
45
- {% if page.tags %}
46
- {% for tag in tags %}
47
- <a class="btn btn-blog btn-xs post_tag" href="/blog/tag#{{tag | slugify }}">{{tag}}</a>
48
- {% endfor %}
49
- {% else %}
50
- <p>
51
- No tags found.
52
- </p>
53
- {% endif %}
61
+ <div class="panel panel-default" class="blog-panel">
62
+ <div class="panel-heading">
63
+ <h3 class="panel-title">Recent Posts</h3>
64
+ <i class="glyphicon glyphicon-calendar pull-right" style="margin-top:-15px;"></i>
65
+ </div>
66
+ <div class="panel-body">
67
+ {% for recent_post in site.posts limit: 3 %}
68
+ <div class="featured_blog_post">
69
+ <div class="row">
70
+ <div class="col-md-9 col-sm-9 col-xs-9 no-padding">
71
+ <a href="{{recent_post.url}}">{{recent_post.title | truncate: 40}}</a>
72
+ <br /><small><em>{{recent_post.date | date: "%A, %B %-d, %Y" }}</em></small>
73
+ </div>
74
+ <div class="col-md-3 col-sm-3 col-xs-3 no-padding">
75
+ <img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="
76
+ {% if recent_post.featured_image %}
77
+ data-src="{{recent_post.featured_image}}"
78
+ {% else %}
79
+ data-src="/assets/images/placeholder.png"
54
80
  {% endif %}
81
+ alt="{{recent_post.title}}" class="img-responsive lazyload"/>
82
+ </div>
83
+ </div>
84
+ </div>
85
+ {% endfor %}
86
+ <div class="panel-view-more text-right"><a href="/blog/">View Blogs</a></div>
87
+ </div>
88
+ </div>
55
89
 
56
- <section id="comments-section">
57
- {% if page.comments %}
58
- <h3>Comments</h3>
59
- {% include _theme-includes/_third-party/disqus.html %}
60
- <br />
61
- {% endif %}
62
- </section>
63
- </div>
64
- <div class="col-md-3">
65
-
66
- <div class="panel panel-primary" class="blog-panel">
67
- <div class="panel-heading">
68
- <h3 class="panel-title">Recent Posts</h3>
69
- <i class="glyphicon glyphicon-calendar pull-right" style="margin-top:-15px;"></i>
70
- </div>
71
- <div class="panel-body">
72
- {% for recent_post in site.posts limit: 3 %}
73
- <div class="featured_blog_post">
74
- <div class="row">
75
- <div class="col-md-9 col-sm-9 col-xs-9 no-padding">
76
- <a href="{{recent_post.url}}">{{recent_post.title | truncate: 40}}</a>
77
- <br /><small><em>{{recent_post.date | date: "%A, %B %-d, %Y" }}</em></small>
78
- </div>
79
- <div class="col-md-3 col-sm-3 col-xs-3 no-padding">
80
- <img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="
81
- {% if recent_post.featured_image %}
82
- data-src="/assets/images/blog/thumbnails/{{recent_post.featured_image}}"
83
- {% else %}
84
- data-src="/assets/images/placeholder.png"
85
- {% endif %}
86
- alt="{{recent_post.title}}" class="img-responsive lazyload"/>
87
- </div>
88
- </div>
89
- </div>
90
- {% endfor %}
91
- <div class="panel-view-more text-right"><a href="/blog/">View Blogs</a></div>
92
- </div>
93
- </div>
94
-
95
-
96
-
97
- <div class="panel panel-primary">
98
- <div class="panel-heading">
99
- <h3 class="panel-title">Other Posts</h3>
100
- <i class="glyphicon glyphicon-list-alt pull-right" style="margin-top:-15px;"></i>
101
- </div>
102
- <div class="panel-body">
103
- {% assign posts = site.posts | sample:5 %}
104
- {% for post in posts %}
105
- <div class="featured_blog_post">
106
- <div class="row">
107
- <div class="col-md-9 col-sm-9 col-xs-9 no-padding">
108
- <a href="{{post.url}}">{{post.title | truncate: 40}}</a>
109
- <br /><small><em>{{post.date | date: "%A, %B %-d, %Y" }}</em></small>
110
- </div>
111
- <div class="col-md-3 col-sm-3 col-xs-3 no-padding">
112
- <img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="
113
- {% if post.featured_image %}
114
- data-src="/assets/images/blog/thumbnails/{{post.featured_image}}"
115
- {% else %}
116
- data-src="{% asset_path 'placeholder.png' %}"
117
- {% endif %}
118
- alt="{{post.title}}" class="img-responsive lazyload"/>
119
- </div>
120
- </div>
121
- </div>
122
- {% endfor %}
123
- <div class="panel-view-more text-right"><a href="/blog/">View Blogs</a></div>
124
- </div>
125
- </div>
126
-
127
- <div class="panel panel-primary">
128
- <div class="panel-heading">
129
- <h3 class="panel-title">Follow Us</h3>
130
- <i class="glyphicon glyphicon-thumbs-up pull-right" style="margin-top:-15px;"></i>
131
- </div>
132
- <div class="panel-body">
133
- <a href="http://facebook.com/{{site.facebook_username}}" class="blog-icons"><i class="icon-facebook"></i></a>
134
- <a href="https://github.com/{{site.github_username}}" class="blog-icons"><i class="icon-github-circled"></i></a>
135
- <a href="https://plus.google.com/{{site.google_plus_username}}/posts" class="blog-icons"><i class="icon-gplus"></i></a>
136
- <a href="https://www.linkedin.com/company/{{site.linkedin_username}}" class="blog-icons"><i class="icon-linkedin"></i></a>
137
- <a href="https://twitter.com/{{site.twitter_username}}" class="blog-icons"><i class="icon-twitter"></i></a>
138
- <a href="https://www.youtube.com/{{site.youtube_username}}" class="blog-icons"><i class="icon-youtube"></i></a>
139
- </div>
140
- </div>
141
90
 
91
+ <div class="panel panel-default">
92
+ <div class="panel-heading">
93
+ <h3 class="panel-title">Other Posts</h3>
94
+ <i class="glyphicon glyphicon-list-alt pull-right" style="margin-top:-15px;"></i>
95
+ </div>
96
+ <div class="panel-body">
97
+ {% assign posts = site.posts | sample:5 %}
98
+ {% for post in posts %}
99
+ <div class="featured_blog_post">
100
+ <div class="row">
101
+ <div class="col-md-9 col-sm-9 col-xs-9 no-padding">
102
+ <a href="{{post.url}}">{{post.title | truncate: 40}}</a>
103
+ <br /><small><em>{{post.date | date: "%A, %B %-d, %Y" }}</em></small>
104
+ </div>
105
+ <div class="col-md-3 col-sm-3 col-xs-3 no-padding">
106
+ <img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="
107
+ {% if post.featured_image %}
108
+ data-src="/assets/images/blog/thumbnails/{{post.featured_image}}"
109
+ {% else %}
110
+ data-src="/assets/images/placeholder.png"
111
+ {% endif %}
112
+ alt="{{post.title}}" class="img-responsive lazyload"/>
113
+ </div>
114
+ </div>
115
+ </div>
116
+ {% endfor %}
117
+ <div class="panel-view-more text-right"><a href="/blog/">View Blogs</a></div>
118
+ </div>
119
+ </div>
142
120
 
143
- </div>
121
+ <div class="panel panel-default">
122
+ <div class="panel-heading">
123
+ <h3 class="panel-title">Follow Us</h3>
124
+ <i class="glyphicon glyphicon-thumbs-up pull-right" style="margin-top:-15px;"></i>
125
+ </div>
126
+ <div class="panel-body">
127
+ <a href="http://facebook.com/{{site.facebook_username}}" class="blog-icons"><i class="icon-facebook"></i></a>
128
+ <a href="https://github.com/{{site.github_username}}" class="blog-icons"><i class="icon-github-circled"></i></a>
129
+ <a href="https://plus.google.com/{{site.google_plus_username}}/posts" class="blog-icons"><i class="icon-gplus"></i></a>
130
+ <a href="https://www.linkedin.com/company/{{site.linkedin_username}}" class="blog-icons"><i class="icon-linkedin"></i></a>
131
+ <a href="https://twitter.com/{{site.twitter_username}}" class="blog-icons"><i class="icon-twitter"></i></a>
132
+ <a href="https://www.youtube.com/{{site.youtube_username}}" class="blog-icons"><i class="icon-youtube"></i></a>
133
+ </div>
134
+ </div>
144
135
 
145
- </div>
146
- </div>
147
- </div>
148
136
 
149
- </div>
150
137
  </div>
151
- {% include _theme-includes/_footer/footer.html %}
138
+
152
139
  </div>
153
- {% include _theme-includes/_script-includes/javascript.html %}
154
- </body>
155
- </html>
140
+ </div>
141
+ </div>