jekyll-theme-profile 2.2.5 → 2.3.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dc4d6ec5874f30d098ba1ce24584aea0f740935fe1e3e1c9971fe31975027b40
4
- data.tar.gz: 68b64537086f3c912915b490176aa6fec4f480217959d8364a28bb697b215552
3
+ metadata.gz: 941b0a5934d37f55063dcc032e980945eb8d01a8f02c34be4d9b66485acbe206
4
+ data.tar.gz: db5f83620c4d1a55a248c58d3b834e519a071720d006322fbde39c4ec4c761a7
5
5
  SHA512:
6
- metadata.gz: 3821b2f906ed0be5cbc0045fc24e41a641a1f9f6ea63aa92a03eb8f6add0c1c2f076d18e0fff4aea1d130dcde5ddf9128fb1ed556ccc157e3219b4b8582ce8d6
7
- data.tar.gz: 9fcf30c7debc4f57befe60eca562b010563b0fdea16ac4b900e5c054c3eae493546a1103c6e372b3cd5ebad7727fdffdc56d9f35980a7fabfb37e6d4511cd0a4
6
+ metadata.gz: ac0ae64fae3dbb8474680fe33922426d5996ffe68afc87bc26d98bf2d977ff3972f90557db3f32e097e80b3e6e18f2d2e44011f7545da8802110466504c97132
7
+ data.tar.gz: f53444a186b57490f3fe7f3e5a55e61ffcf4e2d5364c4baddd95f5cc84f09ddd902a1c47e660dae1d421e1fb049b4250ceb5429c1ef1d9ee1c7b7875698ad103
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
- <span class="octicon octicon-mark-github-24"></span>
15
- <span class="h4 text-semibold mx-3">{{ name }}</span>
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
- {%- if site.nav %}
39
- <div class="d-flex flex-items-center mt-2">
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
- <span class="octicon octicon-mark-github-24"></span>
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 id="Timeline-video-container" class="image-container mb-5">
53
- <iframe id="Timeline-video" src="{{ post.video }}" frameborder="0" height="inherited"
54
- width="inherited"></iframe>
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 id="Timeline-video-container" class="image-container mb-5">
86
- <iframe id="Timeline-video" src="{{ page.video }}" frameborder="0" height="inherited"
87
- width="inherited"></iframe>
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
@@ -90,6 +90,13 @@ body::before {
90
90
  /* Scale and crop the image to cover the container */
91
91
  }
92
92
 
93
+ .image-container iframe {
94
+ position: absolute;
95
+ inset: 0;
96
+ width: 100%;
97
+ height: 100%;
98
+ }
99
+
93
100
  .post-tags::before {
94
101
  content: "";
95
102
  display: block;
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.5
4
+ version: 2.3.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: 2026-05-22 00:00:00.000000000 Z
11
+ date: 2026-06-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -72,7 +72,8 @@ dependencies:
72
72
  - - "~>"
73
73
  - !ruby/object:Gem::Version
74
74
  version: 1.1.0
75
- description:
75
+ description: This gem has been renamed to 'jekyll-theme-primerpages'. Please update
76
+ your Gemfile.
76
77
  email:
77
78
  - allison@allisonthackston.com
78
79
  executables: []
@@ -161,7 +162,16 @@ homepage: https://www.primerpages.com
161
162
  licenses:
162
163
  - MIT
163
164
  metadata: {}
164
- post_install_message:
165
+ post_install_message: |
166
+ [DEPRECATED] 'jekyll-theme-profile' has been renamed to 'jekyll-theme-primerpages'.
167
+
168
+ Please update your Gemfile:
169
+
170
+ gem 'jekyll-theme-primerpages'
171
+
172
+ And your _config.yml:
173
+
174
+ theme: jekyll-theme-primerpages
165
175
  rdoc_options: []
166
176
  require_paths:
167
177
  - lib
@@ -176,8 +186,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
176
186
  - !ruby/object:Gem::Version
177
187
  version: '0'
178
188
  requirements: []
179
- rubygems_version: 3.5.11
189
+ rubygems_version: 3.5.22
180
190
  signing_key:
181
191
  specification_version: 4
182
- summary: Jekyll theme built off of Github's personal website template and primer.
192
+ summary: 'DEPRECATED: use jekyll-theme-primerpages instead.'
183
193
  test_files: []