jekyll-theme-minimal-ryan 0.10.1 → 0.11.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 +4 -4
- data/CHANGELOG.md +6 -0
- data/_layouts/home.html +22 -1
- data/_sass/minimal-ryan/custom.scss +28 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4b498bd849c70c99dce54e613bb67994ace7346d828b8b5b57e688edfb99effe
|
|
4
|
+
data.tar.gz: 746d9c654b9629a6bcef415b42435273a4536f867ebcbdd0a7f81a599702b8a4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 76f69e9af05c9e245d064110d772528ad70507deaf5c55af0468e961f8738f83eea79beac0ae26f0de29278c725bd75bd7c22d14c82cb2f0999d87934ae035e2
|
|
7
|
+
data.tar.gz: 92aa3a7a64702f547579ab74980c81edf339add518042a202389d0fb41eb70197921fc27c9a62007785da0915f47f7b529b24e73b3cbd6a211a37f99e8585657
|
data/CHANGELOG.md
CHANGED
data/_layouts/home.html
CHANGED
|
@@ -10,6 +10,27 @@ layout: default
|
|
|
10
10
|
<div id="content-box">
|
|
11
11
|
<h1 id="home-title">{{ site.minimal_ryan.title }}</h1>
|
|
12
12
|
{{ content }}
|
|
13
|
+
{%- if site.minimal_ryan.home.links -%}
|
|
14
|
+
<div id="home-links" aria-label="Social links">
|
|
15
|
+
{%- for home_link in site.minimal_ryan.home.links -%}
|
|
16
|
+
<a href="{{ home_link.link }}" target="_blank" rel="noopener noreferrer" aria-label="{{ home_link.title }}" title="{{ home_link.title }}">
|
|
17
|
+
{%- assign home_link_icon = home_link.icon | default: home_link.title | downcase -%}
|
|
18
|
+
{%- case home_link_icon -%}
|
|
19
|
+
{%- when "linkedin" -%}
|
|
20
|
+
<svg aria-hidden="true" viewBox="0 0 24 24">
|
|
21
|
+
<path d="M6.94 5a2 2 0 1 1-4 0 2 2 0 0 1 4 0ZM7 8.48H3V21h4V8.48Zm6.32 0H9.34V21h3.94v-6.57c0-3.66 4.77-4 4.77 0V21H22v-7.93c0-6.17-7.06-5.94-8.72-2.91l.04-1.68Z" />
|
|
22
|
+
</svg>
|
|
23
|
+
{%- when "x" -%}
|
|
24
|
+
<svg aria-hidden="true" viewBox="0 0 24 24">
|
|
25
|
+
<path d="M18.24 2.25h3.31l-7.23 8.26 8.5 11.24h-6.65l-5.21-6.82-5.97 6.82H1.68l7.73-8.84L1.25 2.25h6.83l4.71 6.23 5.45-6.23Zm-1.16 17.52h1.83L7.08 4.13H5.12l11.96 15.64Z" />
|
|
26
|
+
</svg>
|
|
27
|
+
{%- else -%}
|
|
28
|
+
{{ home_link.title }}
|
|
29
|
+
{%- endcase -%}
|
|
30
|
+
</a>
|
|
31
|
+
{%- endfor -%}
|
|
32
|
+
</div>
|
|
33
|
+
{%- endif -%}
|
|
13
34
|
</div>
|
|
14
35
|
</div>
|
|
15
|
-
</div>
|
|
36
|
+
</div>
|
|
@@ -109,6 +109,34 @@
|
|
|
109
109
|
padding: 0;
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
|
+
|
|
113
|
+
#home-links {
|
|
114
|
+
display: flex;
|
|
115
|
+
flex-wrap: wrap;
|
|
116
|
+
justify-content: center;
|
|
117
|
+
gap: 10px;
|
|
118
|
+
margin-top: 24px;
|
|
119
|
+
|
|
120
|
+
@include theme.large-screen {
|
|
121
|
+
justify-content: flex-end;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
a {
|
|
125
|
+
display: inline-flex;
|
|
126
|
+
align-items: center;
|
|
127
|
+
justify-content: center;
|
|
128
|
+
width: 44px;
|
|
129
|
+
height: 44px;
|
|
130
|
+
line-height: 0;
|
|
131
|
+
|
|
132
|
+
svg {
|
|
133
|
+
display: block;
|
|
134
|
+
width: 26px;
|
|
135
|
+
height: 26px;
|
|
136
|
+
fill: currentColor;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}
|
|
112
140
|
}
|
|
113
141
|
|
|
114
142
|
}
|