jmblog-theme 1.1.7 → 1.1.8

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: 1d78f24434d29787390995ddb27ead7358318ea4dae08219bcc8ce679f4e0f16
4
- data.tar.gz: 903d039b00b05299e57245f11a67ebb7903fff2829f7fcb076567600b16ef1f3
3
+ metadata.gz: 92b73d53dd591848b25d2d1652c5cf21aa5329931ea168a9dbd0a1de29a60aaa
4
+ data.tar.gz: fea3631f9e25a8295471140b5356e819fe94e85eeaa2c90aad6d6e0bbaea6b91
5
5
  SHA512:
6
- metadata.gz: 85584cf4d38e5641f27a64457f7e8d3e55f0deb9d102086023003a5f21dfee7925499dda1d31c280dde180c931e2dc853b91668d75eb44d04f12260538d24136
7
- data.tar.gz: 47d0a290aacee0cdae51662a147fa857f8826d089b041655cdeb7862799358cd1171fe60c26a1417ed26f4f48a1654d3846a219103bceb9a85a9402d10916e20
6
+ metadata.gz: c7303a2110714f37c9a9e33bae65ff937de6bf819bb56cc2323257a84560342f55d3cbe13ac0e7ab6748f2c1e36097afe1e31d1d00fb5e8799537ca9dff0c125
7
+ data.tar.gz: dc14e146419cce7d81576016152ea467a1072addd30f8827a5383ac6f22c9b2c95b405a514c6bc9ffe33241c7ed96a689c024543720ac053890011da5ca4976e
@@ -5,8 +5,8 @@
5
5
  {% endcapture %}
6
6
  <figure class="image{{ include.res | default: 'is-3by2' | prepend: ' ' }}">
7
7
  <img
8
- data-src="{{ include.src | default: '/assets/img/ph.png' }}{{ img_attrs | strip }}"
9
- data-lowsrc="{{ include.src | default: '/assets/img/ph.png' }}?nf_resize={{ include.mode | default: 'fit' }}&w=100"
8
+ data-src="{{ include.src | default: '/assets/img/ph.png' | absolute_url }}{{ img_attrs | strip }}"
9
+ data-lowsrc="{{ include.src | default: '/assets/img/ph.png' | absolute_url }}?nf_resize={{ include.mode | default: 'fit' }}&w=100"
10
10
  alt="{{ include.alt | default: page.title }}"
11
11
  class="lazyload blur-up">
12
12
  </figure>
