jekyll-theme-profile 0.2.2 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/_config.yml +0 -4
- data/_includes/header.html +12 -5
- data/_includes/nav.html +5 -6
- 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: f1ac5c3750901ad672ec1aa90de869415f9f468bd94a052fa7462006c6a3854e
|
4
|
+
data.tar.gz: 2ef23f54f12f75cef68868916fe8de2d129c5dbd30b956734a8684ba51e34a56
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 07a6867ffe44283b2ac051d00ae66f08becdcd94d3a255ce15194ac80ec38fec167f6bd139a0e5a647074dc3cccabd3ce7e6f0d8f728f97174563be1800137e8
|
7
|
+
data.tar.gz: 94bcff83cec403bbb4e4a833034f238bd67a054db736a1923fba32ba6de787d3a42c153f762fd90134971fa344efb2a84a9232eeadb50184e120fb7ce16eaf98
|
data/README.md
CHANGED
data/_config.yml
CHANGED
data/_includes/header.html
CHANGED
@@ -1,4 +1,12 @@
|
|
1
1
|
{%- assign user = site.github.owner %}
|
2
|
+
|
3
|
+
{% capture last_char %}{{ page.url | slice: -1 }}{% endcapture %}
|
4
|
+
{%- if last_char == '/' %}
|
5
|
+
{%- capture page_url %}{{ page.url | append: "index.html" }}{% endcapture %}
|
6
|
+
{%- else %}
|
7
|
+
{%- assign page_url = page.url %}
|
8
|
+
{%- endif %}
|
9
|
+
|
2
10
|
{%- if page.title %}
|
3
11
|
{%- assign page_title = page.title %}
|
4
12
|
{%- elsif site.title %}
|
@@ -28,23 +36,22 @@
|
|
28
36
|
<head>
|
29
37
|
<meta charset="utf-8">
|
30
38
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
31
|
-
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
32
39
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
33
40
|
<!-- HTML Meta Tags -->
|
34
41
|
<title>{{ page_title }}</title>
|
35
42
|
<meta name="description" content="{{ meta_description }}">
|
36
43
|
|
37
44
|
<!-- Opengraph Meta Tags -->
|
38
|
-
<meta property="og:url" content="{{
|
45
|
+
<meta property="og:url" content="{{ page_url | absolute_url }}">
|
39
46
|
<meta property="og:type" content="website">
|
40
|
-
<meta property="og:title" content="{{ page_title }}">
|
47
|
+
<meta property="og:title" content="{{ page_title | absolute_url }}">
|
41
48
|
<meta property="og:description" content="{{ meta_description }}">
|
42
49
|
<meta property="og:image" content="{{ page_image | absolute_url }}">
|
43
50
|
|
44
51
|
<!-- Twitter Meta Tags -->
|
45
52
|
<meta name="twitter:card" content="summary_large_image">
|
46
|
-
<meta property="twitter:domain" content="{{ site.url | replace: 'https://', '' | replace: 'www.', '' }}">
|
47
|
-
<meta property="twitter:url" content="{{
|
53
|
+
<meta property="twitter:domain" content="{{ site.url | replace: 'http://', '' | replace: 'https://', '' | replace: 'www.', '' }}">
|
54
|
+
<meta property="twitter:url" content="{{ page_url | absolute_url }}">
|
48
55
|
<meta name="twitter:title" content="{{ page_title }}">
|
49
56
|
<meta name="twitter:description" content="{{ meta_description }}">
|
50
57
|
<meta name="twitter:image" content="{{ page_image | absolute_url }}">
|
data/_includes/nav.html
CHANGED
@@ -16,6 +16,8 @@
|
|
16
16
|
{%- assign isa_asset = site.pages | where: "url", asset_url | first %}
|
17
17
|
{%- assign index_url = url | append: crumb | append: "/index.html" %}
|
18
18
|
{%- assign isa_index = site.pages | where: "url", index_url | first %}
|
19
|
+
{%- assign folder_url = url | append: crumb | append: "/" %}
|
20
|
+
{%- assign isa_folder = site.pages | where: "url", folder_url | first %}
|
19
21
|
{%- assign url = url | append: crumb %}
|
20
22
|
{%- assign isa_page = site.pages | where: "url", url | first %}
|
21
23
|
{%- assign isa_post = site.posts | where: "url", url | first %}
|
@@ -30,12 +32,13 @@
|
|
30
32
|
{% endfor %}
|
31
33
|
{%- endcomment %}
|
32
34
|
|
33
|
-
|
35
|
+
|
36
|
+
{%- if page.url == url or page.url == index_url or page.url == folder_url %}
|
34
37
|
<li class="breadcrumb-item breadcrumb-item-selected" aria-current="page">
|
35
38
|
<a href="{{ page.url | relative_url }}">{{ nice_crumb }}</a>
|
36
39
|
</li>
|
37
40
|
{%- break %}
|
38
|
-
{%- elsif isa_page or isa_post %}
|
41
|
+
{%- elsif isa_page or isa_post or isa_index or isa_folder %}
|
39
42
|
<li class="breadcrumb-item">
|
40
43
|
<a href="{{ url | relative_url }}">{{ nice_crumb }}</a>
|
41
44
|
</li>
|
@@ -43,10 +46,6 @@
|
|
43
46
|
<li class="breadcrumb-item">
|
44
47
|
<a href="{{ asset_url | relative_url }}">{{ nice_crumb }}</a>
|
45
48
|
</li>
|
46
|
-
{%- elsif isa_index %}
|
47
|
-
<li class="breadcrumb-item">
|
48
|
-
<a href="{{ index_url | relative_url }}">{{ nice_crumb }}</a>
|
49
|
-
</li>
|
50
49
|
{%- else %}
|
51
50
|
<li class="breadcrumb-item">
|
52
51
|
{{ nice_crumb }}
|
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: 0.2.
|
4
|
+
version: 0.2.4
|
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-07-
|
11
|
+
date: 2023-07-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|