minima-rock 0.9.2 → 0.9.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: 517cb9b28787cf24065e5de7f46aa3d2ad01eda2c536e4a5466091ea0eb66523
4
- data.tar.gz: eefc264691a329e8f142a511b8e4185a6fd17c5bc57d39cd6e8844b2860d7055
3
+ metadata.gz: c371c0fcd762b0c3b93437109d1e5a298499f35a9279b72e8fb4e4eb4b46add8
4
+ data.tar.gz: 88d3511295af6d8c45338863f297a1c0d5ed3c564d7a14bdfc3537c1273382ba
5
5
  SHA512:
6
- metadata.gz: f9acf2ecad203e699129ef8863fbd2b1d067d2a8b679b2ee5aa4057aa1deb7111110807682489744daad9f755bcb3bfc242afc0e1bbd46a3fc48b5322e4f721c
7
- data.tar.gz: 1e160fbbd2a1732c2d962f79520db87646cba64125545e80b0000007ebe2f3369393cba7e8570e7cd786ddb490d7042b70e158f3ff11adcff944e8008ba3afd4
6
+ metadata.gz: 76c9320f40d1996b53b502c7a7a2bb2c65459608ade80155cca8245aef095222c7b128e8472d12f0c38d14ee84a1509d2310ad1f28c9c177cfabafede784f201
7
+ data.tar.gz: a58b74aa019f99d70c31fd1c07ba5be5d8f45749764a1dcdf0b229809c8443e80d20cb7139e1adb5408fae381d2b187e704b97447155b4a4de840c8d62e22660
data/LICENSE.txt CHANGED
@@ -1,22 +1,22 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2016-present Parker Moore and the minima contributors
4
- Copyright (c) 2019-present Alexander Huang
5
-
6
- Permission is hereby granted, free of charge, to any person obtaining a copy
7
- of this software and associated documentation files (the "Software"), to deal
8
- in the Software without restriction, including without limitation the rights
9
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
- copies of the Software, and to permit persons to whom the Software is
11
- furnished to do so, subject to the following conditions:
12
-
13
- The above copyright notice and this permission notice shall be included in
14
- all copies or substantial portions of the Software.
15
-
16
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22
- THE SOFTWARE.
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2016-present Parker Moore and the minima contributors
4
+ Copyright (c) 2019-present Alexander Huang
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in
14
+ all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22
+ THE SOFTWARE.
data/README.md CHANGED
@@ -1,3 +1,3 @@
1
- # Minima Rock
2
-
3
- Minima Rock is a Jekyll theme extended from Minima.
1
+ # Minima Rock
2
+
3
+ Minima Rock is a Jekyll theme extended from Minima.
@@ -1,8 +1,8 @@
1
- # From https://www.transparenttextures.com/
2
- - name: '/assets/css/background/3px-tile.png'
3
- - name: '/assets/css/background/45-degree-fabric-light.png'
4
- - name: '/assets/css/background/back-pattern.png'
5
- - name: '/assets/css/background/batthern.png'
6
- - name: '/assets/css/background/bedge-grunge.png'
7
- - name: '/assets/css/background/brick-wall.png'
8
- - name: '/assets/css/background/concrete-wall-2.png'
1
+ # From https://www.transparenttextures.com/
2
+ - name: '/assets/css/background/3px-tile.png'
3
+ - name: '/assets/css/background/45-degree-fabric-light.png'
4
+ - name: '/assets/css/background/back-pattern.png'
5
+ - name: '/assets/css/background/batthern.png'
6
+ - name: '/assets/css/background/bedge-grunge.png'
7
+ - name: '/assets/css/background/brick-wall.png'
8
+ - name: '/assets/css/background/concrete-wall-2.png'
data/_data/navigation.yml CHANGED
@@ -1,8 +1,8 @@
1
- - name: About
2
- link: /about.html
3
- - name: Categories
4
- link: /categories.html
5
- - name: Tags
6
- link: /tags.html
7
- - name: Search
1
+ - name: About
2
+ link: /about.html
3
+ - name: Categories
4
+ link: /categories.html
5
+ - name: Tags
6
+ link: /tags.html
7
+ - name: Search
8
8
  link: /search.html