@@ -1 +1 @@
1
- <!doctype html><html><head>{% include themes/jmblog-theme/components/head.html %}</head><body id="jmoxon">{% include themes/jmblog-theme/components/analytics/googletagmanager_body.html %}<header><section class="section">{% comment %}<div class="hero-body">{% endcomment %}<div class="container has-text-centered"><h2 class="subtitle is-size-4 is-size-6-mobile is-spaced is-uppercase">{{ site.tagline | default: "Set a site level variable called 'tagline'" }}</h2><h1 class="title is-size-1 is-size-2-mobile has-text-black is-family-secondary"><a href="/" class="has-text-black">{{ site.title }}</a></h1></div>{% comment %}</div>{% endcomment %}</section></header>{% include themes/jmblog-theme/components/navigation.html %} {{ content }} {% include themes/jmblog-theme/components/footer.html %}<script src="/assets/js/default.bundle.js?5269307e26001f0e3d36"></script><script src="/assets/js/vendor.bundle.js?5269307e26001f0e3d36"></script></body></html>
1
+ <!doctype html><html><head>{% include themes/jmblog-theme/components/head.html %}</head><body id="jmoxon">{% include themes/jmblog-theme/components/analytics/googletagmanager_body.html %}<header><section class="section">{% comment %}<div class="hero-body">{% endcomment %}<div class="container has-text-centered"><h2 class="subtitle is-size-4 is-size-6-mobile is-spaced is-uppercase">{{ site.tagline | default: "Set a site level variable called 'tagline'" }}</h2><h1 class="title is-size-1 is-size-2-mobile has-text-black is-family-secondary"><a href="/" class="has-text-black">{{ site.title }}</a></h1></div>{% comment %}</div>{% endcomment %}</section></header>{% include themes/jmblog-theme/components/navigation.html %} {{ content }} {% include themes/jmblog-theme/components/footer.html %}<script src="/assets/js/default.bundle.js?ba8d88c4755496a94790"></script><script src="/assets/js/vendor.bundle.js?ba8d88c4755496a94790"></script></body></html>
@@ -1 +1 @@
1
- <div class="debug debug-themes__jmblog__theme__holding"><!doctype html><html><head>{% comment %} Base template - this file should allow front end development without compiling jekyll build Todo: in-line critical site elements to allow development of theme outside of jekyll workflow {% endcomment %} {% include themes/jmblog-theme/components/head.html %}</head><body id="jmoxon">{% include themes/jmblog-theme/components/analytics/googletagmanager_body.html %}<main><section class="hero is-fullheight is-bold"><div class="hero-body"><div class="has-text-centered container"><div class="is-horizontal-center is-flex"><figure class="image is-128x128"><a href="/"><img class="is-rounded" src="{{ page.peep-image | default: '/assets/img/head-shot-square.jpg' }}?nf_resize={{ page.peep_image_nfresize | default: 'fit' }}&w={{page.peep_image_nfresize_w | default: 128 }}&h={{page.peep_image_nfresize_h | default: 128}}" alt="John Moxon - BA"><div class="is-rounded rounded-image-has-inner-shadow"></div></a></figure></div><h1 class="title is-size-1 is-size-2-mobile has-text-black is-family-secondary is-spaced"><a href="/" class="has-text-black">{{ page.headline }}</a></h1>{% unless page.quote == null %}<h2 class="subtitle is-size-4 is-size-6-mobile">{{ page.quote }} {% unless page.quote-attribution == null %} - <span class="is-size-6">{{ page.quote-attribution }}</span> {% endunless %}</h2>{% endunless %} {{ content }}</div></div></section></main>{% include themes/jmblog-theme/components/footer.html %}<script src="/assets/js/maintenance.bundle.js?5269307e26001f0e3d36"></script></body></html></div>
1
+ <div class="debug debug-themes__jmblog__theme__holding"><!doctype html><html><head>{% comment %} Base template - this file should allow front end development without compiling jekyll build Todo: in-line critical site elements to allow development of theme outside of jekyll workflow {% endcomment %} {% include themes/jmblog-theme/components/head.html %}</head><body id="jmoxon">{% include themes/jmblog-theme/components/analytics/googletagmanager_body.html %}<main><section class="hero is-fullheight is-bold"><div class="hero-body"><div class="has-text-centered container"><div class="is-horizontal-center is-flex"><figure class="image is-128x128"><a href="/"><img class="is-rounded" src="{{ page.peep-image | default: '/assets/img/head-shot-square.jpg' }}?nf_resize={{ page.peep_image_nfresize | default: 'fit' }}&w={{page.peep_image_nfresize_w | default: 128 }}&h={{page.peep_image_nfresize_h | default: 128}}" alt="John Moxon - BA"><div class="is-rounded rounded-image-has-inner-shadow"></div></a></figure></div><h1 class="title is-size-1 is-size-2-mobile has-text-black is-family-secondary is-spaced"><a href="/" class="has-text-black">{{ page.headline }}</a></h1>{% unless page.quote == null %}<h2 class="subtitle is-size-4 is-size-6-mobile">{{ page.quote }} {% unless page.quote-attribution == null %} - <span class="is-size-6">{{ page.quote-attribution }}</span> {% endunless %}</h2>{% endunless %} {{ content }}</div></div></section></main>{% include themes/jmblog-theme/components/footer.html %}<script src="/assets/js/maintenance.bundle.js?ba8d88c4755496a94790"></script></body></html></div>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jmblog-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.7
4
+ version: 1.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Moxon
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-07 00:00:00.000000000 Z
11
+ date: 2021-02-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: github-pages
@@ -52,7 +52,7 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: 13.0.1
55
- description:
55
+ description:
56
56
  email:
