minima-rock 0.8.1 → 0.8.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_data/backgrounds.yml +5 -5
- data/_includes/disqus_comments.html +1 -1
- data/_includes/google-analytics.html +2 -0
- data/_includes/share_bar.html +17 -1
- data/_includes/social.html +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b4bb2aefda0f6713911267181a62205456cee0b60c615deb0cce16f7195b4773
|
4
|
+
data.tar.gz: ddbe905acbcfaa6ae8fd6bee41daa4f44f06cc909221faa4586f87961e44e1b2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d2459b46e7db7c4d391481b6d48c7b6f2ac8a5d61accfcbe6f5eda6c311613de64ca4f7d24d23f417d5936a26698ae915d328edc62eb49c94a0284f83c9eadc8
|
7
|
+
data.tar.gz: 5c445e0e6c4ddb778ff09c816632c260ee1657dd97d401e33fb5d4ae7ce660b8d872583fc5b235631e072e0851cc6116d22b68dab13e77ac1c26bf91eccd9f58
|
data/_data/backgrounds.yml
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
# From https://www.transparenttextures.com/
|
2
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'
|
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
8
|
- name: '/assets/css/background/concrete-wall-2.png'
|
@@ -1,3 +1,4 @@
|
|
1
|
+
{% if site.data.google_analytics %}
|
1
2
|
<script async src="https://www.googletagmanager.com/gtag/js?id={{ site.data.google_analytics.id }}"></script>
|
2
3
|
<script>
|
3
4
|
window['ga-disable-{{ site.data.google_analytics.id }}'] = window.doNotTrack === "1" || navigator.doNotTrack === "1" || navigator.doNotTrack === "yes" || navigator.msDoNotTrack === "1";
|
@@ -7,3 +8,4 @@
|
|
7
8
|
|
8
9
|
gtag('config', '{{ site.data.google_analytics.id }}');
|
9
10
|
</script>
|
11
|
+
{% endif %}
|
data/_includes/share_bar.html
CHANGED
@@ -1,53 +1,69 @@
|
|
1
|
-
{%- if page.share != false and jekyll.environment == "production" -%}
|
1
|
+
{%- if page.share != false and jekyll.environment == "production" and site.data.share -%}
|
2
2
|
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
|
3
3
|
<div id="share-bar">
|
4
4
|
<div class="share-buttons">
|
5
|
+
{% if site.data.share.facebook %}
|
5
6
|
<a href="https://www.facebook.com/sharer/sharer.php?u={{ site.url }}{{ site.baseurl }}{{ page.url }}"
|
6
7
|
onclick="window.open(this.href, 'pop-up', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;"
|
7
8
|
title="Share on Facebook" >
|
8
9
|
<i class="fa fa-facebook-official share-button"></i>
|
9
10
|
</a>
|
11
|
+
{% endif %}
|
10
12
|
|
13
|
+
{% if site.data.share.twitter %}
|
11
14
|
<a href="https://twitter.com/intent/tweet?text={{ page.title }}&url={{ site.url }}{{ site.baseurl }}{{ page.url }}"
|
12
15
|
onclick="window.open(this.href, 'pop-up', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;"
|
13
16
|
title="Share on Twitter" >
|
14
17
|
<i class="fa fa-twitter share-button"></i>
|
15
18
|
</a>
|
19
|
+
{% endif %}
|
16
20
|
|
21
|
+
{% if site.data.share.google %}
|
17
22
|
<a href="https://plus.google.com/share?url={{ site.url }}{{ site.baseurl }}{{ page.url }}"
|
18
23
|
onclick="window.open(this.href, 'pop-up', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;"
|
19
24
|
title="Share on Google+" >
|
20
25
|
<i class="fa fa-google-plus share-button"></i>
|
21
26
|
</a>
|
27
|
+
{% endif %}
|
22
28
|
|
29
|
+
{% if site.data.share.pinterest %}
|
23
30
|
<a href="https://www.pinterest.com/pin/create/button/?url={{ site.url }}{{ site.baseurl }}{{ page.url }}"
|
24
31
|
onclick="window.open(this.href, 'pop-up', 'left=20,top=20,width=900,height=500,toolbar=1,resizable=0'); return false;"
|
25
32
|
title="Share on Pinterest" >
|
26
33
|
<i class="fa fa-pinterest-p share-button"></i>
|
27
34
|
</a>
|
35
|
+
{% endif %}
|
28
36
|
|
37
|
+
{% if site.data.share.tumblr %}
|
29
38
|
<a href="https://www.tumblr.com/share/link?url={{ site.url }}{{ site.baseurl }}{{ page.url }}"
|
30
39
|
onclick="window.open(this.href, 'pop-up', 'left=20,top=20,width=900,height=500,toolbar=1,resizable=0'); return false;"
|
31
40
|
title="Share on Tumblr" >
|
32
41
|
<i class="fa fa-tumblr share-button"></i>
|
33
42
|
</a>
|
43
|
+
{% endif %}
|
34
44
|
|
45
|
+
{% if site.data.share.reddit %}
|
35
46
|
<a href="http://www.reddit.com/submit?url={{ site.url }}{{ site.baseurl }}{{ page.url }}"
|
36
47
|
onclick="window.open(this.href, 'pop-up', 'left=20,top=20,width=900,height=500,toolbar=1,resizable=0'); return false;"
|
37
48
|
title="Share on Reddit" >
|
38
49
|
<i class="fa fa-reddit-alien share-button"></i>
|
39
50
|
</a>
|
51
|
+
{% endif %}
|
40
52
|
|
53
|
+
{% if site.data.share.linkedin %}
|
41
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 }}"
|
42
55
|
onclick="window.open(this.href, 'pop-up', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;"
|
43
56
|
title="Share on LinkedIn" >
|
44
57
|
<i class="fa fa-linkedin share-button"></i>
|
45
58
|
</a>
|
59
|
+
{% endif %}
|
46
60
|
|
61
|
+
{% if site.data.share.mail %}
|
47
62
|
<a href="mailto:?subject={{ page.title }}&body=Check out this site {{ site.url }}{{ site.baseurl }}{{ page.url }}"
|
48
63
|
title="Share via Email" >
|
49
64
|
<i class="fa fa-envelope share-button"></i>
|
50
65
|
</a>
|
66
|
+
{% endif %}
|
51
67
|
</div>
|
52
68
|
</div>
|
53
69
|
{%- endif -%}
|
data/_includes/social.html
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
{%- assign social = site.data.social -%}
|
2
|
-
|
2
|
+
{% if social %}
|
3
3
|
<ul class="social-media-list">
|
4
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
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 -%}
|
@@ -17,3 +17,4 @@
|
|
17
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
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
19
|
</ul>
|
20
|
+
{% endif %}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minima-rock
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joel Glovier
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2019-03
|
12
|
+
date: 2019-04-03 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: jekyll
|