minima-rock 0.7.0 → 0.7.1

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: e26352dcd1f7face26c587e34da7c09cc5a1bbf6a2f906f699350bd3f4d806ce
4
- data.tar.gz: 0f560eaedb0d37d78a9507916dd1ed9e1f5f9493c7c19bd43c38457c90dbac76
3
+ metadata.gz: 16bcacf16e1e6c0fe3c12b157c5b9f65ef1be0bde6c704b1615f3397352c285e
4
+ data.tar.gz: 17f7ac280a162dc453d026f03aeceffd1ffe5ef16b3b8c62430bca1750d33542
5
5
  SHA512:
6
- metadata.gz: e9bf01b782a27000dec0d959a8a2a7b6b8da92cfd1be1ce60db6182d44799521da1368668fed597875ad1c9f0cd5ad6cdaa64e2028d10781884dbe9dcfe256dc
7
- data.tar.gz: 03102c9fd7ba730e657398a97ceca02e5853a3864484d6329977536a605240bcb7c1bee68445881c3e27c575ad156178bf121cb78fd24fb7e90e9c80f2bb815f
6
+ metadata.gz: 3af529f53ccf662ce414eafa8a3e36e4f86e1e404fafaeff453c29a1e5282121a84eb199bcea9a1d0f7336ac766a730b4225cf65ec22311dc745a64e78499af9
7
+ data.tar.gz: f4c3c5bb1d4e2cb23b6d553bfc2f8ca9de6aff3359cfefb51cfff027568986d00e7cd97c09792173bec16375e80f64b6c1be7b0dc8c80fbd79d7bae4d2e523e6
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.
data/_data/navigation.yml CHANGED
@@ -1,6 +1,6 @@
1
- - name: About
2
- link: /about.html
3
- - name: Categories
4
- link: /categories.html
5
- - name: Tags
1
+ - name: About
2
+ link: /about.html
3
+ - name: Categories
4
+ link: /categories.html
5
+ - name: Tags
6
6
  link: /tags.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,10 +1,12 @@
