jmblog-theme 1.1.5 → 1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/themes/jmblog-theme/components/img.html +10 -7
- data/_includes/themes/jmblog-theme/components/related_articles.html +24 -11
- data/_includes/themes/jmblog-theme/post.html +6 -2
- data/_includes/themes/jmblog-theme/theme/default.html +1 -1
- data/_includes/themes/jmblog-theme/theme/maintenance.html +1 -1
- data/_posts/2020-07-06-managing-and-leading-remote-teams-in-our-new-normal.md +8 -0
- data/assets/js/default.bundle.js +1 -1
- data/assets/js/default.bundle.js.br +0 -0
- data/assets/js/default.js.map +1 -1
- data/assets/js/maintenance.bundle.js +1 -1
- data/assets/js/maintenance.bundle.js.br +0 -0
- data/assets/js/maintenance.js.map +1 -1
- data/assets/sass/theme/brand.scss +16 -8
- metadata +7 -24
- data/_includes/JB.old/analytics +0 -20
- data/_includes/JB.old/analytics-providers/getclicky +0 -12
- data/_includes/JB.old/analytics-providers/mixpanel +0 -11
- data/_includes/JB.old/analytics-providers/piwik +0 -10
- data/_includes/JB.old/categories_list +0 -37
- data/_includes/JB.old/comments +0 -16
- data/_includes/JB.old/comments-providers/disqus +0 -17
- data/_includes/JB.old/comments-providers/facebook +0 -9
- data/_includes/JB.old/comments-providers/intensedebate +0 -6
- data/_includes/JB.old/comments-providers/livefyre +0 -6
- data/_includes/JB.old/liquid_raw +0 -32
- data/_includes/JB.old/pages_list +0 -44
- data/_includes/JB.old/posts_collate +0 -55
- data/_includes/JB.old/setup +0 -22
- data/_includes/JB.old/sharing +0 -8
- data/_includes/JB.old/tags_list +0 -35
- data/_includes/JB.old/urlset +0 -10
data/_includes/JB.old/pages_list
DELETED
@@ -1,44 +0,0 @@
|
|
1
|
-
{% comment %}<!--
|
2
|
-
The pages_list include is a listing helper.
|
3
|
-
Usage:
|
4
|
-
1) assign the 'pages_list' variable to a valid array of pages or posts.
|
5
|
-
2) include JB/pages_list
|
6
|
-
example:
|
7
|
-
<ul>
|
8
|
-
{% assign pages_list = site.pages %}
|
9
|
-
{% include JB/pages_list %}
|
10
|
-
</ul>
|
11
|
-
|
12
|
-
Grouping: (optional):
|
13
|
-
assign the 'group' variable to constrain the list to only pages/posts
|
14
|
-
in the given group. Note you must define the group manually in the page/post
|
15
|
-
meta-data to use this feature.
|
16
|
-
Grouping is mainly helpful for non-post pages.
|
17
|
-
If you want to group posts, it's easier/better to tag them, then pass the tagged posts array.
|
18
|
-
i.e. site.tags.cool_tag (this returns an array of posts tagged: cool_tag)
|
19
|
-
|
20
|
-
This helper can be seen in use at: ../_layouts/default.html
|
21
|
-
-->{% endcomment %}
|
22
|
-
|
23
|
-
{% if site.JB.pages_list.provider == "custom" %}
|
24
|
-
{% include custom/pages_list %}
|
25
|
-
{% else %}
|
26
|
-
{% for node in pages_list %}
|
27
|
-
{% if node.title != null %}
|
28
|
-
{% if group == null or group == node.group %}
|
29
|
-
|
30
|
-
{% if limit == null or forloop.index <= limit %}
|
31
|
-
{% if page.url == node.url %}
|
32
|
-
<li class="active"><a href="{{ BASE_PATH }}{{node.url}}" class="active">{{node.title}}</a></li>
|
33
|
-
{% else %}
|
34
|
-
<li><a href="{{ BASE_PATH }}{{node.url}}">{{node.title}}</a></li>
|
35
|
-
{% endif %}
|
36
|
-
{% endif %}
|
37
|
-
|
38
|
-
{% endif %}
|
39
|
-
{% endif %}
|
40
|
-
{% endfor %}
|
41
|
-
{% endif %}
|
42
|
-
{% assign pages_list = nil %}
|
43
|
-
{% assign group = nil %}
|
44
|
-
{% assign limit = nil %}
|
@@ -1,55 +0,0 @@
|
|
1
|
-
{% comment %}<!--
|
2
|
-
Collate_posts helper. Collated posts by year and month.
|
3
|
-
Usage:
|
4
|
-
1) assign the 'posts_collate' variable to a valid array of posts.
|
5
|
-
2) include JB/posts_collate
|
6
|
-
example:
|
7
|
-
{% assign posts_collate = site.posts %}
|
8
|
-
{% include JB/posts_collate %}
|
9
|
-
|
10
|
-
Ordering:
|
11
|
-
Posts are displayed in reverse chronological order.
|
12
|
-
For normal chronological order:
|
13
|
-
1) Change the for loop to this:
|
14
|
-
=> 'for post in site.posts reversed'
|
15
|
-
2) Next make sure to change 'post.previous.date' to:
|
16
|
-
=> 'post.next.date'
|
17
|
-
|
18
|
-
-->{% endcomment %}
|
19
|
-
|
20
|
-
{% if site.JB.posts_collate.provider == "custom" %}
|
21
|
-
{% include custom/posts_collate %}
|
22
|
-
{% else %}
|
23
|
-
{% for post in posts_collate %}
|
24
|
-
{% capture this_year %}{{ post.date | date: "%Y" }}{% endcapture %}
|
25
|
-
{% capture this_month %}{{ post.date | date: "%B" }}{% endcapture %}
|
26
|
-
{% capture next_year %}{{ post.previous.date | date: "%Y" }}{% endcapture %}
|
27
|
-
{% capture next_month %}{{ post.previous.date | date: "%B" }}{% endcapture %}
|
28
|
-
|
29
|
-
{% if forloop.first %}
|
30
|
-
<h2>{{this_year}}</h2>
|
31
|
-
<h3>{{this_month}}</h3>
|
32
|
-
<ul>
|
33
|
-
{% endif %}
|
34
|
-
|
35
|
-
<li><span>{{ post.date | date: "%B %e, %Y" }}</span> » <a href="{{ BASE_PATH }}{{ post.url }}">{{ post.title }}</a></li>
|
36
|
-
|
37
|
-
{% if forloop.last %}
|
38
|
-
</ul>
|
39
|
-
{% else %}
|
40
|
-
{% if this_year != next_year %}
|
41
|
-
</ul>
|
42
|
-
<h2>{{next_year}}</h2>
|
43
|
-
<h3>{{next_month}}</h3>
|
44
|
-
<ul>
|
45
|
-
{% else %}
|
46
|
-
{% if this_month != next_month %}
|
47
|
-
</ul>
|
48
|
-
<h3>{{next_month}}</h3>
|
49
|
-
<ul>
|
50
|
-
{% endif %}
|
51
|
-
{% endif %}
|
52
|
-
{% endif %}
|
53
|
-
{% endfor %}
|
54
|
-
{% endif %}
|
55
|
-
{% assign posts_collate = nil %}
|
data/_includes/JB.old/setup
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
{% capture jbcache %}
|
2
|
-
<!--
|
3
|
-
- Dynamically set liquid variables for working with URLs/paths
|
4
|
-
-->
|
5
|
-
{% if site.JB.setup.provider == "custom" %}
|
6
|
-
{% include custom/setup %}
|
7
|
-
{% else %}
|
8
|
-
{% if site.safe and site.JB.BASE_PATH and site.JB.BASE_PATH != '' %}
|
9
|
-
{% assign BASE_PATH = site.JB.BASE_PATH %}
|
10
|
-
{% assign HOME_PATH = site.JB.BASE_PATH %}
|
11
|
-
{% else %}
|
12
|
-
{% assign BASE_PATH = nil %}
|
13
|
-
{% assign HOME_PATH = "/" %}
|
14
|
-
{% endif %}
|
15
|
-
|
16
|
-
{% if site.JB.ASSET_PATH %}
|
17
|
-
{% assign ASSET_PATH = site.JB.ASSET_PATH %}
|
18
|
-
{% else %}
|
19
|
-
{% capture ASSET_PATH %}{{ BASE_PATH }}/assets/themes/{{ layout.theme.name }}{% endcapture %}
|
20
|
-
{% endif %}
|
21
|
-
{% endif %}
|
22
|
-
{% endcapture %}{% assign jbcache = nil %}
|
data/_includes/JB.old/sharing
DELETED
data/_includes/JB.old/tags_list
DELETED
@@ -1,35 +0,0 @@
|
|
1
|
-
{% comment %}<!--
|
2
|
-
The tags_list include is a listing helper for tags.
|
3
|
-
Usage:
|
4
|
-
1) assign the 'tags_list' variable to a valid array of tags.
|
5
|
-
2) include JB/tags_list
|
6
|
-
example:
|
7
|
-
<ul>
|
8
|
-
{% assign tags_list = site.tags %}
|
9
|
-
{% include JB/tags_list %}
|
10
|
-
</ul>
|
11
|
-
|
12
|
-
Notes:
|
13
|
-
Tags can be either a Hash of tag objects (hashes) or an Array of tag-names (strings).
|
14
|
-
The encapsulating 'if' statement checks whether tags_list is a Hash or Array.
|
15
|
-
site.tags is a Hash while page.tags is an array.
|
16
|
-
|
17
|
-
This helper can be seen in use at: ../_layouts/default.html
|
18
|
-
-->{% endcomment %}
|
19
|
-
|
20
|
-
{% if site.JB.tags_list.provider == "custom" %}
|
21
|
-
{% include custom/tags_list %}
|
22
|
-
{% else %}
|
23
|
-
{% if tags_list.first[0] == null %}
|
24
|
-
{% for tag in tags_list %}
|
25
|
-
<li><i class="fa fa-tags"></i> <a href="{{ BASE_PATH }}{{ site.JB.tags_path }}#{{ tag }}-ref">{{ tag }}
|
26
|
-
{% unless nobadges %}<span class="badge">{{ site.tags[tag].size }}</span>{% endunless %}
|
27
|
-
</a></li>
|
28
|
-
{% endfor %}
|
29
|
-
{% else %}
|
30
|
-
{% for tag in tags_list %}
|
31
|
-
<li><a href="{{ BASE_PATH }}{{ site.JB.tags_path }}#{{ tag[0] }}-ref">{{ tag[0] }} <span class="badge">{{ tag[1].size }}</span></a></li>
|
32
|
-
{% endfor %}
|
33
|
-
{% endif %}
|
34
|
-
{% endif %}
|
35
|
-
{% assign tags_list = nil %}
|
data/_includes/JB.old/urlset
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
{% for url in urlset %}
|
2
|
-
{% unless url.sitemap.noindex != null %}
|
3
|
-
<url>
|
4
|
-
<loc>{{site.production_url}}{{ url.url }}</loc>
|
5
|
-
<lastmod>{% unless url.date == null %}{{ url.date | date_to_xmlschema }}{% else %}{{ site.time | date_to_xmlschema }}
|
6
|
-
{% endunless %}</lastmod><changefreq>monthly</changefreq>
|
7
|
-
<priority>{% unless url.sitemap.priority %}0.5{% else %}{{url.sitemap.priority}}{% endunless %}</priority>
|
8
|
-
</url>{% endunless %}
|
9
|
-
{% endfor %}
|
10
|
-
{% assign urlset = nil %}
|