jekyll-theme-linky 0.1.9 → 0.2.1

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: af55861ba89d07e2ed6e0f155548c52c580df5fa42c3b4b8364f3be9e7b29b36
4
+ data.tar.gz: dcc2df5d602af7982cce69262ab650d7d484171a736f4dd2f39e78873ec4f287
5
5
  SHA512:
6
- metadata.gz: 541346015610c59e4980c260fbe92b3c3b245fe354197f662e9a910a0c35cc94e723ab1a0b40d3bbf8570982dc90d14c88a3f24064d4afdd415c17773de3c601
7
- data.tar.gz: 535d8e4819a4ffad0931f6b540c33ef1d5224f18d9b5d1f9911037bc0c773432677b903602dc5a36b48dd3a94ac46d062eb054748a0464c5a0c360ce0994cfc3
6
+ metadata.gz: ae9672a348cd38f9e53181d9b94dec8bad3f8cbbb9d732a857927c95b371d0852aa14086810fb7d22e2f23a114e86d31724192167961f94b515b927e8f719847
7
+ data.tar.gz: b0da8eff2044e61f1028ff454e38a6ca71bc167179f88524a6392dccd96c27ff20379167671f6f2a3be52eb1b68561cc08cd2a73ef93e6d97b4fa5a2ae0aef19
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>
@@ -0,0 +1,9 @@
1
+ <?xml version="1.0" encoding="UTF-8"?><!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
2
+ <svg width="800px"
3
+ height="800px"
4
+ viewBox="0 0 48 48"
5
+ class="stroked"
6
+ xmlns="http://www.w3.org/2000/svg">
7
+ <path class="c"
8
+ d="m19.308,12.467c-.4234-1.4115-.7215-2.8773-.8813-4.3843-.1571-1.4812-1.449-2.5826-2.9385-2.5826h-6.9092c-1.7767,0-3.1454,1.5345-2.989,3.3043,1.5754,17.8285,15.7771,32.0302,33.6056,33.6056,1.7698.1564,3.3043-1.2073,3.3043-2.9839v-6.1595c0-2.2488-1.1015-3.5362-2.5826-3.6932-1.507-.1598-2.9728-.4579-4.3843-.8813-1.7266-.5179-3.5957-.0304-4.8704,1.2442l-2.9566,2.9566c-5.326-2.8825-9.7164-7.2729-12.5989-12.5989l2.9566-2.9567c1.2746-1.2746,1.7621-3.1438,1.2442-4.8703Z"/>
9
+ </svg>
data/_layouts/links.html CHANGED
@@ -69,6 +69,31 @@ 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
+
90
+ {%- if site.telephone_number -%}
91
+ <li class="social-link">
92
+ <a href="tel:${{ site.cashapp_username }}"
93
+ >{% include phone-logo.svg %}</a>
94
+ </li>
95
+ {%- endif -%}
96
+
72
97
  {%- if site.cashapp_username -%}
73
98
  <li class="social-link">
74
99
  <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.1
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-12-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -61,8 +61,8 @@ extra_rdoc_files: []
61
61
  files:
62
62
  - LICENSE.txt
63
63
  - README.md
64
- - _config.yml
65
64
  - _includes/analytics.html
65
+ - _includes/bluesky-logo.svg
66
66
  - _includes/cashapp-logo.svg
67
67
  - _includes/custom-head.html
68
68
  - _includes/email-logo.svg
@@ -71,6 +71,7 @@ files:
71
71
  - _includes/header.html
72
72
  - _includes/instagram-logo.svg
73
73
  - _includes/mastodon-logo.svg
74
+ - _includes/phone-logo.svg
74
75
  - _includes/pinterest-logo.svg
75
76
  - _includes/threads-logo.svg
76
77
  - _includes/tiktok-logo.svg
@@ -102,7 +103,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
102
103
  - !ruby/object:Gem::Version
103
104
  version: '0'
104
105
  requirements: []
105
- rubygems_version: 3.5.17
106
+ rubygems_version: 3.4.19
106
107
  signing_key:
107
108
  specification_version: 4
108
109
  summary: Linktree-ish theme for Jekyll, compatible with Decap CMS
data/_config.yml DELETED
@@ -1,38 +0,0 @@
1
- title: Linky
2
- subheads:
3
- - "A Linktree-esque Jekyll theme, compatible with Decap CMS."
4
-
5
- email: paul@roub.net
6
- description: >-
7
- A Linktree-esque Jekyll theme, compatible with Decap CMS.
8
- baseurl: ""
9
- url: "https://linky.roub.net"
10
- github_username: paulroub
11
-
12
- plausible_io: linky.roub.net
13
-
14
- # Build settings
15
- theme: jekyll-theme-linky
16
- plugins:
17
- - jekyll-feed
18
-
19
- exclude:
20
- - VERSION
21
- - bin
22
- - linky.gemspec
23
- - netlify.toml
24
- - package*.json
25
-
26
- linky:
27
- body_background: "#030303"
28
- body_foreground: "#F0F0F0"
29
- button_background: "#f16293"
30
- social_button_color: "#ffffff"
31
-
32
- collections:
33
- - links
34
-
35
- # tell the jekyll-feed plugin to include the links collection
36
- feed:
37
- collections:
38
- - links