data/_data/social.yml CHANGED
@@ -1,22 +1,22 @@
1
- twitter: jekyllrb
2
- github: jekyll
3
- rss: rss
4
- # dribbble: jekyll
5
- # facebook: jekyll
6
- # flickr: jekyll
7
- # instagram: jekyll
8
- # linkedin: jekyll
9
- # pinterest: jekyll
10
- # youtube: jekyll
11
- # youtube_channel: UC8CXR0-3I70i1tfPg1PAE1g
12
- # youtube_channel_name: CloudCannon
13
- # telegram: jekyll
14
- # googleplus: +jekyll
15
- # microdotblog: jekyll
16
-
17
- # Mastodon instances
18
- # mastodon:
19
- # - username: jekyll
20
- # instance: example.com
21
- # - username: jekyll2
1
+ twitter: jekyllrb
2
+ github: jekyll
3
+ rss: rss
4
+ # dribbble: jekyll
5
+ # facebook: jekyll
6
+ # flickr: jekyll
7
+ # instagram: jekyll
8
+ # linkedin: jekyll
9
+ # pinterest: jekyll
10
+ # youtube: jekyll
11
+ # youtube_channel: UC8CXR0-3I70i1tfPg1PAE1g
12
+ # youtube_channel_name: CloudCannon
13
+ # telegram: jekyll
14
+ # googleplus: +jekyll
15
+ # microdotblog: jekyll
16
+
17
+ # Mastodon instances
18
+ # mastodon:
19
+ # - username: jekyll
20
+ # instance: example.com
21
+ # - username: jekyll2
22
22
  # instance: example.com
@@ -1,15 +1,15 @@
1
- <ul>
2
- {% for category in site.categories %}
3
- {% if category[0] == page.category %}
4
- {% assign post_list = category[1] %}
5
- {%- for post in post_list -%}
6
- <li>
7
- <span>{{ post.date | date: "%Y-%m-%d" }}</span> &raquo;
8
- <a href="{{ post.url | relative_url }}">
9
- {{ post.title | escape }}
10
- </a>
11
- </li>
12
- {%- endfor -%}
13
- {%- endif -%}
14
- {% endfor %}
1
+ <ul>
2
+ {% for category in site.categories %}
3
+ {% if category[0] == page.category %}
4
+ {% assign post_list = category[1] %}
5
+ {%- for post in post_list -%}
6
+ <li>
7
+ <span>{{ post.date | date: "%Y-%m-%d" }}</span> &raquo;
8
+ <a href="{{ post.url | relative_url }}">
9
+ {{ post.title | escape }}
10
+ </a>
11
+ </li>
12
+ {%- endfor -%}
13
+ {%- endif -%}
14
+ {% endfor %}
15
15
  </ul>
