jekyll-theme-twenty 0.1.6 → 0.1.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. checksums.yaml +4 -4
  2. data/.github/LICENSE +437 -0
  3. data/{README.md → .github/README.md} +26 -2
  4. data/_includes/banner.html +1 -5
  5. data/_includes/contact.html +13 -0
  6. data/_includes/contact_form.html +25 -0
  7. data/_includes/contact_script.html +51 -0
  8. data/_includes/cta.html +1 -3
  9. data/_includes/date.html +26 -0
  10. data/_includes/footer.html +28 -28
  11. data/_includes/head.html +5 -2
  12. data/_includes/header.html +6 -26
  13. data/_includes/language.html +9 -0
  14. data/_includes/navigation.html +22 -0
  15. data/_includes/scripts.html +8 -0
  16. data/_layouts/default.html +11 -2
  17. data/_layouts/home.html +1 -5
  18. data/_layouts/index.html +17 -0
  19. data/_layouts/legal-terms.html +9 -0
  20. data/_layouts/page.html +0 -3
  21. data/_layouts/post.html +0 -1
  22. data/_layouts/privacy-policy.html +81 -0
  23. data/_layouts/redirect.html +10 -0
  24. data/_layouts/robots.html +7 -0
  25. data/_layouts/sitemap.html +11 -8
  26. data/_sass/layout/_header.scss +32 -0
  27. data/assets/js/simple-jekyll-search.min.js +6 -0
  28. metadata +55 -30
  29. data/LICENSE +0 -63
  30. data/assets/fonts/FontAwesome.otf +0 -0
  31. data/assets/fonts/fontawesome-webfont.eot +0 -0
  32. data/assets/fonts/fontawesome-webfont.svg +0 -2671
  33. data/assets/fonts/fontawesome-webfont.ttf +0 -0
  34. data/assets/fonts/fontawesome-webfont.woff +0 -0
  35. data/assets/fonts/fontawesome-webfont.woff2 +0 -0
  36. data/assets/images/banner.jpg +0 -0
  37. data/assets/images/logo.svg +0 -21
  38. data/assets/images/pic01.jpg +0 -0
  39. data/assets/images/pic02.jpg +0 -0
  40. data/assets/images/pic03.jpg +0 -0
  41. data/assets/images/pic04.jpg +0 -0
  42. data/assets/images/screenshot.jpg +0 -0
  43. data/sitemap.md +0 -4
@@ -0,0 +1,26 @@
1
+ {%- assign day = include.date | date: "%-d" -%}
2
+ {%- assign month = include.date | date: "%-m" -%}
3
+ {%- if page.lang == "en" -%}
4
+ {{ include.date | date: "%B" }} {{ day }}, {{ include.date | date: "%Y" }}
5
+ {%- elsif page.lang == "fr" -%}
6
+ {%- if day == "1" -%}
7
+ {{ day }}<sup>er</sup>
8
+ {%- else -%}
9
+ {{ day }}
10
+ {%- endif -%}
11
+ {%- case month -%}
12
+ {% when '1' %}janvier
13
+ {% when '2' %}février
14
+ {% when '3' %}mars
15
+ {% when '4' %}avril
16
+ {% when '5' %}mai
17
+ {% when '6' %}juin
18
+ {% when '7' %}juillet
19
+ {% when '8' %}août
20
+ {% when '9' %}septembre
21
+ {% when '10' %}octobre
22
+ {% when '11' %}novembre
23
+ {% when '12' %}décembre
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
- <li>Jekyll integration: <a href="http://github.com/moodule" target="_blank">Moodule</a></li>
41
- {% if site.legal_terms_url %}
42
- <li><a href="{{ site.legal_terms_url | absolute_url }}" target="_blank">Legal Terms</a></li>
43
- {% endif %}
44
- {% if site.privacy_policy_url %}
45
- <li><a href="{{ site.privacy_policy_url | absolute_url }}" target="_blank">Privacy Policy</a></li>
46
- {% endif %}
40
+ <li>Jekyll integration: <a href="http://github.com/apehex" target="_blank">apehex</a></li>
41
+ {%- if site.legal_terms.url -%}
42
+ <li><a href="{{ site.legal_terms.url | absolute_url }}" target="_blank">Legal Terms</a></li>
43
+ {%- endif -%}
44
+ {%- if site.privacy_policy.url -%}
45
+ <li><a href="{{ site.privacy_policy.url | absolute_url }}" target="_blank">Privacy Policy</a></li>
46
+ {%- endif -%}
47
47
  </ul>
