jekyll-theme-stellar 0.2.2 → 0.2.3

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: ff5647942a5df2b96aa09869931ac9f1b9ccd87008450303367851f88e6bb5af
4
- data.tar.gz: 4a2815abd5242baf78f717d726e3dc02c7f04dc4367a9e7ae6c9cc8d2c0e459e
3
+ metadata.gz: b6da09049b544e663dba41a1d886c5a20e1de1d5943da84dc876ecb8a0ec117f
4
+ data.tar.gz: b64f05c8216eb18eb073c8934a3fa2fa5eb98945e68b5481c0efa0e40538e060
5
5
  SHA512:
6
- metadata.gz: c8b141e0f07ddea0120df10ec51e6be8ea1d0f81a0cb54b97cac0f84e1faed17ba7c3b74c780fe1cbeb812c45acf06168e6b33c94b8adcd0fbb270743957adbd
7
- data.tar.gz: cb8b7a19287b7faea77f8a53f3373f673260109f8a9ede5588bd3462ab66c71e8b721f1a1925fdcee199495d502085c8e0ab13d2e4dc6d4a5e30811c87748ee1
6
+ metadata.gz: c598b84c5f7f6e06f5010bdf7ecdf8d25c26519ad869a82b4c9bee5df2d3a3dc261063c3fabe29801081ada2eb20d23eb6b74c889658ea66df5435c0907c46f4
7
+ data.tar.gz: 815159e7ec6acda93e07a4f84216ac7ecc6e0a09aaa790ae8d588a6d198a6ae3e4b99e16ee63fccc11a84f891e649cc28212496d11cfd86fbdc84a2bd415d524
@@ -16,6 +16,6 @@ title: Introduction
16
16
  <li><a href="generic.html" class="button">Learn More</a></li>
17
17
  </ul>
18
18
  </div>
19
- <span class="image"><img src="assets/images/pic01.jpg" alt="" /></span>
19
+ <span class="image"><img src="{{ 'assets/images/pic01.jpg' | absolute_url }}" alt="" /></span>
20
20
  </div>
21
- </section>
21
+ </section>
@@ -1,13 +1,14 @@
1
- {% assign day = include.date | date: "%-d" %}
2
- {% assign month = include.date | date: "%-m" %}
3
- {% if page.lang == "en" %}
1
+ {%- assign day = include.date | date: "%-d" -%}
2
+ {%- assign month = include.date | date: "%-m" -%}
3
+ {%- if page.lang == "en" -%}
4
4
  {{ include.date | date: "%B" }} {{ day }}, {{ include.date | date: "%Y" }}
5
- {% elsif page.lang == "fr" %}
6
- {% if day == "1" %}
5
+ {%- elsif page.lang == "fr" -%}
6
+ {%- if day == "1" -%}
7
7
  {{ day }}<sup>er</sup>
8
- {% else %} {{ day }}
9
- {% endif %}
10
- {% case month %}
8
+ {%- else -%}
9
+ {{ day }}
10
+ {%- endif -%}
11
+ {%- case month -%}
11
12
  {% when '1' %}janvier
12
13
  {% when '2' %}février
13
14
  {% when '3' %}mars
@@ -20,5 +21,6 @@
20
21
  {% when '10' %}octobre
21
22
  {% when '11' %}novembre
22
23
  {% when '12' %}décembre
23
- {% endcase %} {{ include.date | date: "%Y" }}
24
- {% endif %}
24
+ {%- endcase -%}
25
+ {{ include.date | date: "%Y" }}
26
+ {%- endif -%}
@@ -18,43 +18,47 @@
18
18
  <dd><a href="#">{{ site.email }}</a></dd>
19
19
  </dl>
20
20
  <ul class="icons">
21
- {% if site.twitter.url %}
21
+ {%- if site.twitter.url -%}
22
22
  <li><a href="{{ site.twitter.url }}" class="icon alt fa-twitter" target="_blank"><span class="label">Twitter</span></a></li>
23
- {% endif %}
24
- {% if site.googleplus.url %}
23
+ {%- endif -%}
24
+ {%- if site.googleplus.url -%}
25
25
  <li><a href="{{ site.googleplus.url }}" class="icon alt fa-google-plus" target="_blank"><span class="label">Google+</span></a></li>
