jumbo-jekyll-theme 4.2.2 → 4.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d087031125ec693b266528df835b9efd2f222d57d0a3ad8f7e093c7e9bd8bbed
4
- data.tar.gz: f77f0a9ada52bd21dfe3c59e056fcb02358baa4b08204169fed94878d3914e7a
3
+ metadata.gz: '050837c9a2e15d07c7cfee41e28a3a93d50b7143338b54a736bfa89ba048f2c8'
4
+ data.tar.gz: 0fba616092ba822ab6e959f449c162f3ca3a951b011b7cabb010160a4d5dec42
5
5
  SHA512:
6
- metadata.gz: 7fc2f09502e9f37f24a0755fbc0a803dd562ceabc5ad1a3e9a53eb0724903e1226c2b3f6b45a9bd7137f7f15581c65970dadad887cbd1ce96901320ec2f29a4b
7
- data.tar.gz: 218a182831f8e99755dae1b84419ad931ea1957d31785966dcf3c831a47faedf4edc266353c27c540a982c2a13548327315b4ce9a56b30672d1ff5917f2d3f69
6
+ metadata.gz: 6ac0c566bff64910b84379cad057207d9357c07bc2e3f88d5a40307b821ebbc4f461ba753bdfcece64567af42abff734492feab6935bfc545279f9e876b8bdc5
7
+ data.tar.gz: 6ace2e03c1d89d930c07d8e3716f8db09adfd22164dd3d08916158391208483170ae01767668787f89afd57982ded3ff25dc773500109673dd35d42aa3bc96a2
@@ -50,7 +50,7 @@ paginate_path_authors: /authors/:num/
50
50
  pagination:
51
51
  # Default pagination path for Jekyll Posts
52
52
  # For other permalinks set in the front matter of the post index page
53
- permalink: /blog/:num/
53
+ permalink: /:num/
54
54
  # Enabled or not?
55
55
  enabled: true
56
56
  # Home many posts to display by default
@@ -1,56 +1,39 @@
1
1
  {% if paginator.total_posts > 0 %}
2
+ {% if site.data.settings.blog.show_thumbnails %}
3
+ <div class="row">
4
+ {% endif %}
2
5
  {% for post in paginator.posts %}
3
6
  {% assign timeframe = 604800 %}
4
7
  {% assign post_in_seconds = post.date | date: "%s" | plus: 0 %}
5
8
  {% assign recent_posts = "now" | date: "%s" | minus: timeframe %}
6
- <div class="row blog_post">
7
- {% if site.data.settings.blog.show_thumbnails %}
8
- <div class="col-md-4 col-sm-4 col-xs-4">
9
- <a href="{{post.url}}">
10
- {% if post.image.thumb %}
11
- {% capture image_path %}{{site.blog_images_dir}}thumbs/{{post.image.thumb}}{% endcapture %}
12
- {% capture full_path %}/{{site.blog_images_dir}}thumbs/{{post.image.thumb}}{% endcapture %}
13
- {% responsive_image_block %}
14
- template: _includes/thumb.html
15
- path: {{ image_path }}
16
- fullpath: {{ full_path }}
17
- {% if post.title %}
18
- title: {{ post.title | slugify: "ascii"}}
19
- alt: {{ post.title | slugify: "ascii"}}
20
- {% endif %}
21
- {% endresponsive_image_block %}
22
- {% elsif post.image.name %}
23
- {% capture image_path %}{{site.blog_images_dir}}{{post.image.name}}{% endcapture %}
24
- {% capture full_path %}/{{site.blog_images_dir}}{{post.image.name}}{% endcapture %}
25
- {% responsive_image_block %}
26
- template: _includes/thumb.html
27
- path: {{ image_path }}
28
- fullpath: {{ full_path }}
29
- {% if post.title %}
30
- title: {{ post.title | slugify: "ascii"}}
31
- alt: {{ post.title | slugify: "ascii"}}
32
- {% endif %}
33
- {% endresponsive_image_block %}
34
- {% elsif post.image.path %}
35
- {% capture image_path %}{{post.image.path | remove_first: "/" }}{% endcapture %}
36
- {% capture full_path %}{{post.image.path}}{% endcapture %}
37
- {% responsive_image_block %}
38
- template: _includes/thumb.html
39
- path: {{ image_path }}
40
- fullpath: {{ full_path }}
41
- {% if post.title %}
42
- title: {{ post.title | slugify: "ascii"}}
43
- alt: {{ post.title | slugify: "ascii"}}
44
- {% endif %}
45
- {% endresponsive_image_block %}
46
- {% elsif post.image == site.data.settings.social_share_image %}
47
- <img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" data-src="{{site.data.settings.placeholder}}"
48
- alt="{{post.title}}" class="center-block img-responsive lazyload" />
49
- {% elsif post.image %}
50
- {% capture image_path %}{{post.image | remove_first: "/" }}{% endcapture %}
51
- {% capture full_path %}{{post.image}}{% endcapture %}
9
+ {% if site.data.settings.blog.show_thumbnails %}
10
+ {% if forloop.first and paginator.page == 1 %}
11
+ <div class="featured-post-row">
12
+ <div class="col-xs-12 col-sm-7 col-sm-push-5 latest-featured-post">
13
+ <a href="{{post.url}}">
14
+ {% assign image_path = "" %}
15
+ {% if post.image.thumb %}
16
+ {% capture image_path %}{{site.blog_images_dir}}thumbs/{{post.image.thumb}}{% endcapture %}
17
+ {% capture full_path %}/{{site.blog_images_dir}}thumbs/{{post.image.thumb}}{% endcapture %}
18
+ {% elsif post.image.name %}
19
+ {% capture image_path %}{{site.blog_images_dir}}{{post.image.name}}{% endcapture %}
20
+ {% capture full_path %}/{{site.blog_images_dir}}{{post.image.name}}{% endcapture %}
21
+ {% elsif post.image.path %}
22
+ {% capture image_path %}{{post.image.path | remove_first: "/" }}{% endcapture %}
23
+ {% capture full_path %}{{post.image.path}}{% endcapture %}
24
+ {% elsif post.image == site.data.settings.social_share_image %}
25
+ {% capture image_path %}{{site.data.settings.placeholder | remove_first: "/" }}{% endcapture %}
26
+ {% capture full_path %}{{site.data.settings.placeholder}}{% endcapture %}
27
+ {% elsif post.image %}
28
+ {% capture image_path %}{{post.image | remove_first: "/" }}{% endcapture %}
29
+ {% capture full_path %}{{post.image}}{% endcapture %}
30
+ {% else %}
31
+ <img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="
32
+ data-src="{{site.data.settings.placeholder}}" alt="{{post.title}}" class="center-block img-responsive lazyload"/>
33
+ {% endif %}
34
+ {% if image_path != "" %}
52
35
  {% responsive_image_block %}