@@ -1,12 +1,12 @@
1
- <ul class="category-list">
2
- {% assign categories = site.categories | sort %}
3
- {% for category in categories %}
4
- <li class="site-category">
5
- <h2>
6
- <a class="site-category-text" href="{{ site.baseurl }}/categories/{{ category | first | slugify }}.html">
7
- {{ category[0] }}
8
- </a>
9
- </h2>
10
- </li>
11
- {% endfor %}
12
- </ul>
1
+ <ul class="category-list">
2
+ {% assign categories = site.categories | sort %}
3
+ {% for category in categories %}
4
+ <li class="site-category">
5
+ <h2>
6
+ <a class="site-category-text" href="{{ site.baseurl }}/categories/{{ category | first | slugify }}.html">
7
+ {{ category[0] }}
8
+ </a>
9
+ </h2>
10
+ </li>
11
+ {% endfor %}
12
+ </ul>
@@ -1,20 +1,20 @@
1
- {%- if page.comments != false and jekyll.environment == "production" and site.data.disqus -%}
2
-
3
- <div id="disqus_thread"></div>
4
- <script>
5
- var disqus_config = function () {
6
- this.page.url = '{{ page.url | absolute_url }}';
7
- this.page.identifier = '{{ page.url | absolute_url }}';
8
- };
9
-
10
- (function() {
11
- var d = document, s = d.createElement('script');
12
-
13
- s.src = 'https://{{ site.data.disqus.shortname }}.disqus.com/embed.js';
14
-
15
- s.setAttribute('data-timestamp', +new Date());
16
- (d.head || d.body).appendChild(s);
17
- })();
18
- </script>
19
- <noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
20
- {%- endif -%}
1
+ {%- if page.comments != false and jekyll.environment == "production" and site.data.disqus -%}
2
+
3
+ <div id="disqus_thread"></div>
4
+ <script>
5
+ var disqus_config = function () {
6
+ this.page.url = '{{ page.url | absolute_url }}';
7
+ this.page.identifier = '{{ page.url | absolute_url }}';
8
+ };
9
+
10
+ (function() {
11
+ var d = document, s = d.createElement('script');
12
+
13
+ s.src = 'https://{{ site.data.disqus.shortname }}.disqus.com/embed.js';
14
+
15
+ s.setAttribute('data-timestamp', +new Date());
16
+ (d.head || d.body).appendChild(s);
17
+ })();
18
+ </script>
19
+ <noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
20
+ {%- endif -%}
@@ -1,34 +1,34 @@
1
- <footer class="site-footer h-card">
2
- <data class="u-url" href="{{ "/" | relative_url }}"></data>
3
-
4
- <div class="wrapper">
5
-
6
- <div class="footer-col-wrapper">
7
- <div class="footer-col one-half">
8
- <h2 class="footer-heading">{{ site.title | escape }}</h2>
9
- <ul class="contact-list">
10
- <li class="p-name">
11
- {%- if site.author -%}
12
- {{ site.author | escape }}
13
- {%- else -%}
14
- {{ site.title | escape }}
15
- {%- endif -%}
16
- </li>
17
- {%- if site.email -%}
18
- <li><a class="u-email" href="mailto:{{ site.email }}">{{ site.email }}</a></li>
19
- {%- endif -%}
20
- </ul>
21
- </div>
22
-
23
- <div class="footer-col one-half">
24
- <p>{{- site.description | escape -}}</p>
25
- </div>
26
-
27
- <div class="social-links">
28
- {%- include social.html -%}
29
- </div>
30
- </div>
31
-
32
- </div>
33
-
34
- </footer>
1
+ <footer class="site-footer h-card">
2
+ <data class="u-url" href="{{ "/" | relative_url }}"></data>
3
+
4
+ <div class="wrapper">
5
+
6
+ <div class="footer-col-wrapper">
7
+ <div class="footer-col one-half">
8
+ <h2 class="footer-heading">{{ site.title | escape }}</h2>
9
+ <ul class="contact-list">
10
+ <li class="p-name">
11
+ {%- if site.author -%}
12
+ {{ site.author | escape }}
13
+ {%- else -%}
14
+ {{ site.title | escape }}
15
+ {%- endif -%}
16
+ </li>
17
+ {%- if site.email -%}
18
+ <li><a class="u-email" href="mailto:{{ site.email }}">{{ site.email }}</a></li>
19
+ {%- endif -%}
20
+ </ul>
21
+ </div>
22
+
23
+ <div class="footer-col one-half">
24
+ <p>{{- site.description | escape -}}</p>
25
+ </div>
26
+
27
+ <div class="social-links">
28
+ {%- include social.html -%}
29
+ </div>
30
+ </div>
31
+
32
+ </div>
33
+
34
+ </footer>
@@ -1,11 +1,11 @@
1
- {% if site.data.google_analytics %}
2
- <script async src="https://www.googletagmanager.com/gtag/js?id={{ site.data.google_analytics.id }}"></script>
3
- <script>
4
- window['ga-disable-{{ site.data.google_analytics.id }}'] = window.doNotTrack === "1" || navigator.doNotTrack === "1" || navigator.doNotTrack === "yes" || navigator.msDoNotTrack === "1";
5
- window.dataLayer = window.dataLayer || [];
6
- function gtag(){dataLayer.push(arguments);}
7
- gtag('js', new Date());
8
-
9
- gtag('config', '{{ site.data.google_analytics.id }}');
10
- </script>
1
+ {% if site.data.google_analytics %}
2
+ <script async src="https://www.googletagmanager.com/gtag/js?id={{ site.data.google_analytics.id }}"></script>
3
+ <script>
4
+ window['ga-disable-{{ site.data.google_analytics.id }}'] = window.doNotTrack === "1" || navigator.doNotTrack === "1" || navigator.doNotTrack === "yes" || navigator.msDoNotTrack === "1";
5
+ window.dataLayer = window.dataLayer || [];
6
+ function gtag(){dataLayer.push(arguments);}
7
+ gtag('js', new Date());
8
+
9
+ gtag('config', '{{ site.data.google_analytics.id }}');
10
+ </script>
11
11
  {% endif %}
