jumbo-jekyll-theme 4.6.2 → 4.7.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: 7fde3bbeaf810c8f6d655a4b80166db21ac48ee3ba655603a612cba4a22f1bfa
4
- data.tar.gz: 3aaf9aa293e988e44955fbf10bdfb7e1a27cedefd1d3c6c01ff7062fc2321a62
3
+ metadata.gz: ef893aef667c537fbc1f0d540f29907da788e1d8370fbac3ae554639aa9ac87c
4
+ data.tar.gz: 57480c7cb735d4c4035a0e2c636a5b4196733aac13c9683a79161939c9dd3b4e
5
5
  SHA512:
6
- metadata.gz: bcf8e887d878dd7ce6a325ab451d92ec838b70f36d415d24b81d22545fb9bd2dbd62acf54067ee8d17bad9c603c9571a5c21ad490655b6572267d47aeed135be
7
- data.tar.gz: a821038c71f6447a6691beda68a12046697d697cdd14cec33d01d5ffdf66189d31a58f2f1984efc83d9429d76e67b01e94b49ec0d14a7cb3d26bab246d3e38b8
6
+ metadata.gz: 39920352100ebee486f8e45307bbad672b2f52280a7da248eaa503d32cbc7cb66f40490b304af90fed272f47da6f7ea6b73ea6970ee60c7cfd6ccc36ccf2478d
7
+ data.tar.gz: d5f0f84fb4eaeb98076371bf47df06515cdc3436c174b51b843777c66bf010b75454b4c654763e57e0b67152ec7b7e5fe2eb7ecd75ff1aa1360cea565fcc4b22
@@ -16,34 +16,3 @@
16
16
  </div>
17
17
  {% endif %}
18
18
  {% endfor %}
19
- {% assign co-authored-posts = false %}
20
- {% for post in site.posts %}
21
- {% if post.co-author == page.username %}
22
- {% assign co-authored-posts = true %}
23
- {% endif %}
24
- {% endfor %}
25
- {% if co-authored-posts == true %}
26
- <div class="row">
27
- <div class="col-xs-12">
28
- <h3>Featured Posts</h3>
29
- </div>
30
- </div>
31
- {% endif %}
32
- {% for post in site.posts %}
33
- {% if post.co-author == page.username %}
34
- <div class="row blog_post">
35
- <div class="col-xs-12 post_title ">
36
- <a href="{{post.url}}"><h3>{{ post.title}}</h3></a>
37
- <em>{{ post.date | date: "%A, %B %-d, %Y"}}</em><br />
38
- <p class="post_excerpt">
39
- {{ post.content | strip_html | truncatewords:30 }}
40
- </p>
41
- <p>
42
- <a href="{{post.url}}">
43
- <button class="btn blog-read-more-btn">Read More</button>
44
- </a>
45
- </p>
46
- </div>
47
- </div>
48
- {% endif %}
49
- {% endfor %}
@@ -1,24 +1,90 @@
1
1
  {% if paginator.total_posts > 0 %}
2
- {% if site.data.settings.blog.show_thumbnails %}
3
2
  <div class="row blog-section">
4
- {% endif %}
5
3
  {% for post in paginator.posts %}
6
4
  {% assign timeframe = 604800 %}
7
5
  {% assign post_in_seconds = post.date | date: "%s" | plus: 0 %}
8
6
  {% assign recent_posts = "now" | date: "%s" | minus: timeframe %}