53
- template: _includes/thumb.html
36
+ template: _includes/thumbnail_image.html
54
37
  path: {{ image_path }}
55
38
  fullpath: {{ full_path }}
56
39
  {% if post.title %}
@@ -58,34 +41,121 @@
58
41
  alt: {{ post.title | slugify: "ascii"}}
59
42
  {% endif %}
60
43
  {% endresponsive_image_block %}
61
- {% else %}
62
- <img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="
63
- data-src="{{site.data.settings.placeholder}}" alt="{{post.title}}" class="center-block img-responsive lazyload"/>
64
- {% endif %}
65
- </a>
66
- </div>
44
+ {% endif %}
45
+ </a>
46
+ </div>
47
+ <div class="col-xs-12 col-sm-5 col-sm-pull-7 latest-featured-post-content">
48
+ <a href="{{post.url}}">
49
+ <div class="post-info">
50
+ <span class="post-cat">{{post.categories | first | capitalize }}</span>
51
+ <h3>{{post.title}}</h3>
52
+ <p class="excerpt">
53
+ {% if post.description %}
54
+ {{post.description}}
55
+ {% else %}
56
+ {{ post.content | strip_html | truncatewords:30 }}
57
+ {% endif %}
58
+ </p>
59
+ {% if post_in_seconds > recent_posts %}
60
+ <span class="new-post" title="Post added in the last week.">New</span>
61
+ {% endif %}
62
+ <a href="{{post.url}}" class="btn btn-primary">
63
+ Read Post
64
+ </a>
65
+ </div>
66
+ </a>
67
+ </div>
68
+ </div>
69
+ {% else %}
70
+ <div class="col-sm-4 col-xs-12">
71
+ <div class="blog-post-item">
72
+ <a href="{{post.url}}">
73
+ <div class="blog-featured-image">
67
74
 
68
- <div class="col-md-8 col-sm-8 col-xs-8 post_title no-padding">
69
- <a href="{{post.url}}"><h3>{{ post.title}}</h3></a>
75
+ {% assign image_path = "" %}
70
76
 
71
- {% assign author = site.authors | where: "username", post.author | first %}
77
+ {% if post.image.thumb %}
78
+ {% capture image_path %}{{site.blog_images_dir}}thumbs/{{post.image.thumb}}{% endcapture %}
79
+ {% capture full_path %}/{{site.blog_images_dir}}thumbs/{{post.image.thumb}}{% endcapture %}
80
+ {% elsif post.image.name %}
81
+ {% capture image_path %}{{site.blog_images_dir}}{{post.image.name}}{% endcapture %}
82
+ {% capture full_path %}/{{site.blog_images_dir}}{{post.image.name}}{% endcapture %}
83
+ {% elsif post.image.path %}
84
+ {% capture image_path %}{{post.image.path | remove_first: "/" }}{% endcapture %}
85
+ {% capture full_path %}{{post.image.path}}{% endcapture %}
86
+ {% elsif post.image == site.data.settings.social_share_image %}
87
+ {% capture image_path %}{{site.data.settings.placeholder | remove_first: "/" }}{% endcapture %}
88
+ {% capture full_path %}{{site.data.settings.placeholder}}{% endcapture %}
89
+ {% elsif post.image %}
90
+ {% capture image_path %}{{post.image | remove_first: "/" }}{% endcapture %}
91
+ {% capture full_path %}{{post.image}}{% endcapture %}
92
+ {% else %}
93
+ <img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="
94
+ data-src="{{site.data.settings.placeholder}}" alt="{{post.title}}" class="center-block img-responsive lazyload"/>
95
+ {% endif %}
72
96
 