data/_includes/head.html CHANGED
@@ -1,15 +1,15 @@
1
- <head>
2
- <meta charset="utf-8">
3
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
4
- <meta name="viewport" content="width=device-width, initial-scale=1">
5
- {%- seo -%}
6
- <link rel="stylesheet" href="{{ "/assets/css/style.css" | relative_url }}"/>
7
- <script type="text/javascript" src="{{ site.baseurl }}/assets/js/color.js"></script>
8
- {%- if page.math -%}
9
- {%- include mathjax.html -%}
10
- {%- endif -%}
11
- {%- feed_meta -%}
12
- {%- if jekyll.environment == 'production' and site.google_analytics -%}
13
- {%- include google-analytics.html -%}
14
- {%- endif -%}
15
- </head>
1
+ <head>
2
+ <meta charset="utf-8">
3
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
4
+ <meta name="viewport" content="width=device-width, initial-scale=1">
5
+ {%- seo -%}
6
+ <link rel="stylesheet" href="{{ "/assets/css/style.css" | relative_url }}"/>
7
+ <script type="text/javascript" src="{{ site.baseurl }}/assets/js/color.js"></script>
8
+ {%- if page.math -%}
9
+ {%- include mathjax.html -%}
10
+ {%- endif -%}
11
+ {%- feed_meta -%}
12
+ {%- if jekyll.environment == 'production' and site.google_analytics -%}
13
+ {%- include google-analytics.html -%}
14
+ {%- endif -%}
15
+ </head>
@@ -1,23 +1,23 @@
1
- <header class="site-header">
2
-
3
- <div class="wrapper">
4
- <a class="site-title" rel="author" href="{{ "/" | relative_url }}">{{ site.title | escape }}</a>
5
-
6
- <nav class="site-nav">
7
- <input type="checkbox" id="nav-trigger" class="nav-trigger" />
8
- <label for="nav-trigger">
9
- <span class="menu-icon">
10
- <svg viewBox="0 0 18 15" width="18px" height="15px">
11
- <path d="M18,1.484c0,0.82-0.665,1.484-1.484,1.484H1.484C0.665,2.969,0,2.304,0,1.484l0,0C0,0.665,0.665,0,1.484,0 h15.032C17.335,0,18,0.665,18,1.484L18,1.484z M18,7.516C18,8.335,17.335,9,16.516,9H1.484C0.665,9,0,8.335,0,7.516l0,0 c0-0.82,0.665-1.484,1.484-1.484h15.032C17.335,6.031,18,6.696,18,7.516L18,7.516z M18,13.516C18,14.335,17.335,15,16.516,15H1.484 C0.665,15,0,14.335,0,13.516l0,0c0-0.82,0.665-1.483,1.484-1.483h15.032C17.335,12.031,18,12.695,18,13.516L18,13.516z"/>
12
- </svg>
13
- </span>
14
- </label>
15
-
16
- <div class="trigger">
17
- {%- for item in site.data.navigation -%}
18
- <a class="page-link" href="{{ site.baseurl }}{{ item.link }}">{{ item.name | escape }}</a>
19
- {%- endfor -%}
20
- </div>
21
- </nav>
22
- </div>
23
- </header>
1
+ <header class="site-header">
2
+
3
+ <div class="wrapper">
4
+ <a class="site-title" rel="author" href="{{ "/" | relative_url }}">{{ site.title | escape }}</a>
5
+
6
+ <nav class="site-nav">
7
+ <input type="checkbox" id="nav-trigger" class="nav-trigger" />
8
+ <label for="nav-trigger">
9
+ <span class="menu-icon">
10
+ <svg viewBox="0 0 18 15" width="18px" height="15px">
11
+ <path d="M18,1.484c0,0.82-0.665,1.484-1.484,1.484H1.484C0.665,2.969,0,2.304,0,1.484l0,0C0,0.665,0.665,0,1.484,0 h15.032C17.335,0,18,0.665,18,1.484L18,1.484z M18,7.516C18,8.335,17.335,9,16.516,9H1.484C0.665,9,0,8.335,0,7.516l0,0 c0-0.82,0.665-1.484,1.484-1.484h15.032C17.335,6.031,18,6.696,18,7.516L18,7.516z M18,13.516C18,14.335,17.335,15,16.516,15H1.484 C0.665,15,0,14.335,0,13.516l0,0c0-0.82,0.665-1.483,1.484-1.483h15.032C17.335,12.031,18,12.695,18,13.516L18,13.516z"/>
12
+ </svg>
13
+ </span>
14
+ </label>
15
+
16
+ <div class="trigger">
17
+ {%- for item in site.data.navigation -%}
18
+ <a class="page-link" href="{{ site.baseurl }}{{ item.link }}">{{ item.name | escape }}</a>
19
+ {%- endfor -%}
20
+ </div>
21
+ </nav>
22
+ </div>
23
+ </header>
data/_includes/image.html CHANGED
@@ -1,14 +1,14 @@
1
- {% if page.assets %}
2
- {% capture imagePath %}{{ page.assets | slugify }}/{{ include.name }}{% endcapture %}
3
- {% else %}
4
- {% capture imagePath %}{{ page.title | slugify }}/{{ include.name }}{% endcapture %}
5
- {% endif %}
6
-
7
- {% if include.caption %}
8
- <figure>
9
- <img src="{{ site.baseurl }}/static/assets/posts/{{ imagePath }}" {% if include.alt %} alt="{{ include.alt }}" {% endif %} {% if include.width %} width="{{ include.width }}" {% endif %}/>
10
- <figcaption>{{ include.caption }}</figcaption>
11
- </figure>
12
- {% else %}
13
- <img src="{{ site.baseurl }}/static/assets/posts/{{ imagePath }}" {% if include.alt %} alt="{{ include.alt }}" {% endif %} {% if include.width %} width="{{ include.width }}" {% endif %}/>
1
+ {% if page.assets %}
2
+ {% capture imagePath %}{{ page.assets | slugify }}/{{ include.name }}{% endcapture %}
3
+ {% else %}
4
+ {% capture imagePath %}{{ page.title | slugify }}/{{ include.name }}{% endcapture %}
5
+ {% endif %}
6
+
7
+ {% if include.caption %}
8
+ <figure>
9
+ <img src="{{ site.baseurl }}/static/assets/posts/{{ imagePath }}" {% if include.alt %} alt="{{ include.alt }}" {% endif %} {% if include.width %} width="{{ include.width }}" {% endif %}/>
10
+ <figcaption>{{ include.caption }}</figcaption>
11
+ </figure>
12
+ {% else %}
13
+ <img src="{{ site.baseurl }}/static/assets/posts/{{ imagePath }}" {% if include.alt %} alt="{{ include.alt }}" {% endif %} {% if include.width %} width="{{ include.width }}" {% endif %}/>
14
14
  {% endif %}