9
- {% if site.data.settings.blog.show_thumbnails %}
10
- {% if forloop.first and paginator.page == 1 %}
11
- <style>
12
- @media(min-width: 1000px){
13
- .blog-post-item-col:nth-child(3n+2) > .blog-post-item {
14
- margin-right:0px !important;
15
- margin-left:0px !important;
16
- }
7
+
8
+ {% if forloop.first and paginator.page == 1 %}
9
+ <style>
10
+ @media(min-width: 1000px){
11
+ .blog-post-item-col:nth-child(3n+2) > .blog-post-item {
12
+ margin-right:0px !important;
13
+ margin-left:0px !important;
17
14
  }
18
- </style>
19
- <div class="featured-post-row">
20
- <div class="col-xs-12 col-sm-7 col-sm-push-5 latest-featured-post">
21
- <a href="{{post.url}}">
15
+ }
16
+ </style>
17
+ <div class="featured-post-row">
18
+ <div class="col-xs-12 col-sm-7 col-sm-push-5 latest-featured-post">
19
+ <a href="{{post.url}}">
20
+ {% assign image_path = "" %}
21
+ {% if post.image.thumb %}
22
+ {% capture image_path %}{{site.blog_images_dir}}thumbs/{{post.image.thumb}}{% endcapture %}
23
+ {% capture full_path %}/{{site.blog_images_dir}}thumbs/{{post.image.thumb}}{% endcapture %}
24
+ {% elsif post.image.name %}
25
+ {% capture image_path %}{{site.blog_images_dir}}{{post.image.name}}{% endcapture %}
26
+ {% capture full_path %}/{{site.blog_images_dir}}{{post.image.name}}{% endcapture %}
27
+ {% elsif post.image.path %}
28
+ {% capture image_path %}{{post.image.path | remove_first: "/" }}{% endcapture %}
29
+ {% capture full_path %}{{post.image.path}}{% endcapture %}
30
+ {% elsif post.image == site.data.settings.social_share_image %}
31
+ {% capture image_path %}{{site.data.settings.placeholder | remove_first: "/" }}{% endcapture %}
32
+ {% capture full_path %}{{site.data.settings.placeholder}}{% endcapture %}
33
+ {% elsif post.image %}
34
+ {% capture image_path %}{{post.image | remove_first: "/" }}{% endcapture %}
35
+ {% capture full_path %}{{post.image}}{% endcapture %}
36
+ {% else %}
37
+ <img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="
38
+ data-src="{{site.data.settings.placeholder}}" alt="{{post.title}}" class="center-block img-responsive lazyload"/>
39
+ {% endif %}
40
+ {% if image_path != "" %}
41
+ {% responsive_image_block %}
42
+ template: _includes/thumbnail_image.html
43
+ path: {{ image_path }}
44
+ fullpath: {{ full_path }}
45
+ {% if post.title %}
46
+ title: {{ post.title | slugify: "ascii"}}
47
+ alt: {{ post.title | slugify: "ascii"}}
48
+ {% endif %}
49
+ {% endresponsive_image_block %}
50
+ {% endif %}
51
+ </a>
52
+ </div>
53
+ <div class="col-xs-12 col-sm-5 col-sm-pull-7 latest-featured-post-content">
54
+ <a href="{{post.url}}">
55
+ <div class="post-info">
56
+ <span class="post-cat">{{post.categories | first | capitalize }}</span>
57
+ <h3>{{post.title}}</h3>
58
+ <p class="excerpt">
59
+ {% if post.description %}
60
+ {{post.description}}
61
+ {% else %}
62
+ {{ post.content | strip_html | truncatewords:30 }}
63
+ {% endif %}
64
+ </p>
65
+ <a href="{{post.url}}" class="btn btn-primary">
66
+ Read Post
67
+ </a>
68
+ </div>
69
+ </a>
70
+ </div>
71
+ </div>
72
+ {% else %}
73
+
74
+ {% comment %}
75
+ Blog Filler Element - This is needed due to the layout of the blog. If not included then there will be an empty col on the first blog page.
76
+ {% endcomment %}
77
+ {% if forloop.index == 4 and paginator.page == 1 %}
78
+ {% if site.data.settings.blog.filler-element %}
79
+ {% include {{site.data.settings.blog.filler-element}} %}
80
+ {% endif %}
81
+ {% endif %}
82
+
83
+ <div class="col-sm-4 col-xs-12 blog-post-item-col no-padding">
84
+ <div class="blog-post-item">
85
+ <a href="{{post.url}}">
86
+ <div class="blog-featured-image {% if post.image == site.data.settings.social_share_image %}using-placeholder{% endif %}">
87
+
22
88
  {% assign image_path = "" %}
23
89
  {% if post.image.thumb %}
24
90
  {% capture image_path %}{{site.blog_images_dir}}thumbs/{{post.image.thumb}}{% endcapture %}
@@ -30,8 +96,9 @@
30
96
  {% capture image_path %}{{post.image.path | remove_first: "/" }}{% endcapture %}
31
97
  {% capture full_path %}{{post.image.path}}{% endcapture %}
32
98
  {% elsif post.image == site.data.settings.social_share_image %}
33
- {% capture image_path %}{{site.data.settings.placeholder | remove_first: "/" }}{% endcapture %}
34
- {% capture full_path %}{{site.data.settings.placeholder}}{% endcapture %}
99
+ {% capture image_path %}{{site.data.settings.placeholder | remove_first: "/" }}{% endcapture %}
100
+ {% capture full_path %}{{site.data.settings.placeholder}}{% endcapture %}
101
+ {% assign using_placeholder = "true" %}
35
102
  {% elsif post.image %}
36
103
  {% capture image_path %}{{post.image | remove_first: "/" }}{% endcapture %}
37
104
  {% capture full_path %}{{post.image}}{% endcapture %}
@@ -39,6 +106,7 @@
39
106
  <img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="
40
107
  data-src="{{site.data.settings.placeholder}}" alt="{{post.title}}" class="center-block img-responsive lazyload"/>
41
108
  {% endif %}
109
+
42
110
  {% if image_path != "" %}
43
111
  {% responsive_image_block %}
44
112
  template: _includes/thumbnail_image.html
@@ -50,146 +118,35 @@
50
118
  {% endif %}
51
119
  {% endresponsive_image_block %}
52
120
  {% endif %}
53
- </a>
54
- </div>
55
- <div class="col-xs-12 col-sm-5 col-sm-pull-7 latest-featured-post-content">
56
- <a href="{{post.url}}">
57
- <div class="post-info">
58
- <span class="post-cat">{{post.categories | first | capitalize }}</span>
59
- <h3>{{post.title}}</h3>
60
- <p class="excerpt">
61
- {% if post.description %}
62
- {{post.description}}
63
- {% else %}
64
- {{ post.content | strip_html | truncatewords:30 }}
65
- {% endif %}
66
- </p>
67
- <a href="{{post.url}}" class="btn btn-primary">
68
- Read Post
69
- </a>
70
- </div>
71
- </a>
72
- </div>
73
- </div>
74
- {% else %}
75
-
76
- {% comment %}
77
- Blog Filler Element - This is needed due to the layout of the blog. If not included then there will be an empty col on the first blog page.
78
- {% endcomment %}
79
-
80
- {% if forloop.index == 4 and paginator.page == 1 %}
81
- {% if site.data.settings.blog.filler-element %}
82
- {% include {{site.data.settings.blog.filler-element}} %}
83
- {% endif %}
84
- {% endif %}
85
- <div class="col-sm-4 col-xs-12 blog-post-item-col no-padding">
86
- <div class="blog-post-item">
87
- <a href="{{post.url}}">
88
- <div class="blog-featured-image {% if post.image == site.data.settings.social_share_image %}using-placeholder{% endif %}">
89
-
90
- {% assign image_path = "" %}
91
- {% if post.image.thumb %}
92
- {% capture image_path %}{{site.blog_images_dir}}thumbs/{{post.image.thumb}}{% endcapture %}
93
- {% capture full_path %}/{{site.blog_images_dir}}thumbs/{{post.image.thumb}}{% endcapture %}
94
- {% elsif post.image.name %}
95
- {% capture image_path %}{{site.blog_images_dir}}{{post.image.name}}{% endcapture %}
96
- {% capture full_path %}/{{site.blog_images_dir}}{{post.image.name}}{% endcapture %}
97
- {% elsif post.image.path %}
98
- {% capture image_path %}{{post.image.path | remove_first: "/" }}{% endcapture %}
99
- {% capture full_path %}{{post.image.path}}{% endcapture %}
100
- {% elsif post.image == site.data.settings.social_share_image %}
101
- {% capture image_path %}{{site.data.settings.placeholder | remove_first: "/" }}{% endcapture %}
102
- {% capture full_path %}{{site.data.settings.placeholder}}{% endcapture %}
103
- {% assign using_placeholder = "true" %}
104
- {% elsif post.image %}
105
- {% capture image_path %}{{post.image | remove_first: "/" }}{% endcapture %}
106
- {% capture full_path %}{{post.image}}{% endcapture %}
107
- {% else %}
108
- <img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="
109
- data-src="{{site.data.settings.placeholder}}" alt="{{post.title}}" class="center-block img-responsive lazyload"/>
110
- {% endif %}
111
-
112
- {% if image_path != "" %}
113
- {% responsive_image_block %}
114
- template: _includes/thumbnail_image.html
115
- path: {{ image_path }}
116
- fullpath: {{ full_path }}
117
- {% if post.title %}
118
- title: {{ post.title | slugify: "ascii"}}
119
- alt: {{ post.title | slugify: "ascii"}}
120
- {% endif %}
121
- {% endresponsive_image_block %}
122
- {% endif %}
123
- <div class="read-article">
124
- <i class="fa fa-eye"></i> Read Article
125
- </div>
126
- </div>
127
- <div class="blog-post-item-content">
128
- <div class="post-cat">{{post.categories | first | capitalize }}</div>
129
- {% if site.data.settings.blog.reading_time %}
130
- {% include read_time.html content=post.content %}
131
- {% endif %}
132
- <h3>{{ post.title}}</h3>
133
- <br />
134
- <p class="post_excerpt">
135
- {{ post.content | strip_html | truncatewords:30 }}
136
- </p>
137
- <div class="author-section">
138
- {% if post.author %}
139
- {% assign author = site.authors | where: "username", post.author | first %}
140
- {% assign author-url = author.url %}
141
- <div class="blog-author-image lazyload" data-bg="{% if author.image.path %}{{author.image.path}}{% else %}{{site.data.settings.blog.avatar_placeholder}}{% endif %}"></div>
142
- {% endif %}
143
- {% if post.co-author %}
144
- {% if site.authors %}
145
- {% assign co-author = site.authors | where: "username", post.co-author | first %}
146
- {% assign co-author-url = co-author.url %}
147
- {% endif %}
148
- <div class="blog-author-image co-author lazyload" data-bg="{% if co-author.image.path %}
149
- {{co-author.image.path}}
150
- {% else %}
151
- {{site.data.settings.blog.avatar_placeholder}}
152
- {% endif %}"></div>
153
- <small class="blog-author">
154
- <em>{% if author.first_name %}{{author.first_name}}{% else %}{{post.author}}{% endif %}</em> &
155
- <em>{% if co-author.first_name %}{{co-author.first_name}}{% else %}{{post.co-author}}{% endif %}</em>
156
- </small>
157
- {% else %}
158
- <small class="blog-author">
159
- <em>{% if author.name %}{{author.name}}{% else %}{{post.author}}{% endif %}</em>
160
- </small>
161
- {% endif %}
121
+ <div class="read-article">
122
+ <i class="fa fa-eye"></i> Read Article
162
123
  </div>
163
124
  </div>
164
- </a>
125
+ <div class="blog-post-item-content">
126
+ <div class="post-cat">{{post.categories | first | capitalize }}</div>
127
+ {% include read_time.html content=post.content %}
128
+ <h3>{{ post.title}}</h3>
129
+ <small>{{ post.date | date: "%A, %B %-d, %Y"}}</small>
130
+ <br />
131
+ <p class="post_excerpt">
132
+ {{ post.content | strip_html | truncatewords:30 }}
133
+ </p>
134
+ <div class="author-section">
135
+ {% assign author = site.authors | where: "username", post.author | first %}
136
+ {% assign author-url = author.url %}
137
+ <div class="blog-author-image lazyload" data-bg="{% if author.image.path %}{{author.image.path}}{% else %}{{site.data.settings.blog.avatar_placeholder}}{% endif %}"></div>
138
+ <small class="blog-author">
139
+ <em>{% if author.name %}{{author.name}}{% else %}{{post.author}}{% endif %}</em>
140
+ </small>
141
+ </div>
165
142
  </div>
166
-
167
- </div>
168
- {% endif %}
169
- {% else %}
170
- <div class="row blog_post">
171
- <div class="col-xs-12 post_title no-padding">
172
- <a href="{{post.url}}"><h3>{{ post.title}}</h3></a>
173
- <em>{{ post.date | date: "%A, %B %-d, %Y"}}</em>
174
- {% if post_in_seconds > recent_posts %}
175
- <span class="new-post" title="Post added in the last week.">New</span>
176
- {% endif %}
177
- <br />
178
- <p class="post_excerpt">
179
- {{ post.content | strip_html | truncatewords:30 }}
180
- </p>
181
- <p>
182
- <a href="{{post.url}}">
183
- <button class="btn blog-read-more-btn">Read More</button>
184
- </a>
185
- </p>
143
+ </a>
186
144
  </div>
145
+
187
146
  </div>
188
147
  {% endif %}
189
- {% endfor %}
190
- {% if site.data.settings.blog.show_thumbnails %}
148
+ {% endfor %}
191
149
  </div>
192
- {% endif %}
193
150
  {% else %}
194
151
  <p>
195
152
  No posts of this category were found!
@@ -29,9 +29,9 @@
29
29
  {% endfor %}
30
30
  {% endif %}
31
31
  {% if paginator.next_page %}
32
- <li><a href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}">Next &raquo;</a></li>
32
+ <li><a href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}">Next </a></li>
33
33
  {% else %}