73
- Posted by <a href="{{author.url}}"><strong>{% if author.name %}{{author.name}}{% else %}{{post.author}}{% endif %}</strong></a>
74
- on <em>{{ post.date | date: "%A, %B %-d, %Y"}}</em>
75
- {% if post_in_seconds > recent_posts %}
76
- <span class="new-post" title="Post added in the last week.">New</span>
77
- {% endif %}
78
- <br />
79
- <p class="post_excerpt">
80
- {{ post.content | strip_html | truncatewords:30 }}
81
- </p>
82
- <p>
83
- <a href="{{post.url}}">
84
- <button class="btn blog-read-more-btn">Read More</button>
97
+ {% if image_path != "" %}
98
+ {% responsive_image_block %}
99
+ template: _includes/thumb.html
100
+ path: {{ image_path }}
101
+ fullpath: {{ full_path }}
102
+ {% if post.title %}
103
+ title: {{ post.title | slugify: "ascii"}}
104
+ alt: {{ post.title | slugify: "ascii"}}
105
+ {% endif %}
106
+ {% endresponsive_image_block %}
107
+ {% endif %}
108
+ <div class="read-article">
109
+ <i class="fa fa-eye"></i> Read Article
110
+ </div>
111
+ </div>
112
+ <div class="blog-post-item-content">
113
+ <div class="post-cat">{{post.categories | first | capitalize }}</div>
114
+ {% if site.data.settings.blog.reading_time %}
115
+ {% include read_time.html %}
116
+ {% endif %}
117
+ <h3>{{ post.title}}</h3>
118
+ {% if post_in_seconds > recent_posts %}
119
+ <span class="new-post" title="Post added in the last week.">New</span>
120
+ {% endif %}
121
+ <br />
122
+ <p class="post_excerpt">
123
+ {{ post.content | strip_html | truncatewords:30 }}
124
+ </p>
125
+ <div class="author-section">
126
+ {% if post.author %}
127
+ {% assign author = site.authors | where: "username", post.author | first %}
128
+ {% assign author-url = author.url %}
129
+ <div class="blog-author-image lazyload" data-bg="{% if author.image.path %}{{author.image.path}}{% else %}{{site.data.settings.blog.avatar_placeholder}}{% endif %}"></div>
130
+ {% endif %}
131
+ {% if post.co-author %}
132
+ {% if site.authors %}
133
+ {% assign co-author = site.authors | where: "username", post.co-author | first %}
134
+ {% assign co-author-url = co-author.url %}
135
+ {% endif %}
136
+ <div class="blog-author-image co-author lazyload" data-bg="{% if co-author.image.path %}
137
+ {{co-author.image.path}}
138
+ {% else %}
139
+ {{site.data.settings.blog.avatar_placeholder}}
140
+ {% endif %}"></div>
141
+ <small class="blog-author">
142
+ <em>{% if author.first_name %}{{author.first_name}}{% else %}{{post.author}}{% endif %}</em> &
143
+ <em>{% if co-author.first_name %}{{co-author.first_name}}{% else %}{{post.co-author}}{% endif %}</em>
144
+ </small>
145
+ {% else %}
146
+ <small class="blog-author">
147
+ <em>{% if author.name %}{{author.name}}{% else %}{{post.author}}{% endif %}</em>
148
+ </small>
149
+ {% endif %}
150
+ </div>
151
+ </div>
85
152
  </a>
86
- </p>
153
+ </div>
154
+
87
155
  </div>
156
+ {% endif %}
88
157
  {% else %}
158
+ <div class="row blog_post">
89
159
  <div class="col-xs-12 post_title no-padding">
90
160
  <a href="{{post.url}}"><h3>{{ post.title}}</h3></a>
91
161
  <em>{{ post.date | date: "%A, %B %-d, %Y"}}</em>
@@ -102,9 +172,12 @@
102
172
  </a>
103
173
  </p>
104
174
  </div>
175
+ </div>
105
176
  {% endif %}
106
- </div>
107
- {% endfor %}
177
+ {% endfor %}
178
+ {% if site.data.settings.blog.show_thumbnails %}
179
+ </div>
180
+ {% endif %}
108
181
  {% else %}
109
182
  <p>
110
183
  No posts of this category were found!
@@ -33,12 +33,11 @@
33
33
  {% else %}
34
34
  <div class="{% if page.jumbotron.video %}video {% endif %}row {% if page.jumbotron.background-image %}background-image {% endif %}
35
35
  {% if page.jumbotron.carousel-images %}carousel-header{% endif %}
36
- {% if page.image.background-class %}{{page.image.background-class}}{% endif %}{% if site.data.settings.jumbotron.darken %}overlay{% endif %}" id="jumbotron"
37
- {% if page.jumbotron.background-image %}
38
- style="background-image: url('{{page.jumbotron.background-image}}');"
36
+ {% if page.image.background-class %}{{page.image.background-class}}{% endif %}{% if site.data.settings.jumbotron.darken %}overlay{% endif %} {% if page.jumbotron.background-image %}
37
+ " style="background-image: url('{{page.jumbotron.background-image}}');"
39
38
  {% else %}
40
- class="jumbotron text-center featured-jumbotron"
41
- {% endif %}> <!--Row -->
39
+ jumbotron text-center featured-jumbotron"
40
+ {% endif %} id="jumbotron" > <!--Row -->
42
41
  {% if page.jumbotron.video %}
43
42
  <video autoplay muted preload="none" poster="{{page.jumbotron.video.poster}}" loop id="jumbotronVideo">
44
43
  {% if page.jumbotron.video.source.mp4 %}
@@ -15,12 +15,12 @@
15
15
  navbar-inverse navbar-static" id="main-navigation">
16
16
  <!-- NAVBAR HEADER-->
17
17
  <div class="navbar-header">
