jekyll-theme-linky 0.1.6 → 0.1.7

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6e50416cc56c93dc4b8df7f24c5dd90dacce81905f9213fad17dbd2cfb8bb62b
4
- data.tar.gz: 9cad70c16d4ae269868739139179e1148596a701505516d53e5a2d9e3f39ef17
3
+ metadata.gz: 60bc12de84a34f618ee5f62e94107e5ebf57199e04f88e73a721cbbc5e278c56
4
+ data.tar.gz: 754dc157f6d069586b78f6a948c9c73513d41e180cac0d7878065b8981978f57
5
5
  SHA512:
6
- metadata.gz: ba152613aecc9c97321cb7560c78fbc5b242f27955a42320e7919440ed9dcdf622bd9f9a6cab2c2c1227099acb5fb295107fed8730f760436fa392e2fcf7bc21
7
- data.tar.gz: 7cbbb25a34a68ac3e75dc314053c9d62649075d26d8db959d1e7ad5b97c40651e8714d01275162bbc0f314cd04194e84e5e7352c45355aabae0edcc927e7c71f
6
+ metadata.gz: 8e7bc86dc708592c5acb48c42b4c70966cfdc962fc0efb38716542eccfd66645d7c56032a96b42ca098a35bddefb49fd96c4ec6b3c523d8ce9eff1c54674e034
7
+ data.tar.gz: 95109487eee7152bf880aabef5124b5681a2d9f2f0470c8142e66e97d6dcb50e717b91187194974b85e96b73152724a0eced26d032081c1b638aae8c8e99217b
@@ -0,0 +1,21 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <svg width="800px"
3
+ height="800px"
4
+ viewBox="0 0 48 48"
5
+ xmlns="http://www.w3.org/2000/svg"
6
+ class="stroked">
7
+ <title>Mastodon</title>
8
+ <path fill="none"
9
+ stroke-linecap="round"
10
+ stroke-linejoin="round"
11
+ stroke-width="2"
12
+ d="M41.0662,20.4015c0,6.2578-.9723,8.3975-2.8838,10.19C34.3081,34.2257,24,33.9433,24,33.9433a40.2923,40.2923,0,0,1-7.0141-.5285S15.86,40.829,30.09,37.1931l-.1445,4.2408c-2.1685.29-22.807,7.92-22.956-18.657l-.056-2.3759c0-6.2578.05-8.4823,2.8838-11.611C13.3831,4.8527,24,5.3547,24,5.3547s10.617-.502,14.182,3.4353c2.8336,3.129,2.8838,5.3535,2.8838,11.611"/>
13
+ <path stroke-linecap="round"
14
+ stroke-linejoin="round"
15
+ stroke-width="2"
16
+ d="M24,23.3125V17.3351a4.6542,4.6542,0,0,0-4.6543-4.6542h0a4.6542,4.6542,0,0,0-4.6542,4.6542v9.6463"/>
17
+ <path stroke-linecap="round"
18
+ stroke-linejoin="round"
19
+ stroke-width="2"
20
+ d="M24,17.3351a4.6542,4.6542,0,0,1,4.6543-4.6542h0a4.6542,4.6542,0,0,1,4.6542,4.6542v9.6463"/>
21
+ </svg>
data/_layouts/links.html CHANGED
@@ -54,6 +54,21 @@ layout: default
54
54
  </li>
55
55
  {%- endif -%}
56
56
 
57
+ {%- if site.mastodon_username -%}
58
+ {% comment %}
59
+ Be forgiving -- allow for the username to be entered with or without the leading @
60
+ {% endcomment %}
61
+
62
+ {% assign parts = site.mastodon_username | split: "@" %}
63
+ {% if parts.size == 3 %}
64
+ {% assign parts = parts | shift %}
65
+ {% endif %}
66
+ <li class="social-link">
67
+ <a href="https://{{ parts[1] }}/@{{ parts[0] }}"
68
+ >{% include mastodon-logo.svg %}</a>
69
+ </li>
70
+ {%- endif -%}
71
+
57
72
  {%- if site.cashapp_username -%}
58
73
  <li class="social-link">
59
74
  <a href="https://cash.app/${{ site.cashapp_username }}"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-linky
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul Roub
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-10-23 00:00:00.000000000 Z
11
+ date: 2024-10-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -70,6 +70,7 @@ files:
70
70
  - _includes/head.html
71
71
  - _includes/header.html
72
72
  - _includes/instagram-logo.svg
73
+ - _includes/mastodon-logo.svg
73
74
  - _includes/pinterest-logo.svg
74
75
  - _includes/threads-logo.svg
75
76
  - _includes/tiktok-logo.svg