34
- <li><a href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}">Next &raquo;</a></li>
34
+ <li class="disabled"><a href="#">Next &raquo;</a></li>
35
35
  {% endif %}
36
36
  </ul>
37
37
  </div>
@@ -16,11 +16,11 @@
16
16
  {% comment %}
17
17
  Recent Posts Displayed here.
18
18
  {% endcomment %}
19
- <div class="col-xs-12 col-sm-6">
19
+ <div class="col-xs-12 col-sm-6 no-padding">
20
20
 
21
21
  <div class="panel panel-primary" class="blog-sidebar">
22
22
  <div class="panel-heading">
23
- <h3 class="panel-title">Recent Posts</h3>
23
+ <h3 class="panel-title text-center">Recent Posts</h3>
24
24
  </div>
25
25
  <div class="panel-body">
26
26
  {% for post in site.posts limit: 3 %}
@@ -105,11 +105,11 @@
105
105
  {% comment %}
106
106
  Other Posts
107
107
  {% endcomment %}
108
- <div class="col-xs-12 col-sm-6">
108
+ <div class="col-xs-12 col-sm-6 no-padding">
109
109
 
110
110
  <div class="panel panel-primary" class="blog-sidebar">
111
111
  <div class="panel-heading">
112
- <h3 class="panel-title">Other Posts</h3>
112
+ <h3 class="panel-title text-center">Other Posts</h3>
113
113
  </div>
