jekyll-theme-jsblog 1.0.0 → 1.0.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: 42e643355884076d5ab9d14c35db5fb400f6e148a920555a60ceb9d731b1fae4
4
- data.tar.gz: 8599f0145b5442d138076d29e21549104240670e699fb9124b747973ec294377
3
+ metadata.gz: 53b5a29ea64d285bd266ace2081cc4039f81db13f428cd99ab7ca59fb2db46f4
4
+ data.tar.gz: a6b59ecb7c16ccf2b90b6e2d3649b74196dfbde64b46d7dd01744e1b631163e0
5
5
  SHA512:
6
- metadata.gz: 5a2a6d230f57b1cb6b00e7341be9caa38330d9d64c86d5af0572ce25bcc3044caed639d8aec98a77c3b2e321ce7c42a57f243ade1faf4343f76cd83da7719f35
7
- data.tar.gz: 65056b9b1b9690d6b4597a6eeb5fcaa5a3714a6faadc4e3f039e1725f3af808ada3f3e2051aa6561b8a9d0842c293e77946ee2573e41bfb81ba490c9631160e0
6
+ metadata.gz: 3cfeaaac63bc5e49dbf345719af71b42fc2f5a10f9ab02ead2fddb8de04eb1de90b217592825aa2322f6c93fd7ef781ffd246d3700cf6b3710891c72b7a92278
7
+ data.tar.gz: c7e5f7fa1bf89ceeac00f9f04338c2249ce441c6789396a2b144325aa714fc89f32af1b80e680aa6c734dc2dc980504fef84b30386e19e156c94e457fb7101dc
data/_includes/fonts.html CHANGED
@@ -1,2 +1,3 @@
1
1
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
2
2
  <link href="https://fonts.googleapis.com/css?family=Bitter:400,400i,700" rel="stylesheet">
3
+ <script src="https://use.fontawesome.com/releases/v5.0.12/js/all.js"></script>
@@ -2,4 +2,18 @@
2
2
  {% if site.feed and site.feed.path %}
3
3
  {% assign feed_path = site.feed.path %}
4
4
  {% endif %}
5
+
6
+ {% if site.footer_links %}
7
+ <div class="social-icons">
8
+ {% for footer_link in site.footer_links %}
9
+ {% if footer_link.url contains "://" %}
10
+ {% assign url = footer_link.url %}
11
+ {% else %}
12
+ {% assign url = footer_link.url | relative_url %}
13
+ {% endif %}
14
+ <a class="social-icon" href="{{ url }}"><i class="{{ footer_link.icon | default: 'fas fa-link' }} fa-2x" title="{{ footer_link.title }}"></i></a>
15
+ {% endfor %}
16
+ </div>
17
+ {% endif %}
18
+
5
19
  &copy; {{ site.author }} - Powered by <a href="https://jekyllrb.com">Jekyll</a> <!--&amp; <a href="https://github.com/justjs/jekyll-theme-jsblog">jsblogtheme</a>--> - Subscribe via <a href="{{ feed_path | absolute_url }}">RSS</a>
@@ -85,6 +85,22 @@
85
85
  color: --footer-text-color;
86
86
  background-color: var(--footer-background-color);
87
87
  text-align: center;
88
+ border-top: 1px solid var(--grey-color-light);
89
+ }
90
+
91
+ .social-icons {
92
+ text-align: center;
93
+ margin-bottom: 0.5em;
94
+ }
95
+
96
+ .social-icon {
97
+ display: inline-block;
98
+ padding: 0 0.25em;
99
+
100
+ &,
101
+ &:visited {
102
+ color: var(--grey-color-dark);
103
+ }
88
104
  }
89
105
 
90
106
 
data/_sass/jsblog.scss CHANGED
@@ -87,11 +87,11 @@ $on-small: 735px !default;
87
87
  // padding-left: $spacing-unit / 2;
88
88
  // }
89
89
  // }
90
- // @mixin media-query($device) {
91
- // @media screen and (max-width: $device) {
92
- // @content;
93
- // }
94
- // }
90
+ @mixin media-query($device) {
91
+ @media screen and (max-width: $device) {
92
+ @content;
93
+ }
94
+ }
95
95
 
96
96
  // Import partials.
97
97
  @import
data/assets/main.scss CHANGED
@@ -46,11 +46,6 @@
46
46
  // padding-left: $spacing-unit / 2;
47
47
  // }
48
48
  // }
49
- @mixin media-query($device) {
50
- @media screen and (max-width: $device) {
51
- @content;
52
- }
53
- }
54
49
 
55
50
 
56
51
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-jsblog
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julian Schiavo