18
- <button for="navbar-toggle-cbox" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-collapse" aria-expanded="false" aria-controls="navbar">
18
+ <a for="navbar-toggle-cbox" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-collapse" aria-expanded="false" aria-controls="navbar">
19
19
  <span class="sr-only">Toggle navigation</span>
20
20
  <span class="icon-bar top-bar"></span>
21
21
  <span class="icon-bar middle-bar"></span>
22
22
  <span class="icon-bar bottom-bar"></span>
23
- </button>
23
+ </a>
24
24
  {% if site.data.nav.brand %}
25
25
  <a class="navbar-brand " href="{{site.data.nav.brand.url}}">
26
26
  {% if site.data.nav.brand.image.enabled %}
@@ -40,7 +40,7 @@ navbar-inverse navbar-static" id="main-navigation">
40
40
  {% endif %}
41
41
  </div>
42
42
  <!-- NAVBAR COLLAPSE-->
43
- <div class="collapse navbar-collapse" id="navbar-collapse">
43
+ <div class="collapse navbar-collapse" id="navbar-collapse" role="navigation">
44
44
  <ul class="nav navbar-nav navbar-right" id="navbar-buttons">
45
45
  {% for section in site.data.nav.pages %}
46
46
  {% if section.options %}
@@ -1,37 +1,39 @@
1
1
  {% assign paginate_path = include.path %}
2
2
  {% assign paginate_base_path = paginate_path | split: ":" %}
3
3
  {% if paginator.total_pages > 1 %}
4
- <div class="text-center" id="pagination_panel">
5
- <ul class="pagination pagination-sm">
6
- {% if paginator.previous_page %}
7
- <li><a href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">&laquo; Prev</a></li>
8
- {% else %}
9
- <li class="disabled"><a href="#">&laquo; Prev</a></li>
10
- {% endif %}
11
- {% if paginator.page_trail %}
12
- {% for trail in paginator.page_trail %}
13
- <li {% if page.url == trail.path %}class="active"{% endif %}>
14
- <a href="{% if trail.num == 1 %}{{paginate_base_path[0]}}{% else %}
15
- {{ paginate_path | prepend: site.baseurl | replace: '//', '/' | replace: ':num', trail.num }}{% endif %}"
16
- title="{{trail.title}}">{{ trail.num }}</a>
17
- </li>
18
- {% endfor %}
4
+ <div class="row pagination-row">
5
+ <div class="text-center" id="pagination_panel">
6
+ <ul class="pagination pagination-sm">
7
+ {% if paginator.previous_page %}
8
+ <li><a href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">&laquo; Prev</a></li>
19
9
  {% else %}
20
- {% for page in (1..paginator.total_pages) %}
21
- {% if page == paginator.page %}
22
- <li class="active"><a href="">{{ page }}</a></li>
23
- {% elsif page == 1 %}
24
- <li><a href="{{paginate_base_path[0]}}">{{ page }}</a></li>
25
- {% else %}
26
- <li><a href="{{ paginate_path | prepend: site.baseurl | replace: '//', '/' | replace: ':num', page }}">{{ page }}</a></li>
27
- {% endif %}
28
- {% endfor %}
10
+ <li class="disabled"><a href="#">&laquo; Prev</a></li>
29
11
  {% endif %}
30
- {% if paginator.next_page %}
31
- <li><a href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}">Next &raquo;</a></li>
32
- {% else %}
33
- <li><a href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}">Next &raquo;</a></li>
34
- {% endif %}
35
- </ul>
12
+ {% if paginator.page_trail %}
13
+ {% for trail in paginator.page_trail %}
14
+ <li {% if page.url == trail.path %}class="active"{% endif %}>
15
+ <a href="{% if trail.num == 1 %}{{paginate_base_path[0]}}{% else %}
16
+ {{ paginate_path | prepend: site.baseurl | replace: '//', '/' | replace: ':num', trail.num }}{% endif %}"
17
+ title="{{trail.title}}">{{ trail.num }}</a>
18
+ </li>
19
+ {% endfor %}
20
+ {% else %}
21
+ {% for page in (1..paginator.total_pages) %}
22
+ {% if page == paginator.page %}
23
+ <li class="active"><a href="">{{ page }}</a></li>
24
+ {% elsif page == 1 %}
25
+ <li><a href="{{paginate_base_path[0]}}">{{ page }}</a></li>
26
+ {% else %}
27
+ <li><a href="{{ paginate_path | prepend: site.baseurl | replace: '//', '/' | replace: ':num', page }}">{{ page }}</a></li>
28
+ {% endif %}
29
+ {% endfor %}
30
+ {% endif %}
31
+ {% if paginator.next_page %}
32
+ <li><a href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}">Next &raquo;</a></li>
33
+ {% else %}
34
+ <li><a href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}">Next &raquo;</a></li>
35
+ {% endif %}
36
+ </ul>
37
+ </div>
36
38
  </div>
37
39
  {% endif %}
@@ -1,2 +1,7 @@
1
- {% assign words = content | number_of_words %}
2
- <span class="reading-time" title="Estimated read time">{% if words < 360 %}1 min{% else %}{{ words | divided_by:180 }} mins{% endif %}</span>
1
+
2
+ {% if include.content %}
3
+ {% assign words = include.content | number_of_words %}
4
+ {% else %}
5
+ {% assign words = content | number_of_words %}
6
+ {% endif %}
7
+ <span class="reading-time" title="Estimated read time">{% if words < 360 %}1 min read{% else %}{{ words | divided_by:180 }} mins{% endif %}</span>
@@ -4,7 +4,7 @@
4
4
  {% endcomment %}