114
114
  <div class="panel-body">
115
115
  {% assign posts = site.posts | sample:5 %}
@@ -4,4 +4,4 @@
4
4
  {% else %}
5
5
  {% assign words = content | number_of_words %}
6
6
  {% endif %}
7
- <span class="reading-time" title="Estimated read time">{% if words < 360 %}1 min read{% else %}{{ words | divided_by:180 }} mins read{% endif %}</span>
7
+ <span class="reading-time" title="Estimated read time">{% if words < 360 %}1 min read{% else %}{{ words | divided_by:180 }} mins read{% endif %} <i class="fa fa-clock-o" aria-hidden="true"></i></span>
data/_layouts/author.html CHANGED
@@ -6,11 +6,8 @@ css-package: blog
6
6
  js-package: blog
7
7
  ---
8
8
  <div class="row blog-row">
9
- <div class="col-md-9">
9
+ <div class="col-xs-12">
10
10
  {{content}}
11
11
  {% include authors-posts.html %}
12
12
  </div>
13
- <div class="col-md-3">
14
- {% include post-sidebar.html %}
15
- </div>
16
13
  </div>
data/_layouts/post.html CHANGED
@@ -3,155 +3,47 @@ layout: base
3
3
  js-package: blog
4
4
  css-package: blog
5
5
  ---