48
48
 
49
- </footer>
49
+ </footer>
data/_includes/head.html CHANGED
@@ -1,7 +1,10 @@
1
1
  <head>
2
- <title>{{ site.title }} - {{ site.subtitle }}</title>
2
+ <title>{{ include.title }} - {{ include.subtitle }}</title>
3
3
  <meta charset="utf-8" />
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
- </head>
7
+ {%- if site.favicon -%}
8
+ <link rel="icon" href="{{ site.favicon | absolute_url }}" />
9
+ {%- endif -%}
10
+ </head>
@@ -1,33 +1,13 @@
1
1
  <!-- Header -->
2
- <header id="header" {% if include.class %} class="{{ include.class }}" {% endif %}>
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_url %}
6
- <img src="{{ site.logo_url | absolute_url }}" width="32" height="32">
5
+ {%- if site.logo -%}
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
- <nav id="nav">
13
- <ul>
14
- {% for item in site.data.navigation.menu %}
15
- {% if item.menu[0] %}
16
- <li class="submenu {% if item.url == page.url %} current {% endif %}">
17
- <a href="{{ item.url | absolute_url }}">{{ item.title }}</a>
18
- <ul>
19
- {% for subitem in item.menu %}
20
- <li {% if subitem.url == page.url %} class="current" {% endif %}>
21
- <a href="{{ subitem.url | absolute_url }}">{{ subitem.title }}</a>
22
- </li>
23
- {% endfor %}
24
- </ul>
25
- {% else %}
26
- <li {% if item.url == page.url %} class="current" {% endif %}>
27
- <a href="{{ item.url | absolute_url }}">{{ item.title }}</a>
28
- </li>
29
- {% endif %}
30
- {% endfor %}
31
- </ul>
32
- </nav>
33
- </header>
12
+ {% include navigation.html menu=include.menu %}
13
+ </header>
@@ -0,0 +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
+ {%- for page in pages -%}
4
+ {%- if page.lang != "x-default" -%}
5
+ <li>
6
+ <a href="{{ page.url | absolute_url }}" class="{{ page.lang }}">{{ page.lang }}</a>
7
+ </li>
8
+ {%- endif -%}
9
+ {%- endfor -%}
@@ -0,0 +1,22 @@
1
+ <nav id="nav">
2
+ <ul>
3
+ {%- for item in include.menu -%}
4
+ {%- if item.menu[0] -%}
5
+ <li class="submenu {% if item.url == page.url %} current {% endif %}">
6
+ <a href="{{ item.url | absolute_url }}">{{ item.title }}</a>
7
+ <ul>
8
+ {%- for subitem in item.menu -%}
9
+ <li {% if subitem.url == page.url %} class="current" {% endif %}>
10
+ <a href="{{ subitem.url | absolute_url }}">{{ subitem.title }}</a>
11
+ </li>
12
+ {%- endfor -%}
13
+ </ul>
14
+ {%- else -%}
15
+ <li {% if item.url == page.url %} class="current" {% endif %}>
16
+ <a href="{{ item.url | absolute_url }}">{{ item.title }}</a>
17
+ </li>
18
+ {%- endif -%}
19
+ {%- endfor -%}
20
+ {% include language.html %}
21
+ </ul>
22
+ </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,16 +1,25 @@
1
+ ---
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 -%}
1
8
  <!DOCTYPE HTML>
