jekyll-theme-twenty 0.1.7 → 0.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: 773c4dceb97ac90729e3c293e5e559c5810457de7431a85072fe045452ede329
4
- data.tar.gz: cb2c93363c33587a5a9a19f7a237de223ed5acf48e7d5a6fd8f09cae1b99e9a4
3
+ metadata.gz: e2e026667745552d4d6decb894c1f72ec96da94e7ac5ecd1c5dedb6c1912c8a5
4
+ data.tar.gz: 489a058edd5ab20e5b3875d10f58124402cede1ba62f45211fff365ebb16c23a
5
5
  SHA512:
6
- metadata.gz: 3fcb05972804d64ba1874115cee5323a030c96fe2f53d30dde028fa9d1754fcbe4c8391ba2600bad2a974c4806d82157e102c64c67f640ff10f302df23a86ede
7
- data.tar.gz: 36265f6e125aa75dcaa46e5000725552bad1e1e761de57fa4a928ee0962834dc2d89978c73d2df36c0469cc0beb461302c09ccb33c52f44fdd2f03a5acf7ddf7
6
+ metadata.gz: 677225b9bd4a6a83b0654eaf8d74c752c44ece3b2cc7fbfd662e99dfd886d0f44fcdd3210e84b73f08de2c7e537368024fb9e16ee5f1a0864acaf2b860bedb80
7
+ data.tar.gz: f83b2ccabaae921737cac48ce3421771bae74990a67766477439dd5f3457e80bacc572c65339814de48f4307ee5da466edb76d99183219229f1f28a026ec733d
@@ -1,6 +1,5 @@
1
1
  <!-- Banner -->
2
2
  <section id="banner">
3
-
4
3
  <!--
5
4
  ".inner" is set up as an inline-block so it automatically expands
6
5
  in both directions to fit whatever's inside it. This means it won't
@@ -8,7 +7,6 @@
8
7
  appropriate (<br />).
9
8
  -->
10
9
  <div class="inner">
11
-
12
10
  <header>
13
11
  <h2>{{ site.title }}</h2>
14
12
  </header>
@@ -18,7 +16,5 @@
18
16
  <li><a href="#main" class="button fit scrolly">Tell Me More</a></li>
19
17
  </ul>
20
18
  </footer>
21
-
22
19
  </div>
23
-
24
- </section>
20
+ </section>
@@ -1,6 +1,5 @@
1
1
  <!-- CTA -->
2
2
  <section id="cta">
3
-
4
3
  <header>
5
4
  <h2>Ready to do <strong>something</strong>?</h2>
6
5
  <p>Proin a ullamcorper elit, et sagittis turpis integer ut fermentum.</p>
@@ -11,5 +10,4 @@
11
10
  <li><a href="#" class="button">LOL Wut</a></li>
12
11
  </ul>
13
12
  </footer>
14
-
15
- </section>
13
+ </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 -%}
@@ -2,48 +2,48 @@
2
2
  <footer id="footer">
3
3
 
4
4
  <ul class="icons">
5
- {% if site.twitter_url %}
5
+ {%- if site.twitter_url -%}
6
6
  <li><a href="{{ site.twitter_url }}" class="icon circle fa-twitter" target="_blank"><span class="label">Twitter</span></a></li>
7
- {% endif %}
8
- {% if site.facebook_url %}
7
+ {%- endif -%}
8
+ {%- if site.facebook_url -%}
9
9
  <li><a href="{{ site.facebook_url }}" class="icon circle fa-facebook" target="_blank"><span class="label">Facebook</span></a></li>
10
- {% endif %}
11
- {% if site.instagram_url %}
10
+ {%- endif -%}
11
+ {%- if site.instagram_url -%}
12
12
  <li><a href="{{ site.instagram_url }}" class="icon circle fa-instagram" target="_blank"><span class="label">Instagram</span></a></li>
13
- {% endif %}
14
- {% if site.pinterest_url %}
13
+ {%- endif -%}
14
+ {%- if site.pinterest_url -%}
15
15
  <li><a href="{{ site.pinterest_url }}" class="icon circle fa-pinterest" target="_blank"><span class="label">Pinterest</span></a></li>
16
- {% endif %}
17
- {% if site.500px_url %}
16
+ {%- endif -%}
17
+ {%- if site.500px_url -%}
18
18
  <li><a href="{{ site.500px_url }}" class="icon circle fa-500px" target="_blank"><span class="label">500px</span></a></li>