6
- {% if page.image or page.image.path %}
7
- <div class="row overlay background-image {% if page.image.background-class %}{{page.image.background-class}}{% endif %}" id="jumbotron" style="background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('{% if page.image.path %}{{page.image.path}}{% else %}{{page.image}}{% endif %}');"> <!--Row -->
8
- <div id="jumbotron-content" class="flex-container"> <!--Jumbotron div -->
9
- <div class="container flex-center" id="jumbotron-text"> <!--Container -->
10
- <h1 id="jumbotron-heading">{{page.title}}</h1>
11
- {% if page.author %}
12
- {% assign author = site.authors | where: "username", page.author | first %}
13
- {% assign author-url = author.url %}
14
- <a href="{{author-url}}">
15
- <div class="blog-author-image lazyload" data-bg="{% if author.image.path %}{{author.image.path}}{% else %}{{site.data.settings.blog.avatar_placeholder}}{% endif %}"></div>
16
- </a>
17
- {% endif %}
18
- {% if page.co-author %}
19
- {% if site.authors %}
20
- {% assign co-author = site.authors | where: "username", page.co-author | first %}
21
- {% assign co-author-url = co-author.url %}
22
- {% endif %}
23
- <a href="{{co-author-url}}">
24
- <div class="blog-author-image lazyload" data-bg="{% if co-author.image.name %}
25
- {{co-author.image.path}}
26
- {% else %}
27
- {{site.data.settings.blog.avatar_placeholder}}
28
- {% endif %}"></div>
29
- </a>
30
- <small class="blog-author text-center">
31
- By
32
- <em>{% if author.name %}{{author.name}}{% else %}{{page.author}}{% endif %}</em>
33
- and
34
- <em>{% if co-author.name %}{{co-author.name}}{% else %}{{page.co-author}}{% endif %}</em>
35
- </small>
36
- {% else %}
37
- <small class="blog-author text-center">
38
- By
39
- <em>{% if author.name %}{{author.name}}{% else %}{{page.author}}{% endif %}</em>
40
- </small>
41
- {% endif %}
42
- {% if page.date %}
43
- <small class="blog-date text-center">
44
- <em>{{page.date | date: "%A, %B %-d, %Y"}}</em>
45
- </small>
46
- {% endif %}
47
- {% if site.data.settings.blog.reading_time %}
48
- {% include read_time.html %}
49
- {% endif %}
50
- </div>
51
- </div>
6
+ <div class="row overlay background-image {% if page.image.background-class %}{{page.image.background-class}}{% endif %}" id="jumbotron" style="background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('{% if page.image.path %}{{page.image.path}}{% else %}{{page.image}}{% endif %}');"> <!--Row -->
7
+ <div id="jumbotron-content" class="flex-container"> <!--Jumbotron div -->
8
+ <div class="container flex-center" id="jumbotron-text"> <!--Container -->
9
+ <h1 id="jumbotron-heading">{{page.title}}</h1>
10
+ {% assign author = site.authors | where: "username", page.author | first %}
11
+ {% assign author-url = author.url %}
12
+ <a href="{{author-url}}">
13
+ <div class="blog-author-image lazyload" data-bg="{% if author.image.path %}{{author.image.path}}{% else %}{{site.data.settings.blog.avatar_placeholder}}{% endif %}"></div>
14
+ </a>
15
+ <small class="blog-author text-center">
16
+ By
17
+ <em>{% if author.name %}{{author.name}}{% else %}{{page.author}}{% endif %}</em>
18
+ </small>
19
+ <small class="blog-date text-center">
20
+ <em>{{page.date | date: "%A, %B %-d, %Y"}}</em>
21
+ </small>
22
+ {% include read_time.html %}
52
23
  </div>