5
5
  <picture>
6
6
  {% for i in resized %}
7
- <source media="(min-width: {{ i.width }}px)" data-srcset="/{{ i.path }}">
7
+ <source media="(max-width: {{ i.width }}px)" data-srcset="/{{ i.path }}">
8
8
  {% endfor %}
9
9
  <img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" data-src="/{{ path }}" class="img-responsive lazyload">
10
10
  </picture>
@@ -7,12 +7,12 @@
7
7
  <span class="glyphicon glyphicon-chevron-up"></span>
8
8
  </button>
9
9
  </div>
10
- <div id="navbar" class="navbar-collapse collapse" aria-expanded="false" style="height: 1px;">
10
+ <div id="navbar" class="navbar-collapse collapse" role="navigation" aria-expanded="false" style="height: 1px;">
11
11
  <ul class="nav navbar-nav navbar-right">
12
12
  {% for website in site.data.universal-nav %}
13
13
  {% if website.options %}
14
14
  <li class="dropdown {% for project-site in website.options %}{% if project-site.active %}active{% break %}{% endif %}{% endfor %}">
15
- <a class="projects" href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true"
15
+ <a href="#" class="projects dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true"
16
16
  aria-expanded="false">Projects <span class="caret"></span></a>
17
17
  <ul class="dropdown-menu">
18
18
  {% for project-site in website.options %}
@@ -4,13 +4,11 @@ title: Blog
4
4
  css-package: blog
5
5
  js-package: blog
6
6
  ---
7
- <div class="col-xs-12">
8
- {{content}}
9
- {% include display-blog-posts.html %}
10
-
11
- {% if page.news %}
12
- {% include pagination.html path="/news/:num/"%}
13
- {% else %}
14
- {% include pagination.html path="/blog/:num/"%}
15
- {% endif %}
16
- </div>
7
+
8
+ {% include display-blog-posts.html %}
9
+
10
+ {% if page.news %}
11
+ {% include pagination.html path="/news/:num/"%}
12
+ {% else %}
13
+ {% include pagination.html path="/blog/:num/"%}
14
+ {% endif %}
@@ -487,4 +487,133 @@ button.btn.copyBtn:hover, button.btn.copyBtn:focus {
487
487
  pre.highlight {
488
488
  padding: 15px;
489
489
  position: relative;
490
+ }
491
+ // Feautured Post Row
492
+ #wrapper .latest-featured-post img {
493
+ height: 100%;
494
+ max-height: none !important;
495
+ width: 100% !important;
496
+ object-fit: contain !important;
497
+ }
498
+ #wrapper .latest-featured-post{
499
+ padding-right:0px;
500
+ padding-left:0px;
501
+ }
502
+
503
+ .col-xs-12.col-sm-5.col-sm-pull-7.latest-featured-post-content {
504
+ padding: 20px;
505
+ }
506
+
507
+ .featured-post-row {
508
+ border: 1px solid #eee;
509
+ padding-left:0px;
510
+ padding-top:0px;
511
+ padding-right:0px;
512
+ padding-bottom: 0px;
513
+ border-radius:20px;
514
+ overflow:hidden;
515
+ margin-bottom: 30px;
516
+ -webkit-box-shadow: 0px 0px 20px 5px rgb(240, 240, 240);
517
+ -moz-box-shadow: 0px 0px 20px 5px rgb(229, 229, 229);
518
+ box-shadow: 0px 0px 20px 5px rgb(235, 235, 235);
519
+ }
520
+ .post-cat {
521
+ padding: 5px;
522
+ margin-bottom: 5px;
523
+ color: #20937b;
524
+ font-weight: bold;
525
+ display: inline-block;
526
+ text-transform: uppercase;
527
+ }
528
+ .blog-post-item {
529
+ border-radius: 10px;
530
+ overflow: hidden;
531
+ background-color: white;
532
+ padding: 10p;
533
+ margin-bottom: 30px;
534
+ -webkit-box-shadow: 0px 0px 20px 5px #f0f0f0;
535
+ -moz-box-shadow: 0px 0px 20px 5px #e5e5e5;
536
+ box-shadow: 0px 0px 20px 5px #ebebeb;
537
+ border: 1px solid #eee;
538
+ transition: all 200ms ease;
539
+ }
540
+
541
+ .blog-post-item-content {
542
+ padding: 10px;
543
+ }
544
+ .blog-post-item img {
545
+ width: 100%;
546
+ height: auto;
547
+ }
548
+ .author-section .blog-author-image {
549
+ display: inline-block;
550
+ height: 60px;
551
+ width: 60px;
552
+ position: relative;
553
+ z-index: 2;
554
+ border: 1px solid #eee;
555
+ }
556
+
557
+ .blog-author-image.co-author {
558
+ left: -30px;
559
+ z-index: 1;
560
+ position: relative;
561
+ }
562
+
563
+ .author-section small.blog-author.text-center {
564
+ top: -20px;
565
+ position: relative;
566
+ display: inline;
567
+ left: 0px;
568
+ }
569
+
570
+ .author-section small.blog-author {
571
+ display: inline-block;
572
+ text-align: left;
573
+ position: relative;
574
+ top: -20px;
575
+ }
576
+
577
+ .blog-author-image.co-author + small.blog-author {
578
+ left: -30px;
579
+ position:relative;
580
+ }
581
+ .blog-featured-image::after {
582
+ content: '';
583
+ display:none;
584
+ height:100%;
585
+ width:100%;
586
+ position: absolute;
587
+ top:0px;
588
+ opacity:.4;
589
+ background-color:#20937a;
590
+ }
591
+ .blog-featured-image{
592
+ position: relative;
593
+ overflow:hidden;
594
+ }
595
+ .blog-post-item:hover .blog-featured-image::after {
596
+ display:block;
597
+ }
598
+ .blog-post-item:hover{
599
+ transform: translateY(-5px);
600
+ -webkit-box-shadow: 0px 0px 20px 5px rgba(179,179,179,1);
601
+ -moz-box-shadow: 0px 0px 20px 5px rgba(179,179,179,1);
602
+ box-shadow: 0px 0px 20px 5px rgba(179,179,179,1);
603
+ }
604
+ .blog-post-item:hover .read-article {
605
+ display: block !important;
606
+ }
607
+ .read-article {
608
+ display:none !important;
609
+ position: absolute;
610
+ z-index: 99999;
611
+ color: black;
612
+ font-weight:bold;
613
+ font-size:18px;
614
+ top: 80px;
615
+ height: 20px;
616
+ display: table-cell;
617
+ width: 100%;
618
+ text-align: center;
490
619
  }