57
57
  - jmoxon@gmail.com
58
58
  executables: []
@@ -64,23 +64,6 @@ files:
64
64
  - _authors/john_doe.md
65
65
  - _config.yml
66
66
  - _data/navigation.yml
67
- - _includes/JB.old/analytics
68
- - _includes/JB.old/analytics-providers/getclicky
69
- - _includes/JB.old/analytics-providers/mixpanel
70
- - _includes/JB.old/analytics-providers/piwik
71
- - _includes/JB.old/categories_list
72
- - _includes/JB.old/comments
73
- - _includes/JB.old/comments-providers/disqus
74
- - _includes/JB.old/comments-providers/facebook
75
- - _includes/JB.old/comments-providers/intensedebate
76
- - _includes/JB.old/comments-providers/livefyre
77
- - _includes/JB.old/liquid_raw
78
- - _includes/JB.old/pages_list
79
- - _includes/JB.old/posts_collate
80
- - _includes/JB.old/setup
81
- - _includes/JB.old/sharing
82
- - _includes/JB.old/tags_list
83
- - _includes/JB.old/urlset
84
67
  - _includes/dataLayer/dataLayer
85
68
  - _includes/themes/jmblog-theme/bio.html
86
69
  - _includes/themes/jmblog-theme/components/analytics/google
@@ -167,7 +150,7 @@ homepage: https://www.jmoxon.net
167
150
  licenses:
168
151
  - MIT
169
152
  metadata: {}
170
- post_install_message:
153
+ post_install_message:
171
154
  rdoc_options: []
172
155
  require_paths:
173
156
  - lib
@@ -182,8 +165,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
182
165
  - !ruby/object:Gem::Version
183
166
  version: '0'
184
167
  requirements: []
185
- rubygems_version: 3.0.3
186
- signing_key:
168
+ rubygems_version: 3.0.8
169
+ signing_key:
187
170
  specification_version: 4
188
171
  summary: Clean minimalist blog theme inspired by Wix train of thought
189
172
  test_files: []