@@ -1,6 +1,6 @@
1
- <script type="text/x-mathjax-config">
2
- MathJax.Hub.Config({
3
- tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]}
4
- });
5
- </script>
6
- <script src='https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-MML-AM_CHTML' async></script>
1
+ <script type="text/x-mathjax-config">
2
+ MathJax.Hub.Config({
3
+ tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]}
4
+ });
5
+ </script>
6
+ <script src='https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-MML-AM_CHTML' async></script>
@@ -1,17 +1,17 @@
1
- <!-- Html Elements for Search -->
2
- <div id="search-container">
3
- <input type="text" id="search-input" placeholder="search...">
4
- <ul id="results-container"></ul>
5
- </div>
6
-
7
- <!-- Script pointing to search-script.js -->
8
- <script src="assets/js/simple-jekyll-search.min.js" type="text/javascript"></script>
9
-
10
- <!-- Configuration -->
11
- <script>
12
- SimpleJekyllSearch({
13
- searchInput: document.getElementById('search-input'),
14
- resultsContainer: document.getElementById('results-container'),
15
- json: 'assets/json/search.json'
16
- })
1
+ <!-- Html Elements for Search -->
2
+ <div id="search-container">
3
+ <input type="text" id="search-input" placeholder="search...">
4
+ <ul id="results-container"></ul>
5
+ </div>
6
+
7
+ <!-- Script pointing to search-script.js -->
8
+ <script src="assets/js/simple-jekyll-search.min.js" type="text/javascript"></script>
9
+
10
+ <!-- Configuration -->
11
+ <script>
12
+ SimpleJekyllSearch({
13
+ searchInput: document.getElementById('search-input'),
14
+ resultsContainer: document.getElementById('results-container'),
15
+ json: 'assets/json/search.json'
16
+ })
17
17
  </script>