26
- {% endif %}
27
- {% if site.facebook.url %}
26
+ {%- endif -%}
27
+ {%- if site.facebook.url -%}
28
28
  <li><a href="{{ site.facebook.url }}" class="icon alt fa-facebook" target="_blank"><span class="label">Facebook</span></a></li>
29
- {% endif %}
30
- {% if site.instagram.url %}
29
+ {%- endif -%}
30
+ {%- if site.instagram.url -%}
31
31
  <li><a href="{{ site.instagram.url }}" class="icon alt fa-instagram" target="_blank"><span class="label">Instagram</span></a></li>
32
- {% endif %}
33
- {% if site.pinterest.url %}
32
+ {%- endif -%}
33
+ {%- if site.pinterest.url -%}
34
34
  <li><a href="{{ site.pinterest.url }}" class="icon alt fa-pinterest" target="_blank"><span class="label">Pinterest</span></a></li>
35
- {% endif %}
36
- {% if site.500px.url %}
35
+ {%- endif -%}
36
+ {%- if site.500px.url -%}
37
37
  <li><a href="{{ site.500px.url }}" class="icon alt fa-500px" target="_blank"><span class="label">500px</span></a></li>
38
- {% endif %}
39
- {% if site.gitlab.url %}
38
+ {%- endif -%}
39
+ {%- if site.gitlab.url -%}
40
40
  <li><a href="{{ site.gitlab.url }}" class="icon alt fa-gitlab" target="_blank"><span class="label">GitLab</span></a></li>
41
- {% endif %}
42
- {% if site.github.url %}
41
+ {%- endif -%}
42
+ {%- if site.github.url -%}
43
43
  <li><a href="{{ site.github.url }}" class="icon alt fa-github" target="_blank"><span class="label">GitHub</span></a></li>
44
- {% endif %}
45
- {% if site.slack.url %}
44
+ {%- endif -%}
45
+ {%- if site.slack.url -%}
46
46
  <li><a href="{{ site.slack.url }}" class="icon alt fa-slack" target="_blank"><span class="label">Slack</span></a></li>
47
- {% endif %}
48
- {% if site.linkedin.url %}
47
+ {%- endif -%}
48
+ {%- if site.linkedin.url -%}
49
49
  <li><a href="{{ site.linkedin.url }}" class="icon alt fa-linkedin" target="_blank"><span class="label">LinkedIn</span></a></li>
50
- {% endif %}
50
+ {%- endif -%}
51
51
  </ul>
52
52
  </section>
53
53
  <p class="copyright">
54
54
  &copy; {{ site.copyright.holder }} - {{ site.copyright.license }}.
55
55
  Design: <a href="https://html5up.net">HTML5 UP</a>.
56
56
  Jekyll integration: <a href="http://github.com/moodule" target="_blank">David Mougeolle</a>.
57
- {% if site.privacy_policy.url %}<a href="{{ site.privacy_policy.url | absolute_url }}">Privacy policy</a>.{% endif %}
58
- {% if site.legal_terms.url %}<a href="{{ site.legal_terms.url | absolute_url }}">Legal terms</a>.{% endif %}
57
+ {%- if site.privacy_policy.url -%}
58
+ <a href="{{ site.privacy_policy.url | absolute_url }}">Privacy policy</a>.
59
+ {%- endif -%}
60
+ {%- if site.legal_terms.url -%}
61
+ <a href="{{ site.legal_terms.url | absolute_url }}">Legal terms</a>.
62
+ {%- endif -%}
59
63
  </p>
60
64
  </footer>
@@ -1,13 +1,15 @@
1
- {%- assign posts=site.posts | where:"lang-ref", page.lang-ref | sort: 'lang' %}
2
- {%- assign pages=site.pages | where:"lang-ref", page.lang-ref | sort: 'lang' | concat: posts %}
1
+ {%- assign posts=site.posts | where:"lang-ref", page.lang-ref | sort: 'lang' -%}
2
+ {%- assign pages=site.pages | where:"lang-ref", page.lang-ref | sort: 'lang' | concat: posts -%}
3
3
  <head>
4
4
  <title>{{ include.title }} - {{ include.subtitle }}</title>
5
5
  <meta charset="utf-8" />
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
7
7
  <link rel="stylesheet" href="{{ 'assets/css/main.css' | absolute_url }}" />
