jekyll-theme-linky 0.1.9 → 0.2.0

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: 561940a8bec403bfff7af22f4fff34be7e73015aa41583d3280f72c485a575ae
4
- data.tar.gz: ca0c39420b76d956038c99ab5ac9e4dc9f7618122c305043445a6085cdde56a3
3
+ metadata.gz: 87546dfed605d1400fa3ade754c5186754a26227fba1fb7672b64bd84e3211f8
4
+ data.tar.gz: 279fa59d4db445e42484e5baae86c37e7729e13b446f2f49cfcb8d18bb50412e
5
5
  SHA512:
6
- metadata.gz: 541346015610c59e4980c260fbe92b3c3b245fe354197f662e9a910a0c35cc94e723ab1a0b40d3bbf8570982dc90d14c88a3f24064d4afdd415c17773de3c601
7
- data.tar.gz: 535d8e4819a4ffad0931f6b540c33ef1d5224f18d9b5d1f9911037bc0c773432677b903602dc5a36b48dd3a94ac46d062eb054748a0464c5a0c360ce0994cfc3
6
+ metadata.gz: 4834778282e0ad0f34f8a0e0e1e541b2a517178bc04efc547e9d4ab908440bbdbc6513e37bec9ff1aae64c2ae9014b0044ad29d4645757824241fb727db2d64a
7
+ data.tar.gz: bce4765eac247680b85d53aa420a2f4948962847fb00b8ba85cd137fd1e240b43101a224d893767e680741b0fb09df8f38023bc945715ec87120d5cd8c7e8ef8
data/README.md CHANGED
@@ -9,13 +9,22 @@ A linktree-esque theme, built for static hosting and easy maintenance with [Deca
9
9
 
10
10
  ## Installation
11
11
 
12
- Add this line to your [Jekyll][jekyll] site's `Gemfile`:
12
+ ### Deploy to Netlify
13
+
14
+ To create a new repo and a linked Netlify site, ready to configure:
15
+
16
+ [![Deploy to Netlify](https://www.netlify.com/img/deploy/button.svg)][deploy]
17
+
18
+
19
+ ### Manually add this theme
20
+
21
+ To use this theme with an existing (probably bare) Jekyll site, add this line to your [Jekyll][jekyll] site's `Gemfile`:
13
22
 
14
23
  ```ruby
15
24
  gem "jekyll-theme-linky"
16
25
  ```
17
26
 
18
- And add this line to your Jekyll site's `_config.yml`:
27
+ And add this line to your Jekyll site's `_config.yml` (or replace any other `theme` configuration):
19
28
 
20
29
  ```yaml
21
30
  theme: jekyll-theme-linky
@@ -162,3 +171,4 @@ The theme is available as open source under the terms of the [MIT License](https
162
171
  [admin]: https://github.com/paulroub/linky/blob/main/admin/
163
172
  [admin-config]: https://github.com/paulroub/linky/blob/main/admin/config.yml
164
173
  [jekyll]: https://jekyllrb.com/
174
+ [deploy]: https://app.netlify.com/start/deploy?repository=https://github.com/paulroub/linky&create_from_path=linky-template
@@ -0,0 +1,11 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg"
2
+ width="24"
3
+ height="24"
4
+ viewBox="0 0 24 24"
5
+ fill="none"
6
+ stroke-width="1"
7
+ stroke-linecap="round"
8
+ stroke-linejoin="round"
9
+ class="stroked">
10
+ <path d="M6.335 5.144c-1.654 -1.199 -4.335 -2.127 -4.335 .826c0 .59 .35 4.953 .556 5.661c.713 2.463 3.13 2.75 5.444 2.369c-4.045 .665 -4.889 3.208 -2.667 5.41c1.03 1.018 1.913 1.59 2.667 1.59c2 0 3.134 -2.769 3.5 -3.5c.333 -.667 .5 -1.167 .5 -1.5c0 .333 .167 .833 .5 1.5c.366 .731 1.5 3.5 3.5 3.5c.754 0 1.637 -.571 2.667 -1.59c2.222 -2.203 1.378 -4.746 -2.667 -5.41c2.314 .38 4.73 .094 5.444 -2.369c.206 -.708 .556 -5.072 .556 -5.661c0 -2.953 -2.68 -2.025 -4.335 -.826c-2.293 1.662 -4.76 5.048 -5.665 6.856c-.905 -1.808 -3.372 -5.194 -5.665 -6.856z" />
11
+ </svg>
data/_layouts/links.html CHANGED
@@ -69,6 +69,24 @@ layout: default
69
69
  </li>
70
70
  {%- endif -%}
71
71
 
72
+ {%- if site.bluesky_username -%}
73
+ {% comment %}
74
+ Be forgiving -- allow bare handle (and add bsky.social) or use as-is if there's a dot
75
+ {% endcomment %}
76
+
77
+ {% assign parts = site.bluesky_username | split: "." %}
78
+
79
+ {% if parts.size == 1 %}
80
+ {% assign handle = site.bluesky_username | append: ".bsky.social" %}
81
+ {% else %}
82
+ {% assign handle = site.bluesky_username %}
83
+ {% endif %}
84
+ <li class="social-link">
85
+ <a href="https://bsky.app/profile/{{ handle }}"
86
+ >{% include bluesky-logo.svg %}</a>
87
+ </li>
88
+ {%- endif -%}
89
+
72
90
  {%- if site.cashapp_username -%}
73
91
  <li class="social-link">
74
92
  <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.9
4
+ version: 0.2.0
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-11-04 00:00:00.000000000 Z
11
+ date: 2024-11-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -63,6 +63,7 @@ files:
63
63
  - README.md
64
64
  - _config.yml
65
65
  - _includes/analytics.html
66
+ - _includes/bluesky-logo.svg
66
67
  - _includes/cashapp-logo.svg
67
68
  - _includes/custom-head.html
68
69
  - _includes/email-logo.svg