jekyll-theme-linky 0.1.7 → 0.1.9
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 +4 -4
- data/_config.yml +11 -23
- data/_includes/custom-head.html +9 -0
- data/_includes/head.html +1 -1
- data/_includes/mastodon-logo.svg +7 -20
- data/_layouts/links.html +14 -1
- data/_sass/linky.scss +2 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 561940a8bec403bfff7af22f4fff34be7e73015aa41583d3280f72c485a575ae
|
4
|
+
data.tar.gz: ca0c39420b76d956038c99ab5ac9e4dc9f7618122c305043445a6085cdde56a3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 541346015610c59e4980c260fbe92b3c3b245fe354197f662e9a910a0c35cc94e723ab1a0b40d3bbf8570982dc90d14c88a3f24064d4afdd415c17773de3c601
|
7
|
+
data.tar.gz: 535d8e4819a4ffad0931f6b540c33ef1d5224f18d9b5d1f9911037bc0c773432677b903602dc5a36b48dd3a94ac46d062eb054748a0464c5a0c360ce0994cfc3
|
data/_config.yml
CHANGED
@@ -1,32 +1,12 @@
|
|
1
|
-
# Welcome to Jekyll!
|
2
|
-
#
|
3
|
-
# This config file is meant for settings that affect your whole blog, values
|
4
|
-
# which you are expected to set up once and rarely edit after that. If you find
|
5
|
-
# yourself editing this file very often, consider using Jekyll's data files
|
6
|
-
# feature for the data you need to update frequently.
|
7
|
-
#
|
8
|
-
# For technical reasons, this file is *NOT* reloaded automatically when you use
|
9
|
-
# 'bundle exec jekyll serve'. If you change this file, please restart the server process.
|
10
|
-
#
|
11
|
-
# If you need help with YAML syntax, here are some quick references for you:
|
12
|
-
# https://learn-the-web.algonquindesign.ca/topics/markdown-yaml-cheat-sheet/#yaml
|
13
|
-
# https://learnxinyminutes.com/docs/yaml/
|
14
|
-
#
|
15
|
-
# Site settings
|
16
|
-
# These are used to personalize your new site. If you look in the HTML files,
|
17
|
-
# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on.
|
18
|
-
# You can create any custom variable you would like, and they will be accessible
|
19
|
-
# in the templates via {{ site.myvariable }}.
|
20
|
-
|
21
1
|
title: Linky
|
22
2
|
subheads:
|
23
3
|
- "A Linktree-esque Jekyll theme, compatible with Decap CMS."
|
24
4
|
|
25
5
|
email: paul@roub.net
|
26
|
-
description: >-
|
6
|
+
description: >-
|
27
7
|
A Linktree-esque Jekyll theme, compatible with Decap CMS.
|
28
|
-
baseurl: ""
|
29
|
-
url: "
|
8
|
+
baseurl: ""
|
9
|
+
url: "https://linky.roub.net"
|
30
10
|
github_username: paulroub
|
31
11
|
|
32
12
|
plausible_io: linky.roub.net
|
@@ -39,6 +19,9 @@ plugins:
|
|
39
19
|
exclude:
|
40
20
|
- VERSION
|
41
21
|
- bin
|
22
|
+
- linky.gemspec
|
23
|
+
- netlify.toml
|
24
|
+
- package*.json
|
42
25
|
|
43
26
|
linky:
|
44
27
|
body_background: "#030303"
|
@@ -48,3 +31,8 @@ linky:
|
|
48
31
|
|
49
32
|
collections:
|
50
33
|
- links
|
34
|
+
|
35
|
+
# tell the jekyll-feed plugin to include the links collection
|
36
|
+
feed:
|
37
|
+
collections:
|
38
|
+
- links
|
data/_includes/custom-head.html
CHANGED
@@ -10,3 +10,12 @@
|
|
10
10
|
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
|
11
11
|
|
12
12
|
<meta property="og:image" content="https://linky.roub.net/images/linky-home.png" />
|
13
|
+
|
14
|
+
{% comment %}
|
15
|
+
Show only the Atom feed for our links, since that's all *this* site uses. If you were also using a feed for blog posts,
|
16
|
+
you could just use the feed_meta tag to reference both feeds.
|
17
|
+
|
18
|
+
jekyll-feed does not currently have a way to combine the two.
|
19
|
+
{% endcomment %}
|
20
|
+
|
21
|
+
<link rel="alternate" type="application/atom+xml" title="Atom Feed for {{ site.title }}" href="{{ "/feed/links.xml" | relative_url }}" />
|
data/_includes/head.html
CHANGED
data/_includes/mastodon-logo.svg
CHANGED
@@ -1,21 +1,8 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
xmlns="http://www.w3.org/2000/svg"
|
6
|
-
class="stroked">
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg"
|
2
|
+
viewBox="0 0 24 24"
|
3
|
+
id="mastodon"
|
4
|
+
class="filled">
|
7
5
|
<title>Mastodon</title>
|
8
|
-
<path
|
9
|
-
|
10
|
-
|
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>
|
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
@@ -88,8 +88,21 @@ layout: default
|
|
88
88
|
|
89
89
|
<ul class="links">
|
90
90
|
|
91
|
+
|
91
92
|
{% assign current_date = site.time | date: "%Y-%m-%d" %}
|
92
|
-
|
93
|
+
|
94
|
+
{% assign valid_links = '' | split: '' %}
|
95
|
+
|
96
|
+
{% for link in site.links %}
|
97
|
+
{% if link.expires and link.expires != nil %}
|
98
|
+
{% assign exp_date = link.expires | date: "%Y-%m-%d" %}
|
99
|
+
{% if exp_date > current_date %}
|
100
|
+
{% assign valid_links = valid_links | push: link %}
|
101
|
+
{% endif %}
|
102
|
+
{% else %}
|
103
|
+
{% assign valid_links = valid_links | push: link %}
|
104
|
+
{% endif %}
|
105
|
+
{% endfor %}
|
93
106
|
|
94
107
|
{% assign priorities = valid_links | sort: "priority" | group_by: 'priority' %}
|
95
108
|
|
data/_sass/linky.scss
CHANGED
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.
|
4
|
+
version: 0.1.9
|
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
|
+
date: 2024-11-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|