8
- {%- for page in pages %}
8
+ {%- for page in pages -%}
9
9
  <link rel="alternate" hreflang="{{ page.lang }}" href="{{ page.url }}" />
10
- {%- endfor %}
10
+ {%- endfor -%}
11
11
  <noscript><link rel="stylesheet" href="{{ 'assets/css/noscript.css' | absolute_url }}" /></noscript>
12
- {% if site.favicon.url %}<link rel="icon" href="{{ site.favicon.url | absolute_url }}" />{% endif %}
12
+ {%- if site.favicon -%}
13
+ <link rel="icon" href="{{ site.favicon | absolute_url }}" />
14
+ {%- endif -%}
13
15
  </head>
@@ -1,9 +1,9 @@
1
1
  <!-- Header -->
2
2
  <header id="header" class="alt">
3
- <a href="{{ site.url }}/"><span class="logo"><img src="{{ site.logo | absolute_url }}" alt="logo" /></span></a>
3
+ <a href="{{ site.url }}"><span class="logo"><img src="{{ site.logo | absolute_url }}" alt="logo" /></span></a>
4
4
  <h1>{{ page.title }}</h1>
5
5
  <p>{{ page.subtitle }}<br />
6
- {% if page.layout == "default" %}
6
+ {%- if page.layout == "default" -%}
7
7
  built by <a href="https://twitter.com/ajlkn">@ajlkn</a> for <a href="https://html5up.net">HTML5 UP</a>.</p>
8
- {% endif %}
9
- </header>
8
+ {%- endif -%}
9
+ </header>
@@ -1,10 +1,9 @@
1
- {% assign posts=site.posts | where:"lang-ref", page.lang-ref | sort: 'lang' %}
2
- {% assign pages=site.pages | where:"lang-ref", page.lang-ref | sort: 'lang' | concat: posts %}
3
-
4
- {% for page in pages %}
5
- {% if page.lang != "x-default" %}
1
+ {%- assign posts=site.posts | where:"lang-ref", page.lang-ref | sort: 'lang' -%}
2
+ {%- assign pages=site.pages | where:"lang-ref", page.lang-ref | sort: 'lang' | concat: posts -%}
3
+ {%- for page in pages -%}
4
+ {%- if page.lang != "x-default" -%}
6
5
  <li class="language">
7
6
  <a href="{{ page.url | absolute_url }}" class="{{ page.lang }}">{{ page.lang }}</a>
8
7
  </li>
9
- {% endif %}
10
- {% endfor %}
8
+ {%- endif -%}
9
+ {%- endfor -%}
@@ -1,22 +1,22 @@
1
1
  <!-- Nav -->
2
2
  <nav id="nav">
3
3
  <ul>
4
- {% for item in include.menu %}
4
+ {%- for item in include.menu -%}
5
5
  <li {% if item.url == page.url %} class="current" {% endif %}>
6
- {% if item.menu[0] %}
6
+ {%- if item.menu[0] -%}
7
7
  <span class="opener">{{ item.title }}</span>
8
8
  <ul>
9
- {% for subitem in item.menu %}
9
+ {%- for subitem in item.menu -%}
10
10
  <li {% if subitem.url == page.url %} class="current" {% endif %}>
11
11
  <a href="{{ subitem.url | absolute_url }}">{{ subitem.title }}</a>
12
12
  </li>
13
- {% endfor %}
13
+ {%- endfor -%}
14
14
  </ul>
15
- {% else %}
15
+ {%- else -%}
16
16
  <a href="{{ item.url | absolute_url }}">{{ item.title }}</a>
17
17
  </li>
18
- {% endif %}
19
- {% endfor %}
18
+ {%- endif -%}
19
+ {%- endfor -%}
20
20
  {% include language.html %}
21
21
  </ul>
22
- </nav>
22
+ </nav>
@@ -19,3 +19,11 @@ window.cookieconsent.initialise({
19
19
  }
20
20
  });
21
21
  </script>
22
+ <script src="{{ 'assets/js/simple-jekyll-search.min.js' | absolute_url }}" type="text/javascript"></script>
23
+ <script>
24
+ SimpleJekyllSearch({
25
+ searchInput: document.getElementById('search-input'),
26
+ resultsContainer: document.getElementById('search-results'),
27
+ json: "{{ '/index.json' | absolute_url }}"
28
+ })
29
+ </script>
@@ -1,11 +1,10 @@
1
1
  ---