1
- <ul class="category-list">
2
- {% assign categories = site.categories | sort %}
3
- {% for category in categories %}
4
- <li class="site-category">
5
- <a class="site-category-text" href="{{ site.baseurl }}/categories/{{ category | first | slugify }}.html">
6
- {{ category[0] }}
7
- </a>
8
- </li>
9
- {% endfor %}
10
- </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" -%}
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" -%}
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,9 +1,9 @@
1
- <script async src="https://www.googletagmanager.com/gtag/js?id={{ site.data.google_analytics.id }}"></script>
2
- <script>
3
- window['ga-disable-{{ site.data.google_analytics.id }}'] = window.doNotTrack === "1" || navigator.doNotTrack === "1" || navigator.doNotTrack === "yes" || navigator.msDoNotTrack === "1";
4
- window.dataLayer = window.dataLayer || [];
5
- function gtag(){dataLayer.push(arguments);}
6
- gtag('js', new Date());
7
-
8
- gtag('config', '{{ site.data.google_analytics.id }}');
9
- </script>
1
+ <script async src="https://www.googletagmanager.com/gtag/js?id={{ site.data.google_analytics.id }}"></script>
2
+ <script>
3
+ window['ga-disable-{{ site.data.google_analytics.id }}'] = window.doNotTrack === "1" || navigator.doNotTrack === "1" || navigator.doNotTrack === "yes" || navigator.msDoNotTrack === "1";
4
+ window.dataLayer = window.dataLayer || [];
5
+ function gtag(){dataLayer.push(arguments);}
6
+ gtag('js', new Date());
7
+
8
+ gtag('config', '{{ site.data.google_analytics.id }}');
9
+ </script>
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,53 +1,53 @@
1
- {%- if page.share != false and jekyll.environment == "production" -%}
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
- <a href="https://www.facebook.com/sharer/sharer.php?u={{ site.url }}{{ site.baseurl }}{{ page.url }}"
6
- onclick="window.open(this.href, 'pop-up', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;"
7
- title="Share on Facebook" >
8
- <i class="fa fa-facebook-official share-button"></i>
9
- </a>
10
-
11
- <a href="https://twitter.com/intent/tweet?text={{ page.title }}&url={{ site.url }}{{ site.baseurl }}{{ page.url }}"
12
- onclick="window.open(this.href, 'pop-up', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;"
13
- title="Share on Twitter" >
14
- <i class="fa fa-twitter share-button"></i>
15
- </a>
16
-
17
- <a href="https://plus.google.com/share?url={{ site.url }}{{ site.baseurl }}{{ page.url }}"
18
- onclick="window.open(this.href, 'pop-up', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;"
19
- title="Share on Google+" >
20
- <i class="fa fa-google-plus share-button"></i>
21
- </a>
22
-
23
- <a href="https://www.pinterest.com/pin/create/button/?url={{ site.url }}{{ site.baseurl }}{{ page.url }}"
24
- onclick="window.open(this.href, 'pop-up', 'left=20,top=20,width=900,height=500,toolbar=1,resizable=0'); return false;"
25
- title="Share on Pinterest" >
26
- <i class="fa fa-pinterest-p share-button"></i>
27
- </a>
28
-
29
- <a href="https://www.tumblr.com/share/link?url={{ site.url }}{{ site.baseurl }}{{ page.url }}"
30
- onclick="window.open(this.href, 'pop-up', 'left=20,top=20,width=900,height=500,toolbar=1,resizable=0'); return false;"
31
- title="Share on Tumblr" >
32
- <i class="fa fa-tumblr share-button"></i>
33
- </a>
34
-
35
- <a href="http://www.reddit.com/submit?url={{ site.url }}{{ site.baseurl }}{{ page.url }}"
36
- onclick="window.open(this.href, 'pop-up', 'left=20,top=20,width=900,height=500,toolbar=1,resizable=0'); return false;"
37
- title="Share on Reddit" >
38
- <i class="fa fa-reddit-alien share-button"></i>
39
- </a>
40
-
41
- <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 }}"
42
- onclick="window.open(this.href, 'pop-up', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;"
43
- title="Share on LinkedIn" >
44
- <i class="fa fa-linkedin share-button"></i>
45
- </a>
46
-
47
- <a href="mailto:?subject={{ page.title }}&amp;body=Check out this site {{ site.url }}{{ site.baseurl }}{{ page.url }}"
48
- title="Share via Email" >
49
- <i class="fa fa-envelope share-button"></i>
50
- </a>
51
- </div>
52
- </div>
1
+ {%- if page.share != false and jekyll.environment == "production" -%}
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
+ <a href="https://www.facebook.com/sharer/sharer.php?u={{ site.url }}{{ site.baseurl }}{{ page.url }}"
6
+ onclick="window.open(this.href, 'pop-up', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;"
7
+ title="Share on Facebook" >
8
+ <i class="fa fa-facebook-official share-button"></i>
9
+ </a>
10
+
11
+ <a href="https://twitter.com/intent/tweet?text={{ page.title }}&url={{ site.url }}{{ site.baseurl }}{{ page.url }}"
12
+ onclick="window.open(this.href, 'pop-up', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;"
13
+ title="Share on Twitter" >
14
+ <i class="fa fa-twitter share-button"></i>
15
+ </a>
16
+
17
+ <a href="https://plus.google.com/share?url={{ site.url }}{{ site.baseurl }}{{ page.url }}"
18
+ onclick="window.open(this.href, 'pop-up', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;"
19
+ title="Share on Google+" >
20
+ <i class="fa fa-google-plus share-button"></i>
21
+ </a>
22
+
23
+ <a href="https://www.pinterest.com/pin/create/button/?url={{ site.url }}{{ site.baseurl }}{{ page.url }}"
24
+ onclick="window.open(this.href, 'pop-up', 'left=20,top=20,width=900,height=500,toolbar=1,resizable=0'); return false;"
25
+ title="Share on Pinterest" >
26
+ <i class="fa fa-pinterest-p share-button"></i>
27
+ </a>
28
+
29
+ <a href="https://www.tumblr.com/share/link?url={{ site.url }}{{ site.baseurl }}{{ page.url }}"
30
+ onclick="window.open(this.href, 'pop-up', 'left=20,top=20,width=900,height=500,toolbar=1,resizable=0'); return false;"
31
+ title="Share on Tumblr" >
32
+ <i class="fa fa-tumblr share-button"></i>
33
+ </a>
34
+
35
+ <a href="http://www.reddit.com/submit?url={{ site.url }}{{ site.baseurl }}{{ page.url }}"
36
+ onclick="window.open(this.href, 'pop-up', 'left=20,top=20,width=900,height=500,toolbar=1,resizable=0'); return false;"
37
+ title="Share on Reddit" >
38
+ <i class="fa fa-reddit-alien share-button"></i>
39
+ </a>
40
+
41
+ <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 }}"
42
+ onclick="window.open(this.href, 'pop-up', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;"
43
+ title="Share on LinkedIn" >
44
+ <i class="fa fa-linkedin share-button"></i>
45
+ </a>
46
+
47
+ <a href="mailto:?subject={{ page.title }}&amp;body=Check out this site {{ site.url }}{{ site.baseurl }}{{ page.url }}"
48
+ title="Share via Email" >
49
+ <i class="fa fa-envelope share-button"></i>
50
+ </a>
51
+ </div>
52
+ </div>
53
53
  {%- endif -%}