@@ -30,7 +30,7 @@ div#tabbed-nav-bar-collapse {
30
30
  padding: 0;
31
31
  }
32
32
  @media screen and (max-width: $screen-lg) and (min-width: 0px){
33
- .sticky-nav#tabbed-nav-bar button.navbar-toggle {
33
+ .sticky-nav#tabbed-nav-bar a.navbar-toggle {
34
34
  margin-right: -5px;
35
35
  }
36
36
  }
@@ -122,7 +122,7 @@ div#tabbed-nav-bar.sticky-nav {
122
122
 
123
123
  @media screen and (max-width: $screen-lg) and (min-width: 0px) {
124
124
 
125
- button.navbar-toggle {
125
+ a.navbar-toggle {
126
126
  margin-right: 10px;
127
127
  }
128
128
 
@@ -180,10 +180,10 @@ nav.nav-light {
180
180
  nav.nav-dark {
181
181
  background: transparent;
182
182
  }
183
- nav.nav-light button.navbar-toggle .icon-bar {
183
+ nav.nav-light a.navbar-toggle .icon-bar {
184
184
  background-color:#fff !important;
185
185
  }
186
- nav.nav-dark button.navbar-toggle .icon-bar {
186
+ nav.nav-dark a.navbar-toggle .icon-bar {
187
187
  background-color:#fff !important;
188
188
  }
189
189
  // Nav Bar SVG Style
@@ -421,7 +421,7 @@ nav > ul.navbar-right {
421
421
  margin-bottom:-1px;
422
422
  z-index: 1;
423
423
  }
424
- #tabbed-nav-bar.non-sticky-nav button.navbar-toggle {
424
+ #tabbed-nav-bar.non-sticky-nav a.navbar-toggle {
425
425
  margin-right: -5px;
426
426
  }
427
427
  #main-navigation .pull-left ul.dropdown-menu.sub-menu {
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jumbo-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.2.2
4
+ version: 4.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Kirkby
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-03-16 00:00:00.000000000 Z
11
+ date: 2019-03-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -551,7 +551,6 @@ files:
551
551
  - assets/fonts/lato-regular/Lato-regular.woff2
552
552
  - assets/images/Linaro-Logo.svg
553
553
  - assets/images/Linaro-Logo_light.png
554
- - assets/images/Linaro-Logo_standard.svg
555
554
  - assets/images/Linaro-Sprinkle.png
556
555
  - assets/images/avatar-placeholder.jpg
557
556
  - assets/images/breadcrumb-image.jpg
@@ -1 +0,0 @@
1
- <svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 480 240"><defs><style>.cls-1{fill:none;}.cls-2{fill:#666;}.cls-3,.cls-8{fill:#9c3;}.cls-4,.cls-5{fill:#c03;}.cls-5{opacity:0.6;}.cls-6,.cls-7{fill:#909;}.cls-7,.cls-8{opacity:0.7;}</style></defs><title>Linaro-Logo</title><g id="LinaroStandard"><path class="cls-1" d="M295.55,81.05a11.51,11.51,0,0,0-4,5,17.2,17.2,0,0,0-1.12,6.31,15,15,0,0,0,.66,4.81,7.78,7.78,0,0,0,1.88,3.1,6.89,6.89,0,0,0,2.94,1.68,13.62,13.62,0,0,0,3.76.49,37.57,37.57,0,0,0,3.8-.2,24.27,24.27,0,0,0,4-.76,25.78,25.78,0,0,0,4.16-1.55,29.25,29.25,0,0,0,4.29-2.51V75.94a59.56,59.56,0,0,0-12.57,1.65A22.93,22.93,0,0,0,295.55,81.05Z"/><path class="cls-1" d="M448,59.48a15.28,15.28,0,0,0-5.28-5,15.59,15.59,0,0,0-7.85-1.85,14.06,14.06,0,0,0-7.36,1.91,15.94,15.94,0,0,0-5.31,5.24,25.83,25.83,0,0,0-3.2,7.92,42.83,42.83,0,0,0-1.09,9.93,42.15,42.15,0,0,0,1,8.84,28.7,28.7,0,0,0,3,8.18,18.39,18.39,0,0,0,5.34,6,13.06,13.06,0,0,0,7.82,2.35,12.18,12.18,0,0,0,7.52-2.38,18.36,18.36,0,0,0,5.21-6.27,32.75,32.75,0,0,0,3-8.77,50,50,0,0,0,1-10A42.79,42.79,0,0,0,451,66.8,21.49,21.49,0,0,0,448,59.48Z"/><polygon class="cls-2" points="157.16 99.76 112.55 99.76 112.55 9.76 94.41 9.76 94.41 113.16 157.16 113.16 157.16 99.76"/><path class="cls-2" d="M166.41,26.29a10,10,0,0,0,3,2.18,8.58,8.58,0,0,0,3.73.83A9,9,0,0,0,177,28.5a9.6,9.6,0,0,0,3-2.11,9.11,9.11,0,0,0,1.91-3,10.09,10.09,0,0,0,.66-3.63,10.32,10.32,0,0,0-.66-3.66A8.69,8.69,0,0,0,180,13a9.26,9.26,0,0,0-6.8-2.81,10,10,0,0,0-3.73.69,9,9,0,0,0-3,1.95,9.39,9.39,0,0,0-2,3,9.22,9.22,0,0,0-.76,3.76,9,9,0,0,0,.76,3.6A10.51,10.51,0,0,0,166.41,26.29Z"/><rect class="cls-2" x="164.46" y="41.89" width="17.16" height="71.26"/><path class="cls-2" d="M227.51,54a28.87,28.87,0,0,1,4-.29,17.57,17.57,0,0,1,5.61.82,9.84,9.84,0,0,1,4.12,2.64A11.66,11.66,0,0,1,243.74,62a26.48,26.48,0,0,1,.86,7.26v43.95h17.16V66a26.35,26.35,0,0,0-2-10.63,23.13,23.13,0,0,0-5.58-7.92,24.24,24.24,0,0,0-8.31-4.95,30.37,30.37,0,0,0-10.33-1.72,29.73,29.73,0,0,0-6.47.69,32.66,32.66,0,0,0-5.77,1.85,33.69,33.69,0,0,0-4.91,2.61,28.89,28.89,0,0,0-3.83,2.9l-0.3-1.88q-0.17-1-.4-2c-0.16-.64-0.3-1.23-0.43-1.78a8.47,8.47,0,0,0-.4-1.29H196.83a43.07,43.07,0,0,1,.76,6.76q0.1,3.34.1,5.44v59.05h17.16V58.06a31.51,31.51,0,0,1,4-1.78q2.14-.79,4.35-1.38A36.38,36.38,0,0,1,227.51,54Z"/><path class="cls-2" d="M340.26,102.67a17.62,17.62,0,0,1-2,.2,7.09,7.09,0,0,1-2.44-.36,3.31,3.31,0,0,1-1.62-1.26,5.9,5.9,0,0,1-.89-2.44,23.58,23.58,0,0,1-.26-3.86V63.14a19.89,19.89,0,0,0-2.44-10.06,20.43,20.43,0,0,0-6.53-7,30,30,0,0,0-9.37-4,45.27,45.27,0,0,0-11-1.32,46.14,46.14,0,0,0-16.23,2.87,40.73,40.73,0,0,0-13.33,8l9,10.29a59.14,59.14,0,0,1,5.41-4.65,28.78,28.78,0,0,1,4.72-2.9,18.51,18.51,0,0,1,4.52-1.52,25.48,25.48,0,0,1,4.75-.43,18.26,18.26,0,0,1,5.41.76,11.07,11.07,0,0,1,4.19,2.34,10.74,10.74,0,0,1,2.74,4.09,16.36,16.36,0,0,1,1,6v2.57q-5.61,0-11,.46a73.07,73.07,0,0,0-10.26,1.58,43.76,43.76,0,0,0-8.94,3.06,25.23,25.23,0,0,0-7.06,4.92A21.32,21.32,0,0,0,274,85.28a25.36,25.36,0,0,0-1.68,9.6,23.1,23.1,0,0,0,1.45,8.54,16.32,16.32,0,0,0,4.16,6.13,17.66,17.66,0,0,0,6.53,3.73,27.7,27.7,0,0,0,8.64,1.26,44.68,44.68,0,0,0,5.84-.4,33,33,0,0,0,6-1.39,31.7,31.7,0,0,0,11.71-7,10.18,10.18,0,0,0,4.26,6.5,14.35,14.35,0,0,0,8.28,2.28,27.58,27.58,0,0,0,4.85-.4,28.82,28.82,0,0,0,4.09-1,23.92,23.92,0,0,0,3.53-1.48q1.65-.86,3.23-1.85L343,102.2Q341.71,102.47,340.26,102.67Zm-24.35-5.22a29.25,29.25,0,0,1-4.29,2.51,25.78,25.78,0,0,1-4.16,1.55,24.27,24.27,0,0,1-4,.76,37.57,37.57,0,0,1-3.8.2,13.62,13.62,0,0,1-3.76-.49,6.89,6.89,0,0,1-2.94-1.68,7.78,7.78,0,0,1-1.88-3.1,15,15,0,0,1-.66-4.81,17.2,17.2,0,0,1,1.12-6.31,11.51,11.51,0,0,1,4-5,22.93,22.93,0,0,1,7.79-3.46,59.56,59.56,0,0,1,12.57-1.65V97.45Z"/><path class="cls-2" d="M351,47.57q0,1.78.06,3.5c0,1.14,0,2.09,0,2.84v59.25h17.29l-0.13-46.65a22.76,22.76,0,0,1,7.16-7.65,19.87,19.87,0,0,1,14.12-2.54,17.56,17.56,0,0,1,3.92,1.35l3.69-15.51a19.56,19.56,0,0,0-2.84-.92,23.33,23.33,0,0,0-5.41-.46,16,16,0,0,0-6.1,1.32,28.65,28.65,0,0,0-6.1,3.46,32,32,0,0,0-5.28,4.92,22.42,22.42,0,0,0-3.63,5.67,126.22,126.22,0,0,0-2-14.25H350.59c0.09,0.53.16,1.31,0.23,2.34S350.93,46.38,351,47.57Z"/><path class="cls-2" d="M468,63.5a32.72,32.72,0,0,0-6.24-11.88A29.27,29.27,0,0,0,451,43.68a38.14,38.14,0,0,0-15.57-2.9,39.32,39.32,0,0,0-15.74,2.9,31.38,31.38,0,0,0-11.12,7.85A32.41,32.41,0,0,0,402,63a43.53,43.53,0,0,0-2.18,13.86,49.28,49.28,0,0,0,2.34,15.67,32.94,32.94,0,0,0,6.89,12,30.4,30.4,0,0,0,11.25,7.69,40.9,40.9,0,0,0,15.41,2.71A34.22,34.22,0,0,0,450,112a32.12,32.12,0,0,0,10.82-7.92,34.69,34.69,0,0,0,6.79-11.72A42.93,42.93,0,0,0,470,78.12,51.6,51.6,0,0,0,468,63.5ZM450.86,85.64a32.75,32.75,0,0,1-3,8.77,18.36,18.36,0,0,1-5.21,6.27,12.18,12.18,0,0,1-7.52,2.38,13.06,13.06,0,0,1-7.82-2.35,18.39,18.39,0,0,1-5.34-6,28.7,28.7,0,0,1-3-8.18,42.15,42.15,0,0,1-1-8.84A42.83,42.83,0,0,1,419,67.73a25.83,25.83,0,0,1,3.2-7.92,15.94,15.94,0,0,1,5.31-5.24,14.06,14.06,0,0,1,7.36-1.91,15.59,15.59,0,0,1,7.85,1.85,15.28,15.28,0,0,1,5.28,5A21.49,21.49,0,0,1,451,66.8a42.79,42.79,0,0,1,.89,8.88A50,50,0,0,1,450.86,85.64Z"/><path class="cls-3" d="M202.59,124.25H164.07a6.25,6.25,0,0,0-6.25,6.25V169a6.25,6.25,0,0,0,6.25,6.25h38.52a6.25,6.25,0,0,0,6.25-6.25V130.49A6.24,6.24,0,0,0,202.59,124.25Z"/><path class="cls-3" d="M266.66,124.25H228.15a6.25,6.25,0,0,0-6.25,6.25V169a6.25,6.25,0,0,0,6.25,6.25h38.52a6.25,6.25,0,0,0,6.25-6.25V130.49A6.25,6.25,0,0,0,266.66,124.25Z"/><path class="cls-3" d="M330.74,124.25H292.22a6.25,6.25,0,0,0-6.25,6.25V169a6.25,6.25,0,0,0,6.25,6.25h38.52A6.25,6.25,0,0,0,337,169V130.49A6.24,6.24,0,0,0,330.74,124.25Z"/><path class="cls-3" d="M394.8,124.25H356.29a6.25,6.25,0,0,0-6.25,6.25V169a6.25,6.25,0,0,0,6.25,6.25H394.8a6.25,6.25,0,0,0,6.25-6.25V130.49A6.25,6.25,0,0,0,394.8,124.25Z"/><path class="cls-3" d="M458.88,124.25H420.36a6.25,6.25,0,0,0-6.25,6.25V169a6.25,6.25,0,0,0,6.25,6.25h38.51a6.25,6.25,0,0,0,6.25-6.25V130.49A6.25,6.25,0,0,0,458.88,124.25Z"/><path class="cls-3" d="M138.65,124.32H100.07a6.26,6.26,0,0,0-6.26,6.26v38.58a6.26,6.26,0,0,0,6.26,6.26h38.58a6.26,6.26,0,0,0,6.26-6.26V130.57A6.25,6.25,0,0,0,138.65,124.32Z"/><path class="cls-4" d="M58.45,124.24H26.1a5.25,5.25,0,0,0-5.25,5.25v32.35a5.25,5.25,0,0,0,5.25,5.25H58.45a5.25,5.25,0,0,0,5.25-5.25V129.48A5.24,5.24,0,0,0,58.45,124.24Z"/><path class="cls-5" d="M66.1,195.29H39.71a4.28,4.28,0,0,0-4.28,4.28V226a4.28,4.28,0,0,0,4.28,4.28H66.1A4.28,4.28,0,0,0,70.38,226V199.57A4.28,4.28,0,0,0,66.1,195.29Z"/><rect class="cls-6" x="73.51" y="124.29" width="14.65" height="14.64" rx="1.79" ry="1.79"/><path class="cls-7" d="M107.27,150H61.68a7.39,7.39,0,0,0-7.4,7.39v45.59a7.4,7.4,0,0,0,7.4,7.39h45.59a7.39,7.39,0,0,0,7.39-7.39V157.34A7.39,7.39,0,0,0,107.27,150Z"/><rect class="cls-8" x="10" y="135.09" width="21.12" height="21.12" rx="2.59" ry="2.59"/></g></svg>