2
2
  ---
3
- {% assign lang = page.lang | default: site.lang | default: 'en' %}
4
- {% assign menu = site.data.translations.menu[page.menu][lang] %}
5
- {% assign title = page.title | default: site.title %}
6
- {% assign subtitle = page.subtitle | default: site.subtitle %}
7
- {% assign description = page.description | default: site.description %}
8
-
3
+ {%- assign lang = page.lang | default: site.lang | default: 'en' -%}
4
+ {%- assign menu = site.data.translations.menu[page.menu][lang] -%}
5
+ {%- assign title = page.title | default: site.title -%}
6
+ {%- assign subtitle = page.subtitle | default: site.subtitle -%}
7
+ {%- assign description = page.description | default: site.description -%}
9
8
  <!DOCTYPE HTML>
10
9
  <!--
11
10
  Stellar by HTML5 UP
@@ -39,4 +38,4 @@
39
38
  {% include scripts.html %}
40
39
 
41
40
  </body>
42
- </html>
41
+ </html>
@@ -0,0 +1,17 @@
1
+ ---
2
+ permalink: /index.json
3
+ ---
4
+ {%- assign posts=site.posts | sort: 'lang' -%}
5
+ {%- assign pages=site.html_pages | sort: 'lang' | concat: posts -%}
6
+ [
7
+ {%- for page in pages -%}
8
+ {
9
+ "lang" : "{{ page.lang }}",
10
+ "title" : "{{ page.title | default: site.title | escape }}",
11
+ "description" : "{{ page.description | default: site.description | strip_html | strip_newlines | escape }}",
12
+ "url" : "{{ site.url }}{{ site.baseurl }}{{ page.url }}",
13
+ "tags" : "{{ page.tags | join: ', ' }}",
14
+ "date" : "{{ page.date }}"
15
+ } {% unless forloop.last %},{% endunless %}
16
+ {%- endfor -%}
17
+ ]
@@ -0,0 +1,9 @@
1
+ ---
2
+ layout: page
3
+ ---
4
+ <section>
5
+ <header class="main">
6
+ <h1>Legal Terms</h1>
7
+ </header>
8
+ <p></p>
9
+ </section>
@@ -29,4 +29,4 @@
29
29
  {% include scripts.html %}
30
30
 
31
31
  </body>
32
- </html>
32
+ </html>
@@ -1,5 +1,4 @@
1
1
  ---
2
2
  layout: default
3
3
  ---
4
-
5
4
  {{ content }}