53
- {% endif %}
24
+ </div>
25
+ </div>
54
26
  <div class="row" id="content-container">
55
27
  <div class="container">
56
- {% if site.data.settings.blog.sidebar.display-on-posts %}
57
28
  <div class="col-xs-12 col-sm-8 col-sm-offset-2 blog-content">
58
- <article class="post-content">
59
- {% unless page.image %}
60
- <div class="post-info">
61
- <h1>{{page.title }}</h1>
62
- {% if page.date %}<small class="blog-date text-center"><em>Posted on <b>{{page.date | date: "%A, %B %-d, %Y"}}</b></em></small>{% endif %}
63
- {% if page.categories %}in <a href="/categories/#{{page.categories[0]}}">{{page.categories[0] | capitalize}}</a>{% endif %}
64
- {% if page.author %}
65
- {% if site.authors %}
66
- {% assign author = site.authors | where: "username", page.author | first %}
67
- {% assign author-url = author.url %}
68
- {% assign using-data-file = false %}
69
- {% elsif site.data.authors %}
70
- {% assign using-data-file = true %}
71
- {% assign author = site.data.authors | where: "username", page.author | first %}
72
- {% assign author-url = "#" %}
73
- {% endif %}
74
- <em> By
75
- {% if author %}
76
- <a href="{{author-url}}">
77
- <strong>
78
- {{author.name}}
79
- </strong>
80
- </a>
81
- {% else %}
82
- <strong>
83
- {{page.author}}
84
- </strong>
85
- {% endif %}
86
-
87
- </em>
88
- {% endif %}
89
- </div>
90
- {% endunless %}
91
- {{ content }}
92
- {% include post-series.html %}
93
- </article>
94
-
95
- {% comment %}
96
- TAGS - Check to see if the tags_enabled setting in settings.yml data file is toggled.
97
- {% endcomment %}
98
-
99
- {% include post-tags.html %}
100
-
29
+ <article class="post-content">
30
+ {{ content }}
31
+ {% include post-series.html %}
32
+ </article>
101
33
  {% comment %}