@@ -1,69 +1,69 @@
1
- {%- if page.share != false and jekyll.environment == "production" and site.data.share -%}
2
- <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
3
- <div id="share-bar">
4
- <div class="share-buttons">
5
- {% if site.data.share.facebook %}
6
- <a href="https://www.facebook.com/sharer/sharer.php?u={{ site.url }}{{ site.baseurl }}{{ page.url }}"
7
- onclick="window.open(this.href, 'pop-up', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;"
8
- title="Share on Facebook" >
9
- <i class="fa fa-facebook-official share-button"></i>
10
- </a>
11
- {% endif %}
12
-
13
- {% if site.data.share.twitter %}
14
- <a href="https://twitter.com/intent/tweet?text={{ page.title }}&url={{ site.url }}{{ site.baseurl }}{{ page.url }}"
15
- onclick="window.open(this.href, 'pop-up', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;"
16
- title="Share on Twitter" >
17
- <i class="fa fa-twitter share-button"></i>
18
- </a>
19
- {% endif %}
20
-
21
- {% if site.data.share.google %}
22
- <a href="https://plus.google.com/share?url={{ site.url }}{{ site.baseurl }}{{ page.url }}"
23
- onclick="window.open(this.href, 'pop-up', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;"
24
- title="Share on Google+" >
25
- <i class="fa fa-google-plus share-button"></i>
26
- </a>
27
- {% endif %}
28
-
29
- {% if site.data.share.pinterest %}
30
- <a href="https://www.pinterest.com/pin/create/button/?url={{ site.url }}{{ site.baseurl }}{{ page.url }}"
31
- onclick="window.open(this.href, 'pop-up', 'left=20,top=20,width=900,height=500,toolbar=1,resizable=0'); return false;"
32
- title="Share on Pinterest" >
33
- <i class="fa fa-pinterest-p share-button"></i>
34
- </a>
35
- {% endif %}
36
-
37
- {% if site.data.share.tumblr %}
38
- <a href="https://www.tumblr.com/share/link?url={{ site.url }}{{ site.baseurl }}{{ page.url }}"
39
- onclick="window.open(this.href, 'pop-up', 'left=20,top=20,width=900,height=500,toolbar=1,resizable=0'); return false;"
40
- title="Share on Tumblr" >
41
- <i class="fa fa-tumblr share-button"></i>
42
- </a>
43
- {% endif %}
44
-
45
- {% if site.data.share.reddit %}
46
- <a href="http://www.reddit.com/submit?url={{ site.url }}{{ site.baseurl }}{{ page.url }}"
47
- onclick="window.open(this.href, 'pop-up', 'left=20,top=20,width=900,height=500,toolbar=1,resizable=0'); return false;"
48
- title="Share on Reddit" >
49
- <i class="fa fa-reddit-alien share-button"></i>
50
- </a>
51
- {% endif %}
52
-
53
- {% if site.data.share.linkedin %}
54
- <a href="https://www.linkedin.com/shareArticle?mini=true&url={{ site.url }}{{ site.baseurl }}{{ page.url }}&title={{ page.title }}&summary={{ page.description }}&source={{ site.title }}"
55
- onclick="window.open(this.href, 'pop-up', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;"
56
- title="Share on LinkedIn" >
57
- <i class="fa fa-linkedin share-button"></i>
58
- </a>
59
- {% endif %}
60
-
61
- {% if site.data.share.mail %}
62
- <a href="mailto:?subject={{ page.title }}&amp;body=Check out this site {{ site.url }}{{ site.baseurl }}{{ page.url }}"
63
- title="Share via Email" >
64
- <i class="fa fa-envelope share-button"></i>
65
- </a>
66
- {% endif %}
67
- </div>
68
- </div>
1
+ {%- if page.share != false and jekyll.environment == "production" and site.data.share -%}
2
+ <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
3
+ <div id="share-bar">
4
+ <div class="share-buttons">
5
+ {% if site.data.share.facebook %}
6
+ <a href="https://www.facebook.com/sharer/sharer.php?u={{ site.url }}{{ site.baseurl }}{{ page.url }}"
7
+ onclick="window.open(this.href, 'pop-up', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;"
8
+ title="Share on Facebook" >
9
+ <i class="fa fa-facebook-official share-button"></i>
10
+ </a>
11
+ {% endif %}
12
+
13
+ {% if site.data.share.twitter %}
14
+ <a href="https://twitter.com/intent/tweet?text={{ page.title }}&url={{ site.url }}{{ site.baseurl }}{{ page.url }}"
15
+ onclick="window.open(this.href, 'pop-up', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;"
16
+ title="Share on Twitter" >
17
+ <i class="fa fa-twitter share-button"></i>
18
+ </a>
19
+ {% endif %}
20
+
21
+ {% if site.data.share.google %}
22
+ <a href="https://plus.google.com/share?url={{ site.url }}{{ site.baseurl }}{{ page.url }}"
23
+ onclick="window.open(this.href, 'pop-up', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;"
24
+ title="Share on Google+" >
25
+ <i class="fa fa-google-plus share-button"></i>
26
+ </a>
27
+ {% endif %}
28
+
29
+ {% if site.data.share.pinterest %}
30
+ <a href="https://www.pinterest.com/pin/create/button/?url={{ site.url }}{{ site.baseurl }}{{ page.url }}"
31
+ onclick="window.open(this.href, 'pop-up', 'left=20,top=20,width=900,height=500,toolbar=1,resizable=0'); return false;"
32
+ title="Share on Pinterest" >
33
+ <i class="fa fa-pinterest-p share-button"></i>
34
+ </a>
35
+ {% endif %}
36
+
37
+ {% if site.data.share.tumblr %}
38
+ <a href="https://www.tumblr.com/share/link?url={{ site.url }}{{ site.baseurl }}{{ page.url }}"
39
+ onclick="window.open(this.href, 'pop-up', 'left=20,top=20,width=900,height=500,toolbar=1,resizable=0'); return false;"
40
+ title="Share on Tumblr" >
41
+ <i class="fa fa-tumblr share-button"></i>
42
+ </a>
43
+ {% endif %}
44
+
45
+ {% if site.data.share.reddit %}
46
+ <a href="http://www.reddit.com/submit?url={{ site.url }}{{ site.baseurl }}{{ page.url }}"
47
+ onclick="window.open(this.href, 'pop-up', 'left=20,top=20,width=900,height=500,toolbar=1,resizable=0'); return false;"
48
+ title="Share on Reddit" >
49
+ <i class="fa fa-reddit-alien share-button"></i>
50
+ </a>
51
+ {% endif %}
52
+
53
+ {% if site.data.share.linkedin %}
54
+ <a href="https://www.linkedin.com/shareArticle?mini=true&url={{ site.url }}{{ site.baseurl }}{{ page.url }}&title={{ page.title }}&summary={{ page.description }}&source={{ site.title }}"
55
+ onclick="window.open(this.href, 'pop-up', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;"
56
+ title="Share on LinkedIn" >
57
+ <i class="fa fa-linkedin share-button"></i>
58
+ </a>
59
+ {% endif %}
60
+
61
+ {% if site.data.share.mail %}
62
+ <a href="mailto:?subject={{ page.title }}&amp;body=Check out this site {{ site.url }}{{ site.baseurl }}{{ page.url }}"
63
+ title="Share via Email" >
64
+ <i class="fa fa-envelope share-button"></i>
65
+ </a>
66
+ {% endif %}
67
+ </div>
68
+ </div>
69
69
  {%- endif -%}