2
9
  <!--
3
10
  Twenty by HTML5 UP
4
11
  html5up.net | @ajlkn
5
12
  Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
6
13
  -->
7
- <html>
14
+ <html lang="{{ lang }}">
8
15
 
9
- {% include head.html %}
16
+ {% include head.html title=title subtitle=subtitle %}
10
17
 
11
18
  <body class="index is-preload">
12
19
  <div id="page-wrapper">
13
20
 
21
+ {% include header.html menu=menu %}
22
+
14
23
  {{ content }}
15
24
 
16
25
  {% include cta.html %}
data/_layouts/home.html CHANGED
@@ -1,9 +1,5 @@
1
1
  ---
2
2
  layout: default
3
3
  ---
4
-
5
- {% include header.html class="alt" %}
6
-
7
4
  {% include banner.html %}
8
-
9
- {{ 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>
data/_layouts/page.html CHANGED
@@ -1,7 +1,4 @@
1
1
  ---
2
2
  layout: default
3
3
  ---
4
-
5
- {% include header.html %}
6
-
7
4
  {{ content }}
data/_layouts/post.html CHANGED
@@ -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>
@@ -0,0 +1,10 @@
1
+ ---
2
+ lang: x-default
3
+ ---
4
+ <!doctype html>
5
+ <html>
6
+ <head>
7
+ <meta http-equiv="refresh" content="0; url={{ page.forward_url | absolute_url }}">
8
+ <link rel="canonical" href="{{ page.forward_url | absolute_url }}" />
9
+ </head>
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,17 +2,20 @@
2
2
  layout: sitemap
3
3
  permalink: /sitemap.xml
4
4
  ---
5
- {% assign posts=site.posts %}
6
- {% assign pages=site.html_pages | 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
- {% 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" -%}
11
12
  <url>
12
13
  <loc>{{ page.url | absolute_url}}</loc>
13
- <xhtml:link rel="alternate" hreflang="en" href="{{ page.url | absolute_url }}" />
14
+ {%- for version in versions -%}
15
+ <xhtml:link rel="alternate" hreflang="{{ version.lang }}" href="{{ version.url | absolute_url }}" />
16
+ {%- endfor -%}
14
17
  <changefreq>weekly</changefreq>
15
18
  </url>
16
- {% endunless %}
17
- {% endfor %}
18
- </urlset>
19
+ {%- endunless -%}
20
+ {%- endfor -%}
21
+ </urlset>
@@ -94,6 +94,38 @@
94
94
  }
95
95
  }
96
96
 
97
+ .language {
98
+ position: absolute;
99
+ right: 0;
100
+ text-align: right;
101
+
102
+ li {
103
+ display: inline-block;
104
+ margin: 0;
105
+ padding: 0 1em 0 0;
106
+
107
+ &:last-child {
108
+ padding-right: 0;
109
+ }
110
+
111
+ .icon {
112
+ color: inherit;
113
+
114
+ &:before {
115
+ font-size: 1.25em;
116
+ }
117
+ }
118
+ }
119
+
120
+ a {
121
+ border: none;
122
+ }
123
+
124
+ .en:lang(en), .fr:lang(fr), .de:lang(de){
125
+ font-weight: bold;
126
+ }
127
+ }
128
+
97
129
  & * {
98
130
  vertical-align: middle;
99
131
  }
@@ -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.6
4
+ version: 0.1.10
5
5
  platform: ruby
6
6
  authors:
7
- - David Mougeolle
8
- autorequire:
7
+ - apehex
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-08-23 00:00:00.000000000 Z
11
+ date: 2022-01-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -16,14 +16,28 @@ 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
+ - !ruby/object:Gem::Dependency
28
+ name: jekyll-seo-tag
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '2.6'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '2.6'
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: bundler
29
43
  requirement: !ruby/object:Gem::Requirement
@@ -52,25 +66,50 @@ dependencies:
52
66
  - - "~>"
53
67
  - !ruby/object:Gem::Version
54
68
  version: '12.0'
55
- description:
69
+ - !ruby/object:Gem::Dependency
70
+ name: webrick
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '1.7'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '1.7'
83
+ description:
56
84
  email:
57
- - david.mougeolle@moodule.net
85
+ - apehex@protonmail.com
58
86
  executables: []
59
87
  extensions: []
60
88
  extra_rdoc_files: []
61
89
  files:
62
- - LICENSE
63
- - README.md
90
+ - ".github/LICENSE"
91
+ - ".github/README.md"
64
92
  - _includes/banner.html
93
+ - _includes/contact.html
94
+ - _includes/contact_form.html
95
+ - _includes/contact_script.html
65
96
  - _includes/cta.html
97
+ - _includes/date.html
66
98
  - _includes/footer.html
67
99
  - _includes/head.html
68
100
  - _includes/header.html
101
+ - _includes/language.html
102
+ - _includes/navigation.html
69
103
  - _includes/scripts.html
70
104
  - _layouts/default.html
71
105
  - _layouts/home.html
106
+ - _layouts/index.html
107
+ - _layouts/legal-terms.html
72
108
  - _layouts/page.html
73
109
  - _layouts/post.html
110
+ - _layouts/privacy-policy.html
111
+ - _layouts/redirect.html
112
+ - _layouts/robots.html
74
113
  - _layouts/sitemap.html
75
114
  - _sass/base/_page.scss
76
115
  - _sass/base/_reset.scss
@@ -115,19 +154,6 @@ files:
115
154
  - assets/css/images/overlay.png
116
155
  - assets/css/noscript.css
117
156
  - assets/css/styles.scss
118
- - assets/fonts/FontAwesome.otf
119
- - assets/fonts/fontawesome-webfont.eot
120
- - assets/fonts/fontawesome-webfont.svg
121
- - assets/fonts/fontawesome-webfont.ttf
122
- - assets/fonts/fontawesome-webfont.woff
123
- - assets/fonts/fontawesome-webfont.woff2
124
- - assets/images/banner.jpg
125
- - assets/images/logo.svg
126
- - assets/images/pic01.jpg
127
- - assets/images/pic02.jpg
128
- - assets/images/pic03.jpg
129
- - assets/images/pic04.jpg
130
- - assets/images/screenshot.jpg
131
157
  - assets/js/breakpoints.min.js
132
158
  - assets/js/browser.min.js
133
159
  - assets/js/cookieconsent.min.js
@@ -136,13 +162,13 @@ files:
136
162
  - assets/js/jquery.scrollex.min.js
137
163
  - assets/js/jquery.scrolly.min.js
138
164
  - assets/js/main.js
165
+ - assets/js/simple-jekyll-search.min.js
139
166
  - assets/js/util.js
140
- - sitemap.md
141
- homepage: https://github.com/moodule/jekyll-theme-twenty
167
+ homepage: https://github.com/apehex/jekyll-theme-twenty
142
168
  licenses:
143
- - CC-BY-3.0
169
+ - CC-BY-NC-SA-4.0
144
170
  metadata: {}
145
- post_install_message:
171
+ post_install_message:
146
172
  rdoc_options: []
147
173
  require_paths:
148
174
  - lib
@@ -157,9 +183,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
157
183
  - !ruby/object:Gem::Version
158
184
  version: '0'
159
185
  requirements: []
160
- rubyforge_project:
161
- rubygems_version: 2.7.6.2
162
- signing_key:
186
+ rubygems_version: 3.2.29
187
+ signing_key:
163
188
  specification_version: 4
164
189
  summary: A Jekyll version of the \"Twenty\" theme by HTML5 UP, full featured.
165
190
  test_files: []