@@ -0,0 +1,81 @@
1
+ ---
2
+ layout: page
3
+ ---
4
+ <section>
5
+ <header class="main">
6
+ <h1>Privacy Policy</h1>
7
+ <h3>Effective date: {{ site.time | date: '%F' }}</h3>
8
+ </header>
9
+ <p>{{ site.copyright.holder }} ("us", "we", or "our") operates the <a href="{{ site.url }}">website</a> (the "Service").</p>
10
+ <p>We take your privacy seriously. To better protect your privacy this page details our policies regarding the collection, use, and disclosure of personal data when you use our Service and the choices you have associated with that data.</p>
11
+ </section>
12
+
13
+ <section class="inverted" >
14
+ <header class="major">
15
+ <h2>Personal Data</h2>
16
+ </header>
17
+ <p>Our definition of personal data is based on the privacy laws and regulations of the EU, including the General Data Protection Regulation (GDPR).</p>
18
+ <p>These are widely regarded as the strongest privacy protections in the world. We consider any information about you or your behavior that can be traced back to you as personal data.</p>
19
+ </section>
20
+
21
+ <section>
22
+ <header class="major">
23
+ <h2>Collection of Routine Information</h2>
24
+ </header>
25
+ <p>We do not log or share any personal information about our visitors.</p>
26
+ <p>This website tracks basic information about their visitors, required by normal internet traffic.</p>
27
+ <p>This information includes, but is not limited to, IP addresses, browser details, timestamps and referring pages. None of this information can personally identify specific visitors to this website. The information is tracked for routine administration and maintenance purposes.</p>
28
+ </section>
29
+
30
+ <section class="inverted" >
31
+ <header class="major">
32
+ <h2>Cookies</h2>
33
+ </header>
34
+ <p>Where necessary, this website uses cookies to store information about a visitor’s preferences and history in order to better serve the visitor and/or present the visitor with customized content.</p>
35
+ </section>
36
+
37
+ <section>
38
+ <header class="major">
39
+ <h2>Advertisement and Other Third Parties</h2>
40
+ </header>
41
+ <p>This website does not contain any third party advertisement.</p>
42
+ <p>It is hosted on {{ site.privacy_policy.third_party.hosting }}.</p>
43
+ </section>
44
+
45
+ <section class="inverted" >
46
+ <header class="major">
47
+ <h2>Links to Third Party Websites</h2>
48
+ </header>
49
+ <p>We have included links on this website for your use and reference.</p>
50
+ </section>
51
+
52
+ <section>
53
+ <header class="major">
54
+ <h2>Third Party Privacy Policy</h2>
55
+ </header>
56
+ <p>We are not responsible for the privacy policies on the above mentioned third parties. You should be aware that the privacy policies of these websites may differ from our own.</p>
57
+ <p>Third parties may use cookies, scripts and/or web beacons to track visitors' activities on this website in order to display advertisements and other useful information. Such tracking is done directly by the third parties through their own servers and is subject to their own privacy policies. This website has no access or control over these cookies, scripts and/or web beacons that may be used by third parties.</p>
58
+ <p>Learn how to <a href="http://www.google.com/privacy_ads.html">opt out of Google’s cookie usage</a>.</p>
59
+ </section>
60
+
61
+ <section class="inverted" >
62
+ <header class="major">
63
+ <h2>Security</h2>
64
+ </header>
65
+ <p>The security of your personal information is important to us, but remember that no method of transmission over the Internet, or method of electronic storage, is 100% secure. While we strive to use commercially acceptable means to protect your personal information, we cannot guarantee its absolute security.</p>
66
+ </section>
67
+
68
+ <section>
69
+ <header class="major">
70
+ <h2>Changes To This Privacy Policy</h2>
71
+ </header>
72
+ <p>This Privacy Policy is effective as of {{ site.time | date: '%F'}} and will remain in effect except with respect to any changes in its provisions in the future, which will be in effect immediately after being posted on this page.</p>
73
+ <p>We reserve the right to update or change our Privacy Policy at any time and you should check this Privacy Policy periodically. If we make any material changes to this Privacy Policy, we will notify you either through the email address you have provided us, or by placing a prominent notice on our website.</p>
74
+ </section>
75
+
76
+ <section class="inverted" >
77
+ <header class="major">
78
+ <h2>Contact Information</h2>
79
+ </header>
80
+ <p>For any questions or concerns regarding the privacy policy, please send us an email to <a href="mailto:{{ site.email }}">{{ site.email }}</a>.</p>
81
+ </section>
@@ -7,4 +7,4 @@ lang: x-default
7
7
  <meta http-equiv="refresh" content="0; url={{ page.forward_url | absolute_url }}">
8
8
  <link rel="canonical" href="{{ page.forward_url | absolute_url }}" />
9
9
  </head>
10
- </html>
10
+ </html>
@@ -0,0 +1,7 @@
1
+ ---
2
+ permalink: /robots.txt
3
+ ---
4
+ User-agent: *
5
+ Allow: /
6
+
7
+ Sitemap: {{ site.url }}/sitemap.xml
@@ -2,20 +2,20 @@
2
2
  layout: sitemap
3
3
  permalink: /sitemap.xml
4
4
  ---
5
- {% assign posts=site.posts | sort: 'lang' %}
6
- {% assign pages=site.html_pages | sort: 'lang' | concat: posts %}
5
+ {%- assign posts=site.posts | sort: 'lang' -%}
6
+ {%- assign pages=site.html_pages | sort: 'lang' | concat: posts -%}
7
7
  <?xml version="1.0" encoding="UTF-8"?>
8
8
  <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml">
9
- {% for page in pages %}
10
- {% assign versions=pages | where:"lang-ref", page.lang-ref %}
11
- {% unless page.url contains "404" %}
9
+ {%- for page in pages -%}
10
+ {%- assign versions=pages | where:"lang-ref", page.lang-ref -%}
11
+ {%- unless page.url contains "404" -%}
12
12
  <url>