102
34
  COMMENTS - Check to see if comments are toggled for this particular post.
103
35
  {% endcomment %}
104
-
105
36
  {% include disqus-comments.html %}
106
37
  </div>
107
- <div class="col-xs-12 col-sm-8 col-sm-offset-2 blog-sidebar ">
108
- {% if site.data.settings.blog.tags_enabled %}
109
- {% if page.tags %}
110
- {% assign post_tags = page.tags %}
111
- {% elsif page.keywords %}
112
- {% assign post_tags = page.tags %}
113
- {% else %}
114
- {% assign post_tags = "" %}
115
- {% endif %}
38
+ <div class="col-xs-12 col-sm-8 col-sm-offset-2 no-padding blog-sidebar ">
39
+ {% if page.tags %}
40
+ {% assign post_tags = page.tags %}
41
+ {% elsif page.keywords %}
42
+ {% assign post_tags = page.tags %}
116
43
  {% else %}
117
44
  {% assign post_tags = "" %}
118
45
  {% endif %}
119
46
  {% include post-sidebar.html tags=post_tags post_cat=page.categories %}
120
47
  </div>
121
- {% else %}
122
- <div class="col-xs-12 no-padding">
123
- <article class="post-content">
124
- {% unless page.image %}
125
- <div class="post-info">
126
- <h1>{{page.title }}</h1>
127
- {% if page.date %}<small class="blog-date text-center"><em>Posted on <b>{{page.date | date: "%A, %B %-d, %Y"}}</b></em></small>{% endif %}
128
- {% if page.categories %}in <a href="/categories/#{{page.categories[0]}}">{{page.categories[0] | capitalize}}</a>{% endif %}
129
- {% if page.author %}
130
- {% assign author = site.authors | where: 'username' , page.author %}
131
- {% assign author = author[0] %}
132
- <em> By
133
- {% if author %}
134
- <a href="{{author-url}}">
135
- <strong>
136
- {{author.name}}
137
- </strong>
138
- </a>
139
- {% else %}
140
- <strong>
141
- {{page.author}}
142
- </strong>
143
- {% endif %}
144
-
145
- </em>
146
- {% endif %}
147
- </div>
148
- {% endunless %}
149
- {{ content }}
150
- {% include post-series.html %}
151
- </article>
152
- </div>
153
- {% endif %}
154
-
155
-
156
48
  </div>
157
49
  </div>