19
- {% endif %}
20
- {% if site.gitlab_url %}
19
+ {%- endif -%}
20
+ {%- if site.gitlab_url -%}
21
21
  <li><a href="{{ site.gitlab_url }}" class="icon circle fa-gitlab" target="_blank"><span class="label">GitLab</span></a></li>
22
- {% endif %}
23
- {% if site.github_url %}
22
+ {%- endif -%}
23
+ {%- if site.github_url -%}
24
24
  <li><a href="{{ site.github_url }}" class="icon circle fa-github" target="_blank"><span class="label">GitHub</span></a></li>
25
- {% endif %}
26
- {% if site.slack_url %}
25
+ {%- endif -%}
26
+ {%- if site.slack_url -%}
27
27
  <li><a href="{{ site.slack_url }}" class="icon circle fa-slack" target="_blank"><span class="label">Slack</span></a></li>
28
- {% endif %}
29
- {% if site.discord_url %}
28
+ {%- endif -%}
29
+ {%- if site.discord_url -%}
30
30
  <li><a href="{{ site.discord_url }}" class="icon circle fa-discord" target="_blank"><span class="label">Discord</span></a></li>
31
- {% endif %}
32
- {% if site.linkedin_url %}
31
+ {%- endif -%}
32
+ {%- if site.linkedin_url -%}
33
33
  <li><a href="{{ site.linkedin_url }}" class="icon circle fa-linkedin" target="_blank"><span class="label">LinkedIn</span></a></li>
34
- {% endif %}
34
+ {%- endif -%}
35
35
  </ul>
36
36
 
37
37
  <ul class="copyright">
38
38
  <li>&copy; {{ site.title }}. All rights reserved.</li>
39
39
  <li>Design: <a href="http://html5up.net">HTML5 UP</a></li>
40
40
  <li>Jekyll integration: <a href="http://github.com/moodule" target="_blank">Moodule</a></li>
41
- {% if site.legal_terms.url %}
41
+ {%- if site.legal_terms.url -%}
42
42
  <li><a href="{{ site.legal_terms.url | absolute_url }}" target="_blank">Legal Terms</a></li>
43
- {% endif %}
44
- {% if site.privacy_policy.url %}
43
+ {%- endif -%}
44
+ {%- if site.privacy_policy.url -%}
45
45
  <li><a href="{{ site.privacy_policy.url | absolute_url }}" target="_blank">Privacy Policy</a></li>
46
- {% endif %}
46
+ {%- endif -%}
47
47
  </ul>
48
48
 
49
- </footer>
49
+ </footer>
@@ -4,5 +4,7 @@
4
4
  <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
5
5
  <link rel="stylesheet" href="{{ 'assets/css/styles.css' | absolute_url }}" />
6
6
  <noscript><link rel="stylesheet" href="{{ 'assets/css/noscript.css' | absolute_url }}" /></noscript>
7
- {% if site.favicon %}<link rel="icon" href="{{ site.favicon | absolute_url }}" />{% endif %}
7
+ {%- if site.favicon -%}
8
+ <link rel="icon" href="{{ site.favicon | absolute_url }}" />
9
+ {%- endif -%}
8
10
  </head>
@@ -2,13 +2,13 @@
2
2
  <header id="header" {% if layout.name=="home" %}class="alt"{% endif %}>
3
3
  <h1 id="logo">
4
4
  <a href="index.html">
5
- {%- if site.logo %}
5
+ {%- if site.logo -%}
6
6
  <img src="{{ site.logo | absolute_url }}" width="32" height="32">
7
7
  &nbsp;
8
- {%- endif %}
8
+ {%- endif -%}
9
9
  {{ site.title }} <span>{% if site.subtitle.size < 16 %} {{ site.subtitle }} {% endif %}</span>
10
10
  </a>
11
11
  </h1>
12
12
  {% include navigation.html menu=include.menu %}
13
13
  {% include language.html %}
14
- </header>
14
+ </header>
@@ -1,12 +1,11 @@
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
-
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 -%}
4
3
  <ul class="language">
5
- {% for page in pages %}
6
- {% if page.lang != "x-default" %}
4
+ {%- for page in pages -%}
5
+ {%- if page.lang != "x-default" -%}
7
6
  <li>
8
7
  <a href="{{ page.url | absolute_url }}" class="{{ page.lang }}">{{ page.lang }}</a>
