jekyll-theme-profile 2.2.5 → 2.2.6
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 +2 -0
- data/_includes/header-appbar.html +14 -6
- data/_includes/header-topbar.html +10 -2
- data/_includes/post-timeline-card.html +8 -26
- data/_layouts/post.html +8 -3
- data/_sass/_main.scss +7 -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: 7d0dbf517c478fdc82dbdd9a0192fc772bdbaaa9fda56d5ba9e4bfb1842915b1
|
|
4
|
+
data.tar.gz: d0332b3fe13d2579427db755a223820160a7141db47ed0fd04dc17687b573391
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 00630f6676e55a463bb3de1ef9526403e7523236199243d032adada2591e05c28508b2755122acc433203f2420471495be7b8f62c088a6faa39a9e8bef315528
|
|
7
|
+
data.tar.gz: dca713d9efabe02a7e0a40aadf58de604fea7b5294c55696938d44769951f733052691651659dc09cc0c42b72d719c2de732628b5ffa4c87f4cff06c9b720e92
|
data/_config.yml
CHANGED
|
@@ -26,6 +26,8 @@ defaults:
|
|
|
26
26
|
style: appbar # One of "stacked", "sidebar", "topbar", "appbar"
|
|
27
27
|
# The user/project avatar. If not set the avatar of the project owner will be used.
|
|
28
28
|
# user_image: /assets/img/user-image.jpg
|
|
29
|
+
# The header brand icon. Use "none", "favicon", or an Octicon name like "mark-github".
|
|
30
|
+
# header_icon: favicon
|
|
29
31
|
# The themes to use for dark and light
|
|
30
32
|
dark_theme: dark # One of dark, dark_dimmed, dark_colorblind, dark_high_contrast, dark_tritanopia
|
|
31
33
|
light_theme: light # One of light, light_colorblind, light_high_contrast, light_tritanopia
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
{%- assign user = site.github.owner %}
|
|
2
2
|
{%- assign name = site.title | default: user.name | default: user.login %}
|
|
3
3
|
{%- assign user_img = site.user_image | default: user.avatar_url | default: "/assets/img/user-image.jpg" %}
|
|
4
|
+
{%- assign favicon = site.favicon | default: site.logo | default: "/assets/img/favicon.ico" %}
|
|
5
|
+
{%- assign header_icon = site.header_icon | default: "mark-github" %}
|
|
4
6
|
|
|
5
7
|
<header class="AppHeader position-sticky top-0 z-2 border-bottom topbar">
|
|
6
|
-
<div class="AppHeader-item d-flex flex-justify-between p-2 flex-items-center">
|
|
8
|
+
<div class="AppHeader-item d-flex flex-justify-between p-2 flex-items-center mb-2">
|
|
7
9
|
{%- if site.nav %}
|
|
8
10
|
<div class="d-flex d-sm-none">
|
|
9
11
|
{% include nav-overlay.html %}
|
|
@@ -11,8 +13,14 @@
|
|
|
11
13
|
{%- endif %}
|
|
12
14
|
<div tabindex="-1" class="d-flex flex-1 ml-3" id="github-logo">
|
|
13
15
|
<a href="{{ site.baseurl }}/" class="AppHeader-link d-flex flex-items-center no-underline mr-3 h1">
|
|
14
|
-
|
|
15
|
-
|
|
16
|
+
{%- unless header_icon == "none" %}
|
|
17
|
+
{%- if header_icon == "favicon" %}
|
|
18
|
+
<img src="{{ favicon | relative_url }}" alt="" width="24" height="24" class="mr-2" />
|
|
19
|
+
{%- else %}
|
|
20
|
+
<span class="octicon octicon-{{ header_icon }}-24"></span>
|
|
21
|
+
{%- endif %}
|
|
22
|
+
{%- endunless %}
|
|
23
|
+
<span class="h3 text-semibold{% unless header_icon == "none" %} mx-3{% endunless %}">{{ name }}</span>
|
|
16
24
|
</a>
|
|
17
25
|
<span class="d-none d-sm-block flex-content-center ml-2">
|
|
18
26
|
{% include version-selector.html %}
|
|
@@ -35,11 +43,11 @@
|
|
|
35
43
|
{%- endif %}
|
|
36
44
|
</div>
|
|
37
45
|
</div>
|
|
38
|
-
|
|
39
|
-
|
|
46
|
+
<div class="d-flex flex-items-center">
|
|
47
|
+
{%- if site.nav %}
|
|
40
48
|
<div class="AppHeader-item width-full hide-sm">
|
|
41
49
|
{%- include navbar-underline.html %}
|
|
42
50
|
</div>
|
|
51
|
+
{%- endif %}
|
|
43
52
|
</div>
|
|
44
|
-
{%- endif %}
|
|
45
53
|
</header>
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
{%- assign user = site.github.owner %}
|
|
2
2
|
{%- assign name = site.title | default: user.name | default: user.login %}
|
|
3
3
|
{%- assign user_img = site.user_image | default: user.avatar_url | default: "/assets/img/user-image.jpg" %}
|
|
4
|
+
{%- assign favicon = site.favicon | default: site.logo | default: "/assets/img/favicon.ico" %}
|
|
5
|
+
{%- assign header_icon = site.header_icon | default: "mark-github" %}
|
|
4
6
|
<script>
|
|
5
7
|
$(document).ready(function () {
|
|
6
8
|
$('#expansion-btn').click(function () {
|
|
@@ -14,11 +16,17 @@
|
|
|
14
16
|
<div class="Header-item">
|
|
15
17
|
<button id="expansion-btn" class="btn-octicon mr-2 d-sm-none"><span class="octicon octicon-three-bars-16"></span></button>
|
|
16
18
|
<a href="{{ site.baseurl }}/" class="Header-link h1 f4 d-flex flex-items-center">
|
|
17
|
-
|
|
19
|
+
{%- unless header_icon == "none" %}
|
|
20
|
+
{%- if header_icon == "favicon" %}
|
|
21
|
+
<img src="{{ favicon | relative_url }}" alt="" width="24" height="24" class="mr-2" />
|
|
22
|
+
{%- else %}
|
|
23
|
+
<span class="octicon octicon-{{ header_icon }}-24"></span>
|
|
24
|
+
{%- endif %}
|
|
25
|
+
{%- endunless %}
|
|
18
26
|
</a>
|
|
19
27
|
</div>
|
|
20
28
|
<div class="Header-item Header-link Header-item--full">
|
|
21
|
-
<a href="{{ site.baseurl }}/">{{ name }}</a>
|
|
29
|
+
<a class="Header-link h3" href="{{ site.baseurl }}/">{{ name }}</a>
|
|
22
30
|
<div class="d-inline-block ml-4">
|
|
23
31
|
{% include version-selector.html %}
|
|
24
32
|
</div>
|
|
@@ -49,9 +49,14 @@
|
|
|
49
49
|
<div class="col-12 col-md-7">
|
|
50
50
|
<div class="pt-md-7 ml-5 border-bottom">
|
|
51
51
|
{%- if post.video %}
|
|
52
|
-
<div
|
|
53
|
-
<iframe
|
|
54
|
-
|
|
52
|
+
<div class="image-container mb-5">
|
|
53
|
+
<iframe
|
|
54
|
+
class="rounded-2"
|
|
55
|
+
src="{{ post.video }}"
|
|
56
|
+
frameborder="0"
|
|
57
|
+
allowfullscreen
|
|
58
|
+
title="{{ post.title }}"
|
|
59
|
+
></iframe>
|
|
55
60
|
</div>
|
|
56
61
|
{%- elsif post.image %}
|
|
57
62
|
<div class="image-container mb-5">
|
|
@@ -76,27 +81,4 @@
|
|
|
76
81
|
</div>
|
|
77
82
|
|
|
78
83
|
</div>
|
|
79
|
-
<script>
|
|
80
|
-
(function () {
|
|
81
|
-
const card = document.currentScript.closest('.TimelineItem');
|
|
82
|
-
if (!card) return;
|
|
83
|
-
|
|
84
|
-
const videocontainer = card.querySelector('.timeline-video-container');
|
|
85
|
-
const iframe = card.querySelector('.Timeline-video');
|
|
86
|
-
const title = card.querySelector('.TimelineItem-title');
|
|
87
|
-
|
|
88
|
-
function setIframeDimensions() {
|
|
89
|
-
if (!videocontainer || !iframe) return;
|
|
90
|
-
iframe.style.width = container.offsetWidth + 'px';
|
|
91
|
-
iframe.style.height = container.offsetHeight + 'px';
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
// Initial iframe sizing
|
|
95
|
-
setIframeDimensions();
|
|
96
|
-
|
|
97
|
-
// Watch for container resize
|
|
98
|
-
new ResizeObserver(setIframeDimensions).observe(card);
|
|
99
|
-
|
|
100
|
-
})();
|
|
101
|
-
</script>
|
|
102
84
|
</div>
|
data/_layouts/post.html
CHANGED
|
@@ -82,9 +82,14 @@ layout: default
|
|
|
82
82
|
</div>
|
|
83
83
|
<div class="col-12 col-lg-7 col-md-8 markdown-body">
|
|
84
84
|
{% if page.video %}
|
|
85
|
-
<div
|
|
86
|
-
<iframe
|
|
87
|
-
|
|
85
|
+
<div class="image-container mb-5">
|
|
86
|
+
<iframe
|
|
87
|
+
class="rounded-2"
|
|
88
|
+
src="{{ page.video }}"
|
|
89
|
+
frameborder="0"
|
|
90
|
+
allowfullscreen
|
|
91
|
+
title="{{ page.title }}"
|
|
92
|
+
></iframe>
|
|
88
93
|
</div>
|
|
89
94
|
{% endif %}
|
|
90
95
|
{{ content }}
|
data/_sass/_main.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: 2.2.
|
|
4
|
+
version: 2.2.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Allison Thackston
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-06-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|