@@ -1,20 +0,0 @@
1
- {% if site.safe and site.JB.analytics.provider and page.JB.analytics != false %}
2
-
3
- {% case site.JB.analytics.provider %}
4
- {% when "google" %}
5
- {% include JB/analytics-providers/google %}
6
- {% when "googletagmanager" %}
7
- {% include JB/analytics-providers/googletagmanager %}
8
- {% when "hubspot" %}
9
- {% include JB/analytics-providers/hubspot%}
10
- {% when "getclicky" %}
11
- {% include JB/analytics-providers/getclicky %}
12
- {% when "mixpanel" %}
13
- {% include JB/analytics-providers/mixpanel %}
14
- {% when "piwik" %}
15
- {% include JB/analytics-providers/piwik %}
16
- {% when "custom" %}
17
- {% include custom/analytics %}
18
- {% endcase %}
19
-
20
- {% endif %}
@@ -1,12 +0,0 @@
1
- <script type="text/javascript">
2
- var clicky_site_ids = clicky_site_ids || [];
3
- clicky_site_ids.push({{ site.JB.analytics.getclicky.site_id }});
4
- (function() {
5
- var s = document.createElement('script');
6
- s.type = 'text/javascript';
7
- s.async = true;
8
- s.src = '//static.getclicky.com/js';
9
- ( document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0] ).appendChild( s );
10
- })();
11
- </script>
12
- <noscript><p><img alt="Clicky" width="1" height="1" src="//in.getclicky.com/{{ site.JB.analytics.getclicky.site_id }}ns.gif" /></p></noscript>
@@ -1,11 +0,0 @@
1
- <script type="text/javascript">
2
- var mpq = [];
3
- mpq.push(["init", "{{ site.JB.analytics.mixpanel.token}}"]);
4
- (function(){var b,a,e,d,c;b=document.createElement("script");b.type="text/javascript";
5
- b.async=true;b.src=(document.location.protocol==="https:"?"https:":"http:")+
6
- "//api.mixpanel.com/site_media/js/api/mixpanel.js";a=document.getElementsByTagName("script")[0];
7
- a.parentNode.insertBefore(b,a);e=function(f){return function(){mpq.push(
8
- [f].concat(Array.prototype.slice.call(arguments,0)))}};d=["init","track","track_links",
9
- "track_forms","register","register_once","identify","name_tag","set_config"];for(c=0;c<
10
- d.length;c++){mpq[d[c]]=e(d[c])}})();
11
- </script>
@@ -1,10 +0,0 @@
1
- <script type="text/javascript">
2
- var pkBaseURL = (("https:" == document.location.protocol) ? "https://{{ site.JB.analytics.piwik.baseURL }}/" : "http://{{ site.JB.analytics.piwik.baseURL }}/");
3
- document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
4
- </script><script type="text/javascript">
5
- try {
6
- var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", {{ site.JB.analytics.piwik.idsite }});
7
- piwikTracker.trackPageView();
8
- piwikTracker.enableLinkTracking();
9
- } catch( err ) {}
10
- </script><noscript><p><img src="http://{{ site.JB.analytics.piwik.baseURL }}/piwik.php?idsite={{ site.JB.analytics.piwik.idsite }}" style="border:0" alt="" /></p></noscript>
@@ -1,37 +0,0 @@
1
- {% comment %}<!--
2
- The categories_list include is a listing helper for categories.
3
- Usage:
4
- 1) assign the 'categories_list' variable to a valid array of tags.
5
- 2) include JB/categories_list
6
- example:
7
- <ul>
8
- {% assign categories_list = site.categories %}
9
- {% include JB/categories_list %}
10
- </ul>
11
-
12
- Notes:
13
- Categories can be either a Hash of Category objects (hashes) or an Array of category-names (strings).
14
- The encapsulating 'if' statement checks whether categories_list is a Hash or Array.
15
- site.categories is a Hash while page.categories is an array.
16
-
17
- This helper can be seen in use at: ../_layouts/default.html
18
- -->{% endcomment %}
19
-
20
- {% if site.JB.categories_list.provider == "custom" %}
21
- {% include custom/categories_list %}
22
- {% else %}
23
- {% if categories_list.first[0] == null %}
24
- {% for category in categories_list %}
25
- <li><a href="{{ BASE_PATH }}{{ site.JB.categories_path }}{{ category }}">
26
- {{ category | join: "/" }} <span class="badge">{{ site.categories[category].size }}</span>
27
- </a></li>
28
- {% endfor %}
29
- {% else %}
30
- {% for category in categories_list %}
31
- <li><a href="{{ BASE_PATH }}{{ site.JB.categories_path }}{{ category[0] }}">
32
- {{ category[0] | join: "/" }} <span class="badge">{{ category[1].size }}</span>
33
- </a></li>
34
- {% endfor %}
35
- {% endif %}
36
- {% endif %}
37
- {% assign categories_list = nil %}
@@ -1,16 +0,0 @@
1
- {% if site.JB.comments.provider and page.comments != false %}
2
-
3
- {% case site.JB.comments.provider %}
4
- {% when "disqus" %}
5
- {% include JB/comments-providers/disqus %}
6
- {% when "livefyre" %}
7
- {% include JB/comments-providers/livefyre %}
8
- {% when "intensedebate" %}
9
- {% include JB/comments-providers/intensedebate %}
10
- {% when "facebook" %}
11
- {% include JB/comments-providers/facebook %}
12
- {% when "custom" %}
13
- {% include custom/comments %}
14
- {% endcase %}
15
-
16
- {% endif %}
@@ -1,17 +0,0 @@
1
- <div id="disqus_thread"></div>
2
- <script type="text/javascript">
3
- {% if site.safe == false %}var disqus_developer = 1;{% endif %}
4
- var disqus_shortname = '{{ site.JB.comments.disqus.short_name }}'; // required: replace example with your forum shortname
5
- {% if page.url %}var disqus_identifier = '{{page.url}}';
6
- var disqus_url = '{{site.production_url}}{{page.url}}';{% endif %}
7
- {% if page.title %}var disqus_title = '{{page.title}}';{% endif %}
8
-
9
- /* * * DON'T EDIT BELOW THIS LINE * * */
10
- (function() {
11
- var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
12
- dsq.src = 'https://' + disqus_shortname + '.disqus.com/embed.js';
13
- (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
14
- })();
15
- </script>
16
- <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
17
- <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
@@ -1,9 +0,0 @@
1
- <div id="fb-root"></div>
2
- <script>(function(d, s, id) {
3
- var js, fjs = d.getElementsByTagName(s)[0];
4
- if (d.getElementById(id)) return;
5
- js = d.createElement(s); js.id = id;
6
- js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId={{ site.JB.comments.facebook.appid }}";
7
- fjs.parentNode.insertBefore(js, fjs);
8
- }(document, 'script', 'facebook-jssdk'));</script>
9
- <div class="fb-comments" data-href="{{ site.production_url }}" data-num-posts="{{ site.JB.comments.facebook.num_posts }}" data-width="{{ site.JB.comments.facebook.width }}" data-colorscheme="{{ site.JB.comments.facebook.colorscheme }}"></div>
@@ -1,6 +0,0 @@
1
- <script>
2
- var idcomments_acct = '{{ site.JB.comments.intensedebate.account }}';
3
- var idcomments_post_id;
4
- var idcomments_post_url;
5
- </script>
6
- <script type="text/javascript" src="http://www.intensedebate.com/js/genericLinkWrapperV2.js"></script>
@@ -1,6 +0,0 @@
1
- <script type='text/javascript' src='http://zor.livefyre.com/wjs/v1.0/javascripts/livefyre_init.js'></script>
2
- <script type='text/javascript'>
3
- var fyre = LF({
4
- site_id: {{ site.JB.comments.livefyre.site_id }}
5
- });
6
- </script>
@@ -1,32 +0,0 @@
1
- {% comment%}<!--
2
- The liquid_raw helper is a way to display raw liquid code, as opposed to parsing it.
3
- Normally you'd use Liquid's built in 'raw' tag.
4
- The problem is GitHub Jekyll does not support the current Liquid release.
5
- GitHub Jekyll supports the deprecated 'literal' tag.
6
- Using one will break the other if you plan to deploy to GitHub pages.
7
- see: https://github.com/mojombo/jekyll/issues/425
8
-
9
- Since I don't want to mess with Liquid versions, I'll just rewrite the way I
10
- intend to give liquid examples. It's not an elegant by any means:
11
-
12
- Usage:
13
- 1) Define a 'text' variable with the block of liquid code you intend to display.
14
- 2) Pass the text variable to include JB/liquid_raw
15
-
16
- example:
17
- {% capture text %}|.% for tag in tags_list %.|
18
- <li><a href="|.{ site.var.tags_path }.||.{ tag[0] }.|-ref">|.{ tag[0] }.| <span>|.{tag[1].size}.|</span></a></li>
19
- |.% endfor %.|
20
-
21
- |.% assign tags_list = null %.|{% endcapture %}
22
- {% include JB/liquid_raw %}
23
-
24
- As seen here, you must use "|." and ".|" as opening and closing brackets.
25
- -->{% endcomment%}
26
-
27
- {% if site.JB.liquid_raw.provider == "custom" %}
28
- {% include custom/liquid_raw %}
29
- {% else %}
30
- <pre><code>{{text | replace:"|.", "&#123;" | replace:".|", "&#125;" | replace:">", "&gt;" | replace:"<", "&lt;" }}</code></pre>
31
- {% endif %}
32
- {% assign text = nil %}
@@ -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> &raquo; <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 %}
@@ -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 %}
@@ -1,8 +0,0 @@
1
- {% if site.safe and site.JB.sharing.provider and page.JB.sharing != false %}
2
-
3
- {% case site.JB.sharing.provider %}
4
- {% when "custom" %}
5
- {% include custom/sharing %}
6
- {% endcase %}
7
-
8
- {% endif %}
@@ -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 %}
@@ -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 %}