jekyll-theme-profile 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -0
- data/_config.yml +2 -0
- data/_includes/header.html +5 -4
- data/_includes/masthead.html +35 -33
- data/_includes/mini-repo-info-card.html +19 -16
- data/_includes/social.html +28 -1
- data/_includes/toggle.html +1 -1
- data/_layouts/default.html +13 -9
- data/_layouts/home.html +14 -12
- data/_layouts/page.html +1 -1
- data/_layouts/post.html +4 -3
- data/assets/css/style.scss +0 -1
- 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: ee08557d9f9c7d0582be919f0b43cb18cf221a4a294ad9263ee38d45a2f3b96a
|
4
|
+
data.tar.gz: 076e867cbfb3169ef2250bb711bdb584ee18d5df12c252a773a86eb979d886fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5532edfd11381a0fd582724624fd863bf3230e77958c6108a800d8708f990598fe0378cfd8218768bd693b6dcee1cace0e2b4c041c66fadc58871a2e94756499
|
7
|
+
data.tar.gz: 110e6fa0a7df2b1e0abe76825ec44980fef6e069addc80c7739c3db59421f703499c6f0ec672e3e2b4997a1a1acb9328c8375449ac0404c36ccf9a2c5dc79f8a
|
data/README.md
CHANGED
@@ -47,6 +47,8 @@ user_image: /media/user-image.jpg
|
|
47
47
|
# Optional custom background image and overlay
|
48
48
|
# background:
|
49
49
|
# image: /media/background-img.jpg
|
50
|
+
# single overlay for all or custom for light and dark modes
|
51
|
+
# overlay: rgba(0, 0, 0, 0.5)
|
50
52
|
# light:
|
51
53
|
# overlay: rgba(255, 255, 255, 0.5)
|
52
54
|
# dark:
|
@@ -64,10 +66,12 @@ user_image: /media/user-image.jpg
|
|
64
66
|
# dribbble: your_username
|
65
67
|
# docker: your_username
|
66
68
|
# facebook: your_username
|
69
|
+
# github: your_username
|
67
70
|
# hackerrank: your_username
|
68
71
|
# instagram: your_username
|
69
72
|
# keybase: your_username
|
70
73
|
# linkedin: your_username
|
74
|
+
# mail: email@address
|
71
75
|
# mastodon: your_username
|
72
76
|
# medium: your_username
|
73
77
|
# stackoverflow: your_user_id
|
@@ -343,10 +347,12 @@ social_media:
|
|
343
347
|
dribbble: your_username
|
344
348
|
docker: your_username
|
345
349
|
facebook: your_username
|
350
|
+
github: your_username
|
346
351
|
hackerrank: your_username
|
347
352
|
instagram: your_username
|
348
353
|
keybase: your_username
|
349
354
|
linkedin: your_username
|
355
|
+
mail: email@address
|
350
356
|
mastodon: your_username
|
351
357
|
medium: your_username
|
352
358
|
stackoverflow: your_user_id
|
data/_config.yml
CHANGED
@@ -23,10 +23,12 @@ social_media: # Your social media accounts
|
|
23
23
|
# dribbble: your_username
|
24
24
|
# docker: your_username
|
25
25
|
# facebook: your_username
|
26
|
+
# github: your_username
|
26
27
|
# hackerrank: your_username
|
27
28
|
# instagram: your_username
|
28
29
|
# keybase: your_username
|
29
30
|
# linkedin: your_username
|
31
|
+
# mail: email@address
|
30
32
|
# mastodon: your_username
|
31
33
|
# medium: your_username
|
32
34
|
# stackoverflow: your_user_id
|
data/_includes/header.html
CHANGED
@@ -153,6 +153,7 @@
|
|
153
153
|
}
|
154
154
|
// Set the span to the themeIcon class
|
155
155
|
themeIcon.classList = "octicon octicon-" + nextIcon + "-24";
|
156
|
+
themeToggle.setAttribute("aria-label", "Color mode: " + nextMode);
|
156
157
|
}
|
157
158
|
|
158
159
|
themeToggle.addEventListener('click', function () {
|
@@ -167,15 +168,15 @@
|
|
167
168
|
</script>
|
168
169
|
|
169
170
|
{%- if bg_image %}
|
171
|
+
{%- if site.backgrournd.overlay %}
|
172
|
+
{%- assign dark_overlay = site.background.overlay %}
|
173
|
+
{%- assign light_overlay = site.background.overlay %}
|
174
|
+
{%- endif %}
|
170
175
|
{%- if site.background.dark.overlay %}
|
171
176
|
{%- assign dark_overlay = site.background.dark.overlay %}
|
172
|
-
{%- else %}
|
173
|
-
{%- assign dark_overlay = 'rgba(34, 39, 46, 0.5)' %}
|
174
177
|
{%- endif %}
|
175
178
|
{%- if site.background.light.overlay %}
|
176
179
|
{%- assign light_overlay = site.background.light.overlay %}
|
177
|
-
{%- else %}
|
178
|
-
{%- assign light_overlay = 'rgba(255, 255, 255, 0.5)' %}
|
179
180
|
{%- endif %}
|
180
181
|
<style>
|
181
182
|
body {
|
data/_includes/masthead.html
CHANGED
@@ -15,40 +15,42 @@
|
|
15
15
|
{%- endif %}
|
16
16
|
|
17
17
|
{%- assign metadata_styles = 'd-flex flex-items-center flex-justify-center mb-3' %}
|
18
|
-
<
|
19
|
-
<
|
20
|
-
<
|
21
|
-
|
22
|
-
|
23
|
-
</
|
24
|
-
|
25
|
-
<
|
26
|
-
|
27
|
-
|
18
|
+
<div class="Masthead">
|
19
|
+
<a href="{{ site.baseurl }}/">
|
20
|
+
<div class="img-masthead">
|
21
|
+
<img src="{{ user_img | relative_url }}" alt="{{ name }}"
|
22
|
+
class="avatar avatar-user rounded-circle border color-border-default">
|
23
|
+
</div>
|
24
|
+
</a>
|
25
|
+
<h1 class="mb-2 lh-condensed overflow-wrap-word">{{ name }}</h1>
|
26
|
+
<p class="mb-3 f4">
|
27
|
+
{{ user.bio }}
|
28
|
+
</p>
|
28
29
|
|
29
|
-
{%- if include.metadata %}
|
30
|
-
<div class="f4">
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
30
|
+
{%- if include.metadata %}
|
31
|
+
<div class="f4">
|
32
|
+
{%- if user.name %}
|
33
|
+
<div class="{{ metadata_styles }}">
|
34
|
+
{% octicon mark-github height:20 class:"mr-2 v-align-middle" aria-label:GitHub %}
|
35
|
+
<a href="https://github.com/{{ user.login }}">
|
36
|
+
@{{ user.login }}
|
37
|
+
</a>
|
38
|
+
</div>
|
39
|
+
{%- endif %}
|
40
|
+
{%- if user.email %}
|
41
|
+
<div class="{{ metadata_styles }}">
|
42
|
+
{% octicon mail height:20 class:"mr-2 v-align-middle" aria-label:email %}
|
43
|
+
<a href="mailto:{{ user.email }}">
|
44
|
+
{{ user.email }}
|
45
|
+
</a>
|
46
|
+
</div>
|
47
|
+
{%- endif %}
|
48
|
+
{%- if user.location %}
|
49
|
+
<div class="{{ metadata_styles }}">
|
50
|
+
{% octicon location height:20 class:"mr-2 v-align-middle" aria-label:Location %}
|
51
|
+
{{ user.location }}
|
52
|
+
</div>
|
53
|
+
{%- endif %}
|
51
54
|
</div>
|
52
55
|
{%- endif %}
|
53
56
|
</div>
|
54
|
-
{%- endif %}
|
@@ -1,21 +1,24 @@
|
|
1
1
|
{% assign repo = site.github.public_repositories | where: "full_name", site.repository | first %}
|
2
|
+
<div class="Repo-info">
|
3
|
+
<a href="{{ site.github.repository_url }}" class="{{ include.class }} tooltipped tooltipped-se" aria-label="Go to repository">
|
4
|
+
<div class="d-flex flex-row flex-justify-center Header-item">
|
2
5
|
|
3
|
-
<
|
4
|
-
<div class="d-flex flex-row flex-justify-center Header-item">
|
5
|
-
|
6
|
-
<div class="mr-2">{% octicon git-branch height: 32 %}</div>
|
7
|
-
<div>
|
6
|
+
<div class="mr-2">{% octicon git-branch height: 32 %}</div>
|
8
7
|
<div>
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
8
|
+
<div>
|
9
|
+
{{ site.repository }}
|
10
|
+
</div>
|
11
|
+
<div class="d-flex flex-row">
|
12
|
+
{%- if site.github.latest_release %}
|
13
|
+
<div class="mr-3">
|
14
|
+
<span>{% octicon tag height: 12 %} {{ site.github.latest_release.tag_name}}</span>
|
15
|
+
</div>
|
16
|
+
{%- endif %}
|
17
|
+
<div class="mr-3"><span>{% octicon star height: 12 %} {{ repo.stargazers_count }}</span></div>
|
18
|
+
<div class="mr-0"><span>{% octicon repo-forked height: 12 %} {{ repo.forks_count }}</span></div>
|
19
|
+
</div>
|
17
20
|
</div>
|
18
|
-
</div>
|
19
21
|
|
20
|
-
|
21
|
-
</a>
|
22
|
+
</div>
|
23
|
+
</a>
|
24
|
+
</div>
|
data/_includes/social.html
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
|
2
|
-
<div class="d-flex flex-wrap flex-items-start flex-justify-center">
|
2
|
+
<div class="Social d-flex flex-wrap flex-items-start flex-justify-center">
|
3
3
|
|
4
4
|
{%- if site.social_media.behance %}
|
5
5
|
<div class="mr-3">
|
@@ -53,6 +53,19 @@
|
|
53
53
|
</div>
|
54
54
|
{%- endif %}
|
55
55
|
|
56
|
+
{%- if site.social_media.github %}
|
57
|
+
<div class="mr-3">
|
58
|
+
<a href="https://www.github.com/{{ site.social_media.github }}" class="tooltipped tooltipped-se" aria-label="Github: {{ site.social_media.github }}">
|
59
|
+
{%- if site.icon_color %}
|
60
|
+
{%- assign color = site.icon_color %}
|
61
|
+
{%- else %}
|
62
|
+
{%- assign color = "#959da5" %}
|
63
|
+
{%- endif %}
|
64
|
+
<svg width="20" height="20" viewbox="0 0 98 96" fill="{{ color }}" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M48.854 0C21.839 0 0 22 0 49.217c0 21.756 13.993 40.172 33.405 46.69 2.427.49 3.316-1.059 3.316-2.362 0-1.141-.08-5.052-.08-9.127-13.59 2.934-16.42-5.867-16.42-5.867-2.184-5.704-5.42-7.17-5.42-7.17-4.448-3.015.324-3.015.324-3.015 4.934.326 7.523 5.052 7.523 5.052 4.367 7.496 11.404 5.378 14.235 4.074.404-3.178 1.699-5.378 3.074-6.6-10.839-1.141-22.243-5.378-22.243-24.283 0-5.378 1.94-9.778 5.014-13.2-.485-1.222-2.184-6.275.486-13.038 0 0 4.125-1.304 13.426 5.052a46.97 46.97 0 0 1 12.214-1.63c4.125 0 8.33.571 12.213 1.63 9.302-6.356 13.427-5.052 13.427-5.052 2.67 6.763.97 11.816.485 13.038 3.155 3.422 5.015 7.822 5.015 13.2 0 18.905-11.404 23.06-22.324 24.283 1.78 1.548 3.316 4.481 3.316 9.126 0 6.6-.08 11.897-.08 13.526 0 1.304.89 2.853 3.316 2.364 19.412-6.52 33.405-24.935 33.405-46.691C97.707 22 75.788 0 48.854 0z"/></svg>
|
65
|
+
</a>
|
66
|
+
</div>
|
67
|
+
{%- endif %}
|
68
|
+
|
56
69
|
{%- if site.social_media.hackerrank %}
|
57
70
|
<div class="mr-3">
|
58
71
|
<a href="https://www.hackerrank.com/{{ site.social_media.hackerrank }}" class="tooltipped tooltipped-se" aria-label="HackerRank: {{ site.social_media.hackerrank }}">
|
@@ -191,6 +204,20 @@
|
|
191
204
|
</div>
|
192
205
|
{%- endif %}
|
193
206
|
|
207
|
+
{%- if site.social_media.mail %}
|
208
|
+
<div class="mr-3">
|
209
|
+
<a href="mailto:{{ site.social_media.mail }}" class="tooltipped tooltipped-se" aria-label="Mail: {{ site.social_media.mail }}">
|
210
|
+
{%- if site.icon_color %}
|
211
|
+
{%- assign color = site.icon_color %}
|
212
|
+
{%- else %}
|
213
|
+
{%- assign color = "#959da5" %}
|
214
|
+
{%- endif %}
|
215
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="20" height="20" fill="{{ color }}"><path d="M1.75 3h20.5c.966 0 1.75.784 1.75 1.75v14a1.75 1.75 0 0 1-1.75 1.75H1.75A1.75 1.75 0 0 1 0 18.75v-14C0 3.784.784 3 1.75 3ZM1.5 7.412V18.75c0 .138.112.25.25.25h20.5a.25.25 0 0 0 .25-.25V7.412l-9.52 6.433c-.592.4-1.368.4-1.96 0Zm0-2.662v.852l10.36 7a.25.25 0 0 0 .28 0l10.36-7V4.75a.25.25 0 0 0-.25-.25H1.75a.25.25 0 0 0-.25.25Z"></path></svg>
|
216
|
+
</a>
|
217
|
+
</div>
|
218
|
+
{%- endif %}
|
219
|
+
|
220
|
+
|
194
221
|
{%- if site.social_media.mastodon %}
|
195
222
|
<div class="mr-3">
|
196
223
|
<a href="https://mstdn.io/{{ site.social_media.mastodon }}" class="tooltipped tooltipped-se" aria-label="Mastodon: {{ site.social_media.mastodon }}">
|
data/_includes/toggle.html
CHANGED
@@ -1,4 +1,4 @@
|
|
1
1
|
<div class="d-flex flex-items-center">
|
2
|
-
<button id="theme-toggle" class="btn btn-sm mr-2" type="button"><span id="theme-icon"
|
2
|
+
<button id="theme-toggle" class="btn btn-sm mr-2 tooltipped tooltipped-se" aria-label="Color mode" type="button"><span id="theme-icon"
|
3
3
|
class="octicon octicon-moon-24"></span></button>
|
4
4
|
</div>
|
data/_layouts/default.html
CHANGED
@@ -41,7 +41,7 @@
|
|
41
41
|
<body class="min-height-full">
|
42
42
|
{%- if style == 'stacked' %}
|
43
43
|
<div class="container-lg p-responsive min-height-full">
|
44
|
-
<div class="d-flex flex-justify-end
|
44
|
+
<div class="d-flex flex-justify-end pt-2">
|
45
45
|
{%- include toggle.html %}
|
46
46
|
</div>
|
47
47
|
<div class="text-center py-3 border-bottom">
|
@@ -62,13 +62,15 @@
|
|
62
62
|
{%- include nav.html %}
|
63
63
|
</nav>
|
64
64
|
{%- endif %}
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
65
|
+
<div class="color-bg-default">
|
66
|
+
{%- if breadcrumbs %}
|
67
|
+
<div class="p-3">
|
68
|
+
{%- include breadcrumbs.html %}
|
69
|
+
</div>
|
70
|
+
{%- endif %}
|
71
|
+
<div class="p-responsive markdown-body ">
|
71
72
|
{{ content }}
|
73
|
+
</div>
|
72
74
|
</div>
|
73
75
|
</div>
|
74
76
|
{%- elsif style == 'sidebar' %}
|
@@ -101,7 +103,7 @@
|
|
101
103
|
</div>
|
102
104
|
{% include toggle.html %}
|
103
105
|
</div>
|
104
|
-
<div class="p-responsive
|
106
|
+
<div class="p-responsive markdown-body">
|
105
107
|
{{ content }}
|
106
108
|
</div>
|
107
109
|
</div>
|
@@ -127,7 +129,9 @@
|
|
127
129
|
{% include mini-repo-info-card.html class="Header-link" %}
|
128
130
|
</div>
|
129
131
|
{% endif %}
|
132
|
+
<div class="Header-item mr-3">
|
130
133
|
{% include toggle.html %}
|
134
|
+
</div>
|
131
135
|
<div class="Header-item mr-0">
|
132
136
|
<a href="https://github.com/{{ user.login }}" class="Header-link d-flex flex-items-center">
|
133
137
|
<img class="avatar img-cover" height="32" width="32" alt="{{ name }}"
|
@@ -148,7 +152,7 @@
|
|
148
152
|
{%- if breadcrumbs %}
|
149
153
|
{%- include breadcrumbs.html %}
|
150
154
|
{%- endif %}
|
151
|
-
<div class="p-responsive
|
155
|
+
<div class="p-responsive markdown-body">
|
152
156
|
{{ content }}
|
153
157
|
</div>
|
154
158
|
</div>
|
data/_layouts/home.html
CHANGED
@@ -1,23 +1,24 @@
|
|
1
1
|
---
|
2
2
|
layout: default
|
3
3
|
---
|
4
|
-
|
5
|
-
{%-
|
4
|
+
<div class="py-3">
|
5
|
+
{%- assign posts_total = site.posts | size %}
|
6
|
+
{%- if site.posts_limit %}
|
6
7
|
{%- assign posts_limit = site.posts_limit %}
|
7
|
-
{%- else %}
|
8
|
+
{%- else %}
|
8
9
|
{%- assign posts_limit = posts_total %}
|
9
|
-
{%- endif %}
|
10
|
+
{%- endif %}
|
10
11
|
|
11
|
-
{%- unless content == "" %}
|
12
|
+
{%- unless content == "" %}
|
12
13
|
{{ content }}
|
13
|
-
{%- endunless %}
|
14
|
+
{%- endunless %}
|
14
15
|
|
15
|
-
{%- if site.links %}
|
16
|
+
{%- if site.links %}
|
16
17
|
<h2 class="mb-3">Links</h2>
|
17
18
|
{%- include links.html %}
|
18
|
-
{%- endif %}
|
19
|
+
{%- endif %}
|
19
20
|
|
20
|
-
{%- unless posts_total == 0 %}
|
21
|
+
{%- unless posts_total == 0 %}
|
21
22
|
<h2 class="mb-3">Blog</h2>
|
22
23
|
{%- include posts.html limit=posts_limit %}
|
23
24
|
{%- if site.posts.size > post_limit %}
|
@@ -25,9 +26,10 @@ layout: default
|
|
25
26
|
<a href="{{ site.paginate_path | relative_url | replace: 'page:num', '' }}" class="btn btn-block mb-2">Read more</a>
|
26
27
|
</div>
|
27
28
|
{%- endif %}
|
28
|
-
{%- endunless %}
|
29
|
+
{%- endunless %}
|
29
30
|
|
30
|
-
{%- if site.repositories %}
|
31
|
+
{%- if site.repositories %}
|
31
32
|
<h2 class="mb-3">Repositories</h2>
|
32
33
|
{%- include repositories.html %}
|
33
|
-
{%- endif %}
|
34
|
+
{%- endif %}
|
35
|
+
</div>
|
data/_layouts/page.html
CHANGED
data/_layouts/post.html
CHANGED
@@ -3,21 +3,22 @@ layout: page
|
|
3
3
|
---
|
4
4
|
<p class="mb-5">Published {{ page.date | date: "%b %d, %Y"}}</p>
|
5
5
|
<div class="markdown-body">
|
6
|
-
{{ content }}
|
6
|
+
{{ content }}
|
7
7
|
</div>
|
8
8
|
|
9
9
|
<!-- Pagination links -->
|
10
10
|
<div class="paginate-container">
|
11
11
|
<div role="navigation" aria-label="Pagination" class="d-flex d-md-inline-block pagination">
|
12
12
|
{% if page.previous.url %}
|
13
|
-
<a class="previous_page" rel="prev" href="{{ page.previous.url | relative_url }}"
|
13
|
+
<a class="previous_page" rel="prev" href="{{ page.previous.url | relative_url }}"
|
14
|
+
aria-disabled="false">{{page.previous.title | truncate: 20 }}</a>
|
14
15
|
{% else %}
|
15
16
|
<span class="previous_page disabled" aria-disabled="true">Previous</span>
|
16
17
|
{% endif %}
|
17
18
|
|
18
19
|
{% if page.next.url %}
|
19
20
|
<a class="next_page" rel="next" href="{{ page.next.url | relative_url }}"
|
20
|
-
aria-disabled="false">{{page.next.title}}</a>
|
21
|
+
aria-disabled="false">{{page.next.title | truncate: 20 }}</a>
|
21
22
|
{% else %}
|
22
23
|
<span class="next_page disabled" aria-disabled="true">Next</span>
|
23
24
|
{% endif %}
|
data/assets/css/style.scss
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-theme-profile
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Allison Thackston
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-08-
|
11
|
+
date: 2023-08-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|