jekyll-theme-linky 0.1.6 → 0.1.8

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: a4fdefe0beba28e3154cccea6973d0a46cfdbf8a792101e433a72df836514755
4
+ data.tar.gz: 5b7b654bb432d8ac8ee71954577734ea30b94146c5bb27f15abfe5fbe75175c0
5
5
  SHA512:
6
- metadata.gz: ba152613aecc9c97321cb7560c78fbc5b242f27955a42320e7919440ed9dcdf622bd9f9a6cab2c2c1227099acb5fb295107fed8730f760436fa392e2fcf7bc21
7
- data.tar.gz: 7cbbb25a34a68ac3e75dc314053c9d62649075d26d8db959d1e7ad5b97c40651e8714d01275162bbc0f314cd04194e84e5e7352c45355aabae0edcc927e7c71f
6
+ metadata.gz: 5ec8b6c424a95c6562b5214e5ff27b9e113844bbf4d99854d657b6189393d24594179f4b488df61e90e2007c0dfdefc5bb9d0be63abe712a205bd975a3b20959
7
+ data.tar.gz: 128a0b779a50f4adaec840312470324614d09f15216238b8a31fac902f6cb22e492ed3fd10f98e83c72c0a09dcd7bba0adababef11ab7a9f26692ac6ce40bc8d
@@ -0,0 +1,8 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg"
2
+ viewBox="0 0 24 24"
3
+ id="mastodon"
4
+ class="filled">
5
+ <title>Mastodon</title>
6
+ <path d="M11.178 24c-1.449 0-2.958-.209-4.499-.626C.965 21.828.985 14.709 1.001 8.989l.002-.938c0-5.25 3.35-6.842 3.493-6.907 3.226-1.51 11.788-1.51 15.014.002.138.063 3.488 1.655 3.488 6.905.001.146.035 3.755-.461 6.332-.371 1.925-3.071 3.783-6.019 4.143l-.243.031c-1.248.166-4.451.588-8.258-.232l.001.01c.267 2.046 1.836 2.26 4.024 2.337 1.932.073 3.687-.488 3.705-.494a.502.502 0 0 1 .652.454l.086 1.895a.5.5 0 0 1-.259.461c-.062.034-1.562.841-4.197.989a15.97 15.97 0 0 1-.851.023zm.823-22.995c-2.797 0-5.594.349-7.085 1.047-.121.057-2.913 1.42-2.913 5.999l-.001.941c-.016 5.658-.035 12.071 4.938 13.417 1.74.47 3.435.664 5.031.568 1.774-.1 2.987-.525 3.5-.742l-.042-.937c-.731.176-2.021.415-3.42.372-1.827-.065-4.585-.163-4.981-3.207a5.82 5.82 0 0 1-.049-.778.5.5 0 0 1 .621-.486c3.911.976 7.278.533 8.546.365l.252-.032c2.725-.332 4.906-2.026 5.158-3.34.477-2.477.444-6.101.443-6.137 0-4.585-2.792-5.948-2.911-6.004-1.49-.697-4.288-1.046-7.087-1.046z"></path>
7
+ <path d="M18.728 14.979h-2.344a.5.5 0 0 1-.5-.5V8.616c0-1.51-1.245-1.704-1.809-1.031-.266.316-.407.796-.407 1.385v3.209a.5.5 0 0 1-.5.5h-2.327a.5.5 0 0 1-.5-.5V8.97c0-.589-.141-1.068-.407-1.385-.563-.672-1.808-.478-1.808 1.031v5.862a.5.5 0 0 1-.5.5H5.279a.5.5 0 0 1-.5-.5c0-1.082-.008-2.016-.015-2.829-.033-3.984-.042-5.186 1.059-6.478l.004-.006c.77-.877 2.01-1.362 3.229-1.27 1.161.089 2.176.688 2.785 1.645l.161.276.151-.26a3.589 3.589 0 0 1 2.791-1.66c1.228-.091 2.463.392 3.233 1.269 1.109 1.306 1.099 2.502 1.064 6.464a318.85 318.85 0 0 0-.015 2.85.497.497 0 0 1-.498.5zm-12.949-.5h.01-.01zm11.105-.5h1.344c.002-.886.009-1.666.015-2.358.032-3.771.041-4.785-.822-5.802-.561-.639-1.477-.994-2.399-.925-.854.065-1.57.485-2.014 1.184l-.573.984a.502.502 0 0 1-.864 0l-.583-1.001c-.434-.682-1.151-1.103-2.008-1.168-.915-.067-1.833.287-2.398.929-.857 1.008-.849 2.03-.817 5.82.006.687.012 1.461.014 2.337h1.347V8.616c0-1.58 1.032-2.407 2.052-2.407.577 0 1.132.267 1.523.732.419.5.641 1.201.641 2.028v2.709h1.327V8.97c0-.827.222-1.528.641-2.028a1.995 1.995 0 0 1 1.523-.732c1.02 0 2.052.827 2.052 2.407v5.362z"></path>
8
+ </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 }}"
data/_sass/linky.scss CHANGED
@@ -25,6 +25,8 @@ $linky_social_button_color: #fff !default;
25
25
  svg {
26
26
  height: var(--social-button-size);
27
27
  width: var(--social-button-size);
28
+ max-width: 100%;
29
+ aspect-ratio: 1 / 1;
28
30
 
29
31
  &.filled {
30
32
  path {
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.8
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