9
8
  </li>
10
- {% endif %}
11
- {% endfor %}
9
+ {%- endif -%}
10
+ {%- endfor -%}
12
11
  </ul>
@@ -1,21 +1,21 @@
1
1
  <nav id="nav">
2
2
  <ul>
3
- {% for item in include.menu %}
4
- {% if item.menu[0] %}
3
+ {%- for item in include.menu -%}
4
+ {%- if item.menu[0] -%}
5
5
  <li class="submenu {% if item.url == page.url %} current {% endif %}">
6
6
  <a href="{{ item.url | absolute_url }}">{{ item.title }}</a>
7
7
  <ul>
8
- {% for subitem in item.menu %}
8
+ {%- for subitem in item.menu -%}
9
9
  <li {% if subitem.url == page.url %} class="current" {% endif %}>
10
10
  <a href="{{ subitem.url | absolute_url }}">{{ subitem.title }}</a>
11
11
  </li>
12
- {% endfor %}
12
+ {%- endfor -%}
13
13
  </ul>
14
- {% else %}
14
+ {%- else -%}
15
15
  <li {% if item.url == page.url %} class="current" {% endif %}>
16
16
  <a href="{{ item.url | absolute_url }}">{{ item.title }}</a>
17
17
  </li>
18
- {% endif %}
19
- {% endfor %}
18
+ {%- endif -%}
19
+ {%- endfor -%}
20
20
  </ul>
21
- </nav>
21
+ </nav>
@@ -20,3 +20,11 @@ window.cookieconsent.initialise({
20
20
  }
21
21
  });
22
22
  </script>
23
+ <script src="{{ 'assets/js/simple-jekyll-search.min.js' | absolute_url }}" type="text/javascript"></script>
24
+ <script>
25
+ SimpleJekyllSearch({
26
+ searchInput: document.getElementById('search-input'),
27
+ resultsContainer: document.getElementById('search-results'),
28
+ json: "{{ '/index.json' | absolute_url }}"
29
+ })
30
+ </script>
@@ -1,18 +1,17 @@
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
  Twenty by HTML5 UP
12
11
  html5up.net | @ajlkn
13
12
  Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
14
13
  -->
15
- <html lang="{{ lang }}">
14
+ <html lang="{{ lang }}">
16
15
 
17
16
  {% include head.html title=title subtitle=subtitle %}
18
17
 
@@ -1,7 +1,5 @@
1
1
  ---
2
2
  layout: default
3
3
  ---
4
-
5
4
  {% include banner.html %}
6
-
7
- {{ content }}
5
+ {{ content }}
@@ -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>
@@ -1,5 +1,4 @@
1
1
  ---
2
2
  layout: default
3
3
  ---
4
-
5
4
  {{ content }}
@@ -1,5 +1,4 @@
1
1
  ---
2
2
  layout: page
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 %}
19
+ {%- endunless -%}
20
+ {%- endfor -%}
21
21
  </urlset>
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-twenty
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
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
@@ -72,9 +72,13 @@ files:
72
72
  - _includes/scripts.html
73
73
  - _layouts/default.html
74
74
  - _layouts/home.html
75
+ - _layouts/index.html
76
+ - _layouts/legal-terms.html
75
77
  - _layouts/page.html
76
78
  - _layouts/post.html
79
+ - _layouts/privacy-policy.html
77
80
  - _layouts/redirect.html
81
+ - _layouts/robots.html
78
82
  - _layouts/sitemap.html
79
83
  - _sass/base/_page.scss
80
84
  - _sass/base/_reset.scss
@@ -126,6 +130,7 @@ files:
126
130
  - assets/fonts/fontawesome-webfont.woff
127
131
  - assets/fonts/fontawesome-webfont.woff2
128
132
  - assets/images/banner.jpg
133
+ - assets/images/logo.png
129
134
  - assets/images/logo.svg
130
135
  - assets/images/pic01.jpg
131
136
  - assets/images/pic02.jpg
@@ -140,6 +145,7 @@ files:
140
145
  - assets/js/jquery.scrollex.min.js
141
146
  - assets/js/jquery.scrolly.min.js
142
147
  - assets/js/main.js
148
+ - assets/js/simple-jekyll-search.min.js
143
149
  - assets/js/util.js
144
150
  - sitemap.md
145
151
  homepage: https://github.com/moodule/jekyll-theme-twenty