@@ -1,19 +1,19 @@
1
- {%- assign social = site.data.social -%}
2
-
3
- <ul class="social-media-list">
4
- {%- if social.dribbble -%}<li><a href="https://dribbble.com/{{ social.dribbble | cgi_escape | escape }}" title="{{ social.dribbble | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#dribbble' | relative_url }}"></use></svg></a></li>{%- endif -%}
5
- {%- if social.facebook -%}<li><a href="https://www.facebook.com/{{ social.facebook | cgi_escape | escape }}" title="{{ social.facebook | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#facebook' | relative_url }}"></use></svg></a></li>{%- endif -%}
6
- {%- if social.flickr -%}<li><a href="https://www.flickr.com/photos/{{ social.flickr | cgi_escape | escape }}" title="{{ social.flickr | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#flickr' | relative_url }}"></use></svg></a></li>{%- endif -%}
7
- {%- if social.github -%}<li><a href="https://github.com/{{ social.github | cgi_escape | escape }}" title="{{ social.github | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#github' | relative_url }}"></use></svg></a></li>{%- endif -%}
8
- {%- if social.instagram -%}<li><a href="https://www.instagram.com/{{ social.instagram | cgi_escape | escape }}" title="{{ social.instagram | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#instagram' | relative_url }}"></use></svg></a></li>{%- endif -%}
9
- {%- if social.linkedin -%}<li><a href="https://www.linkedin.com/in/{{ social.linkedin | cgi_escape | escape }}" title="{{ social.linkedin | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#linkedin' | relative_url }}"></use></svg></a></li>{%- endif -%}
10
- {%- if social.pinterest -%}<li><a href="https://www.pinterest.com/{{ social.pinterest | cgi_escape | escape }}" title="{{ social.pinterest | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#pinterest' | relative_url }}"></use></svg></a></li>{%- endif -%}
11
- {%- for mst in social.mastodon -%}{%- if mst.username and mst.instance -%}<li><a rel="me" href="https://{{ mst.instance | cgi_escape | escape}}/@{{mst.username}}" title="{{ mst.username | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#mastodon' | relative_url }}"></use></svg></a></li>{%- endif -%}{%- endfor -%}
12
- {%- if social.twitter -%}<li><a href="https://twitter.com/{{ social.twitter | cgi_escape | escape }}" title="{{ social.twitter | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#twitter' | relative_url }}"></use></svg></a></li>{%- endif -%}
13
- {%- if social.youtube -%}<li><a href="https://www.youtube.com/{{ social.youtube | cgi_escape | escape }}" title="{{ social.youtube | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#youtube' | relative_url }}"></use></svg></a></li>{%- endif -%}
14
- {%- if social.youtube_channel -%}<li><a href="https://www.youtube.com/channel/{{ social.youtube_channel | cgi_escape | escape }}" title="{{ social.youtube_channel_name | escape | default: 'YouTube' }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#youtube' | relative_url }}"></use></svg></a></li>{%- endif -%}
15
- {%- if social.telegram -%}<li><a href="https://t.me/{{ social.telegram | cgi_escape | escape }}" title="{{ social.telegram | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#telegram' | relative_url }}"></use></svg></a></li>{%- endif -%}
16
- {%- if social.microdotblog -%}<li><a rel="me" href="https://micro.blog/{{ social.microdotblog | cgi_escape | escape }}" title="{{ social.microdotblog | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#microdotblog' | relative_url }}"></use></svg></a></li>{%- endif -%}
17
- {%- if social.googleplus -%}<li><a href="https://plus.google.com/{{ social.googleplus | escape }}" title="{{ social.googleplus | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#googleplus' | relative_url }}"></use></svg></a></li>{%- endif -%}
18
- {%- if social.rss -%}<li><a href="{{ 'feed.xml' | relative_url }}" title="{{ social.rss | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#rss' | relative_url }}"></use></svg></a></li>{%- endif -%}
19
- </ul>
1
+ {%- assign social = site.data.social -%}
2
+
3
+ <ul class="social-media-list">
4
+ {%- if social.dribbble -%}<li><a href="https://dribbble.com/{{ social.dribbble | cgi_escape | escape }}" title="{{ social.dribbble | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#dribbble' | relative_url }}"></use></svg></a></li>{%- endif -%}
5
+ {%- if social.facebook -%}<li><a href="https://www.facebook.com/{{ social.facebook | cgi_escape | escape }}" title="{{ social.facebook | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#facebook' | relative_url }}"></use></svg></a></li>{%- endif -%}
6
+ {%- if social.flickr -%}<li><a href="https://www.flickr.com/photos/{{ social.flickr | cgi_escape | escape }}" title="{{ social.flickr | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#flickr' | relative_url }}"></use></svg></a></li>{%- endif -%}
7
+ {%- if social.github -%}<li><a href="https://github.com/{{ social.github | cgi_escape | escape }}" title="{{ social.github | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#github' | relative_url }}"></use></svg></a></li>{%- endif -%}
8
+ {%- if social.instagram -%}<li><a href="https://www.instagram.com/{{ social.instagram | cgi_escape | escape }}" title="{{ social.instagram | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#instagram' | relative_url }}"></use></svg></a></li>{%- endif -%}
9
+ {%- if social.linkedin -%}<li><a href="https://www.linkedin.com/in/{{ social.linkedin | cgi_escape | escape }}" title="{{ social.linkedin | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#linkedin' | relative_url }}"></use></svg></a></li>{%- endif -%}
10
+ {%- if social.pinterest -%}<li><a href="https://www.pinterest.com/{{ social.pinterest | cgi_escape | escape }}" title="{{ social.pinterest | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#pinterest' | relative_url }}"></use></svg></a></li>{%- endif -%}
11
+ {%- for mst in social.mastodon -%}{%- if mst.username and mst.instance -%}<li><a rel="me" href="https://{{ mst.instance | cgi_escape | escape}}/@{{mst.username}}" title="{{ mst.username | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#mastodon' | relative_url }}"></use></svg></a></li>{%- endif -%}{%- endfor -%}
12
+ {%- if social.twitter -%}<li><a href="https://twitter.com/{{ social.twitter | cgi_escape | escape }}" title="{{ social.twitter | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#twitter' | relative_url }}"></use></svg></a></li>{%- endif -%}
13
+ {%- if social.youtube -%}<li><a href="https://www.youtube.com/{{ social.youtube | cgi_escape | escape }}" title="{{ social.youtube | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#youtube' | relative_url }}"></use></svg></a></li>{%- endif -%}
14
+ {%- if social.youtube_channel -%}<li><a href="https://www.youtube.com/channel/{{ social.youtube_channel | cgi_escape | escape }}" title="{{ social.youtube_channel_name | escape | default: 'YouTube' }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#youtube' | relative_url }}"></use></svg></a></li>{%- endif -%}
15
+ {%- if social.telegram -%}<li><a href="https://t.me/{{ social.telegram | cgi_escape | escape }}" title="{{ social.telegram | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#telegram' | relative_url }}"></use></svg></a></li>{%- endif -%}
16
+ {%- if social.microdotblog -%}<li><a rel="me" href="https://micro.blog/{{ social.microdotblog | cgi_escape | escape }}" title="{{ social.microdotblog | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#microdotblog' | relative_url }}"></use></svg></a></li>{%- endif -%}
17
+ {%- if social.googleplus -%}<li><a href="https://plus.google.com/{{ social.googleplus | escape }}" title="{{ social.googleplus | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#googleplus' | relative_url }}"></use></svg></a></li>{%- endif -%}
18
+ {%- if social.rss -%}<li><a href="{{ 'feed.xml' | relative_url }}" title="{{ social.rss | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#rss' | relative_url }}"></use></svg></a></li>{%- endif -%}
19
+ </ul>