13
13
  <loc>{{ page.url | absolute_url}}</loc>
14
- {% for version in versions %}
14
+ {%- for version in versions -%}
15
15
  <xhtml:link rel="alternate" hreflang="{{ version.lang }}" href="{{ version.url | absolute_url }}" />
16
- {% endfor %}
16
+ {%- endfor -%}
17
17
  <changefreq>weekly</changefreq>
18
18
  </url>
19
- {% endunless %}
20
- {% endfor %}
21
- </urlset>
19
+ {%- endunless -%}
20
+ {%- endfor -%}
21
+ </urlset>
@@ -39,7 +39,9 @@
39
39
  ));
40
40
  @include vendor('transition-delay', '0s');
41
41
  display: block;
42
- margin: 0 0 (_size(element-margin) * 0.75) 0;
42
+ margin: auto;
43
+ width: 20%;
44
+ height: 20%;
43
45
 
44
46
  img {
45
47
  display: block;
Binary file
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Simple-Jekyll-Search v1.7.2 (https://github.com/christian-fei/Simple-Jekyll-Search)
3
+ * Copyright 2015-2018, Christian Fei
4
+ * Licensed under the MIT License.
5
+ */
6
+ !function(){"use strict";var f={load:function w(t,e){var n=function r(){return window.XMLHttpRequest?new window.XMLHttpRequest:new ActiveXObject("Microsoft.XMLHTTP")}();n.open("GET",t,!0),n.onreadystatechange=function i(e,n){return function(){if(4===e.readyState&&200===e.status)try{n(null,JSON.parse(e.responseText))}catch(t){n(t,null)}}}(n,e),n.send()}};(function y(t){if(!function e(t){return!!t&&"undefined"!=typeof t.required&&t.required instanceof Array}(t))throw new Error("-- OptionsValidator: required options missing");if(!(this instanceof y))return new y(t);var r=t.required;this.getRequiredOptions=function(){return r},this.validate=function(e){var n=[];return r.forEach(function(t){"undefined"==typeof e[t]&&n.push(t)}),n}});var n=function g(t,e){var n=e.length,r=t.length;if(n<r)return!1;if(r===n)return t===e;t:for(var i=0,o=0;i<r;i++){for(var u=t.charCodeAt(i);o<n;)if(e.charCodeAt(o++)===u)continue t;return!1}return!0},e=new function t(){this.matches=function(t,e){return n(e.toLowerCase(),t.toLowerCase())}};var r=new function O(){this.matches=function(e,t){return!!e&&(e=e.trim().toLowerCase(),(t=t.trim().toLowerCase()).split(" ").filter(function(t){return 0<=e.indexOf(t)}).length===t.split(" ").length)}};var l={put:function z(t){if(c(t))return s(t);if(function e(t){return Boolean(t)&&"[object Array]"===Object.prototype.toString.call(t)}(t))return function i(t){var e=[];a();for(var n=0,r=t.length;n<r;n++)c(t[n])&&e.push(s(t[n]));return e}(t);return undefined},clear:a,search:function S(t){return t?function a(t,e,n,r){for(var i=[],o=0;o<t.length&&i.length<r.limit;o++){var u=d(t[o],e,n,r);u&&i.push(u)}return i}(o,t,u.searchStrategy,u).sort(u.sort):[]},setOptions:function q(t){(u=t||{}).fuzzy=t.fuzzy||!1,u.limit=t.limit||10,u.searchStrategy=t.fuzzy?e:r,u.sort=t.sort||i}};function i(){return 0}var o=[],u={};function a(){return o.length=0,o}function c(t){return Boolean(t)&&"[object Object]"===Object.prototype.toString.call(t)}function s(t){return o.push(t),o}function d(t,e,n,r){for(var i in t)if(!p(t[i],r.exclude)&&n.matches(t[i],e))return t}function p(t,e){for(var n=!1,r=0,i=(e=e||[]).length;r<i;r++){var o=e[r];!n&&new RegExp(t).test(o)&&(n=!0)}return n}u.fuzzy=!1,u.limit=10,u.searchStrategy=u.fuzzy?e:r,u.sort=i;var h={compile:function j(r){return m.template.replace(m.pattern,function(t,e){var n=m.middleware(e,r[e],m.template);return void 0!==n?n:r[e]||t})},setOptions:function C(t){m.pattern=t.pattern||m.pattern,m.template=t.template||m.template,"function"==typeof t.middleware&&(m.middleware=t.middleware)}},m={};m.pattern=/\{(.*?)\}/g,m.template="",m.middleware=function(){};var v={merge:function L(t,e){var n={};for(var r in t)n[r]=t[r],"undefined"!=typeof e[r]&&(n[r]=e[r]);return n},isJSON:function M(t){try{return!!(t instanceof Object&&JSON.parse(JSON.stringify(t)))}catch(e){return!1}}};!function(t){var o={searchInput:null,resultsContainer:null,json:[],success:Function.prototype,searchResultTemplate:'<li><a href="{url}" title="{desc}">{title}</a></li>',templateMiddleware:Function.prototype,sortMiddleware:function(){return 0},noResultsText:"No results found",limit:10,fuzzy:!1,exclude:[]},n=["searchInput","resultsContainer","json"],r=function y(e){if(!function n(t){return!!t&&"undefined"!=typeof t.required&&t.required instanceof Array}(e))throw new Error("-- OptionsValidator: required options missing");if(!(this instanceof y))return new y(e);var r=e.required;this.getRequiredOptions=function(){return r},this.validate=function(e){var n=[];return r.forEach(function(t){"undefined"==typeof e[t]&&n.push(t)}),n}}({required:n});function i(t){o.success(t),l.put(t),function e(){o.searchInput.addEventListener("keyup",function(t){(function e(t){return-1===[13,16,20,37,38,39,40,91].indexOf(t)})(t.which)&&(u(),c(t.target.value))})}()}function u(){o.resultsContainer.innerHTML=""}function a(t){o.resultsContainer.innerHTML+=t}function c(t){(function e(t){return t&&0<t.length})(t)&&(u(),function i(t,e){var n=t.length;if(0===n)return a(o.noResultsText);for(var r=0;r<n;r++)t[r].query=e,a(h.compile(t[r]))}(l.search(t),t))}function s(t){throw new Error("SimpleJekyllSearch --- "+t)}t.SimpleJekyllSearch=function(t){return 0<r.validate(t).length&&s("You must specify the following required options: "+n),o=v.merge(o,t),h.setOptions({template:o.searchResultTemplate,middleware:o.templateMiddleware}),l.setOptions({fuzzy:o.fuzzy,limit:o.limit,sort:o.sortMiddleware}),v.isJSON(o.json)?i(o.json):function e(n){f.load(n,function(t,e){t&&s("failed to get JSON ("+n+")"),i(e)})}(o.json),{search:c}}}(window)}();
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-stellar
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Mougeolle
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-10-01 00:00:00.000000000 Z
11
+ date: 2019-12-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '3.8'
19
+ version: '4.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '3.8'
26
+ version: '4.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -73,9 +73,13 @@ files:
73
73
  - _includes/navigation.html
74
74
  - _includes/scripts.html
75
75
  - _layouts/default.html
76
+ - _layouts/index.html
77
+ - _layouts/legal-terms.html
76
78
  - _layouts/page.html
77
79
  - _layouts/post.html
80
+ - _layouts/privacy-policy.html
78
81
  - _layouts/redirect.html
82
+ - _layouts/robots.html
79
83
  - _layouts/sitemap.html
80
84
  - _sass/base/_page.scss
81
85
  - _sass/base/_reset.scss
@@ -119,6 +123,7 @@ files:
119
123
  - assets/fonts/fontawesome-webfont.woff
120
124
  - assets/fonts/fontawesome-webfont.woff2
121
125
  - assets/images/favicon.ico
126
+ - assets/images/logo.png
122
127
  - assets/images/logo.svg
123
128
  - assets/images/pic01.jpg
124
129
  - assets/images/pic02.jpg
@@ -134,6 +139,7 @@ files:
134
139
  - assets/js/jquery.scrollex.min.js
135
140
  - assets/js/jquery.scrolly.min.js
136
141
  - assets/js/main.js
142
+ - assets/js/simple-jekyll-search.min.js
137
143
  - assets/js/util.js
138
144
  - sitemap.md
139
145
  homepage: https://github.com/moodule/jekyll-theme-stellar