jekyll-theme-profile 1.8.6 → 1.9.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 +7 -11
- data/_includes/header-sidebar.html +1 -1
- data/_includes/masthead.html +2 -2
- data/_includes/post-card.html +2 -1
- data/_includes/post-feature-card.html +3 -1
- data/_includes/post-tease-image-card.html +22 -0
- data/_includes/post-tease-text-card.html +12 -0
- data/_layouts/category_index.html +38 -0
- data/_layouts/category_layout.html +54 -1
- data/_layouts/default.html +6 -3
- data/_layouts/docs.html +16 -11
- data/_layouts/home.html +2 -26
- data/_layouts/linktree.html +8 -2
- data/_layouts/paginate.html +1 -1
- data/_layouts/post.html +105 -95
- data/_layouts/profile.html +4 -1
- data/_layouts/tag_index.html +35 -0
- data/_layouts/tags.html +1 -1
- data/_sass/_main.scss +7 -0
- metadata +20 -3
- data/LICENSE.txt +0 -21
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 23356d00fc6dfddf50b0e61e985f1f3d8ffe2cbeda4e974182b79218cd2ab235
|
4
|
+
data.tar.gz: 9af7bc1d68ac9b4bb9c0d38a4a7f8c3058b7bb16c8a28dedb98a1f38e725b9b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 52168740d6f8d8e42cb7509c2ddef8064b608c9675d57bf0aacf19a179d05d5012ecdfb3fd3973200db2bd6bda7d3001c75584b12e0564a41180d90eff13a9d1
|
7
|
+
data.tar.gz: 4d2712cb90f972ed8092d9ee31d89b9ccf34f0806b3c64bce494bac47615d2d1510ce093d119badd62612af02e879e6ea6a793c0b9609e09bc5d2dd61dc0b434
|
data/README.md
CHANGED
@@ -132,19 +132,19 @@ style: sidebar # One of "stacked", "sidebar", "topbar", "appbar
|
|
132
132
|
---
|
133
133
|
```
|
134
134
|
|
135
|
-
#### [Sidebar](https://www.althack.dev/jekyll-theme-profile/
|
135
|
+
#### [Sidebar](https://www.althack.dev/jekyll-theme-profile/sidebar.html)
|
136
136
|
|
137
137
|
![Sidebar image](https://raw.githubusercontent.com/athackst/jekyll-theme-profile/main/demo/media/sidebar-preview.png)
|
138
138
|
|
139
|
-
#### [Stacked](https://www.althack.dev/jekyll-theme-profile/
|
139
|
+
#### [Stacked](https://www.althack.dev/jekyll-theme-profile/stacked.html)
|
140
140
|
|
141
141
|
![Stacked image](https://raw.githubusercontent.com/athackst/jekyll-theme-profile/main/demo/media/stacked-preview.png)
|
142
142
|
|
143
|
-
#### [Topbar](https://www.althack.dev/jekyll-theme-profile/
|
143
|
+
#### [Topbar](https://www.althack.dev/jekyll-theme-profile/topbar.html)
|
144
144
|
|
145
145
|
![Topbar image](https://raw.githubusercontent.com/athackst/jekyll-theme-profile/main/demo/media/topbar-preview.png)
|
146
146
|
|
147
|
-
#### [Appbar](https://www.althack.dev/jekyll-theme-profile/
|
147
|
+
#### [Appbar](https://www.althack.dev/jekyll-theme-profile/appbar.html)
|
148
148
|
|
149
149
|
![Appbar image](https://raw.githubusercontent.com/athackst/jekyll-theme-profile/main/demo/media/appbar-preview.png)
|
150
150
|
|
@@ -156,10 +156,6 @@ You can even change the background by adding the following to your `_config.yml`
|
|
156
156
|
background:
|
157
157
|
image: /media/background-img.jpg
|
158
158
|
overlay: rgba(0, 0, 0, 0.5) # Overlay for both light and dark styles
|
159
|
-
light:
|
160
|
-
overlay: rgba(255, 255, 255, 0.5)
|
161
|
-
dark:
|
162
|
-
overlay: rgba(0, 0, 0, 0.5)
|
163
159
|
```
|
164
160
|
|
165
161
|
or
|
@@ -195,11 +191,11 @@ In the `nav` section, you can add navigation links that will show up on every pa
|
|
195
191
|
```yaml
|
196
192
|
nav:
|
197
193
|
- name: Topbar
|
198
|
-
url: /
|
194
|
+
url: /demo/topbar.html
|
199
195
|
- name: Sidebar
|
200
|
-
url: /
|
196
|
+
url: /demo/sidebar.html
|
201
197
|
- name: Stacked
|
202
|
-
url: /
|
198
|
+
url: /demo/stacked.html
|
203
199
|
```
|
204
200
|
|
205
201
|
### Links
|
@@ -40,7 +40,7 @@
|
|
40
40
|
<div class="Sidebar d-none d-lg-block Layout Layout-sidebar Layout--sidebar-wide">
|
41
41
|
<div class="text-center">
|
42
42
|
<div class="px-5 py-2">
|
43
|
-
{%- include masthead.html %}
|
43
|
+
{%- include masthead.html class="CircleBadge--large" %}
|
44
44
|
</div>
|
45
45
|
{%- if site.repo_info %}
|
46
46
|
<div class="py-2">
|
data/_includes/masthead.html
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
{%- assign user = site.github.owner %}
|
2
|
-
{%- assign name = site.title | default: user.name | default: user.login %}
|
2
|
+
{%- assign name = include.title | default: site.title | default: user.name | default: user.login %}
|
3
3
|
{%- assign user_img = site.user_image | default: user.avatar_url %}
|
4
4
|
{%- assign user_metadata = site.user_metadata -%}
|
5
5
|
|
6
6
|
<div class="Masthead">
|
7
|
-
<div class="CircleBadge img-masthead
|
7
|
+
<div class="CircleBadge img-masthead {{include.class}}">
|
8
8
|
<a href="{{ site.baseurl }}/">
|
9
9
|
<img src="{{ user_img | relative_url }}" alt="{{ name }}" class="cover-image">
|
10
10
|
</a>
|
data/_includes/post-card.html
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
{%- assign image = post.image | default: site.image %}
|
2
|
+
{%- assign excerpt = post.description | default: post.excerpt %}
|
2
3
|
{%- assign border = include.border %}
|
3
4
|
<div class="col-sm-6 col-lg-4 ">
|
4
5
|
<div class="py-4 d-flex flex-column {{ border }}">
|
@@ -10,7 +11,7 @@
|
|
10
11
|
<h3 class="h6-mktg mb-12px">
|
11
12
|
<a class="Link--primary" href="{{ post.url | relative_url }}">{{ post.title }}</a>
|
12
13
|
</h3>
|
13
|
-
<
|
14
|
+
<div class="f4-mktg color-fg-muted mb-0">{{ excerpt }}</div>
|
14
15
|
<div class="mt-14px">
|
15
16
|
<div class="d-flex flex-items-center">
|
16
17
|
<div class="d-flex flex-items-end flex-wrap">
|
@@ -1,4 +1,6 @@
|
|
1
1
|
{%- assign image = post.image | default: site.image %}
|
2
|
+
{%- assign excerpt = post.description | default: post.excerpt %}
|
3
|
+
|
2
4
|
<div class="py-4 d-flex flex-column flex-md-row flex-md-row-reverse p-responsive col-12">
|
3
5
|
<div class="col-12 col-lg-8 p-responsive">
|
4
6
|
<div class="image-container">
|
@@ -11,7 +13,7 @@
|
|
11
13
|
<h3 class="h4-mktg mb-12px">
|
12
14
|
<a class="Link--primary" href="{{ post.url | relative_url }}">{{ post.title }}</a>
|
13
15
|
</h3>
|
14
|
-
<
|
16
|
+
<div class="f4-mktg color-fg-muted">{{ excerpt }}</div>
|
15
17
|
<div class="d-flex flex-items-end flex-wrap">
|
16
18
|
{%- if post.author %}
|
17
19
|
<span class="mr-3 mr-12px mt-1 f5-mktg text-bold">{{ post.author }}</span>
|
@@ -0,0 +1,22 @@
|
|
1
|
+
<!-- post preview with image -->
|
2
|
+
{%- assign image = post.image | default: site.image %}
|
3
|
+
{%- assign excerpt = post.description | default: post.excerpt %}
|
4
|
+
<div class="py-4 d-flex flex-column border-bottom border-md-0">
|
5
|
+
<div class="image-container">
|
6
|
+
<a href="{{ post.url | relative_url }}">
|
7
|
+
<img class="rounded-2" src="{{ image | relative_url }}" width="800" height="425" alt="{{ post.title }}">
|
8
|
+
</a>
|
9
|
+
</div>
|
10
|
+
<div class="col-12">
|
11
|
+
<h3 class="h3-mktg h3-alt-mktg mb-12px">
|
12
|
+
<a href="{{ post.url | relative_url }}">{{ post.title }}</a>
|
13
|
+
</h3>
|
14
|
+
<div class="f4-mktg color-fg-muted">{{ excerpt }}</div>
|
15
|
+
<div class="mt-14px">
|
16
|
+
{%- if post.author %}
|
17
|
+
<span class="mr-3 mr-12px mt-1 f5-mktg text-bold">{{ post.author }}</span>
|
18
|
+
{%- endif %}
|
19
|
+
<span class="d-inline-block f5-mktg text-mono color-fg-muted mt-1">{{ post.date | date: "%b %d, %Y"}}</span>
|
20
|
+
</div>
|
21
|
+
</div>
|
22
|
+
</div>
|
@@ -0,0 +1,12 @@
|
|
1
|
+
{%- assign excerpt = post.description | default: post.excerpt %}
|
2
|
+
<div class="py-4 d-flex flex-column tease-border">
|
3
|
+
<div class="col-12">
|
4
|
+
<h3 class="h6-mktg mb-2">
|
5
|
+
<a href="{{ post.url | relative_url }}">{{ post.title }}</a>
|
6
|
+
</h3>
|
7
|
+
<div class="f4-mktg color-fg-muted">{{ excerpt }}</div>
|
8
|
+
<div class="mt-12px">
|
9
|
+
<span class="mr-3 mr-12px mt-1 f5-mktg text-bold">{{ post.author }}</span>
|
10
|
+
</div>
|
11
|
+
</div>
|
12
|
+
</div>
|
@@ -0,0 +1,38 @@
|
|
1
|
+
---
|
2
|
+
layout: page
|
3
|
+
title: Category
|
4
|
+
---
|
5
|
+
{% assign categories = page.categories | default: site.categories %}
|
6
|
+
{% assign category_path = page.category_path | default: site.category_path %}
|
7
|
+
<h1 class="h3-mktg mt-4 mb-6 mb-md-8">{{ page.title }}</h1>
|
8
|
+
|
9
|
+
{% for category in categories %}
|
10
|
+
<h2 class="h6-mktg section-heading">{{ category | first | capitalize }}</h2>
|
11
|
+
{%- if category[1].size == 1 %}
|
12
|
+
{%- assign image_class="col-12" %}
|
13
|
+
{%- assign text_class="" %}
|
14
|
+
{% else %}
|
15
|
+
{%- assign image_class="col-md-7 col-xl-9" %}
|
16
|
+
{%- assign text_class="col-md-5 col-xl-3" %}
|
17
|
+
{%- endif %}
|
18
|
+
<div class="d-flex flex-wrap gutter-spacious {% cycle '', 'flex-row-reverse' %}">
|
19
|
+
{% for post in category[1] limit: 3 %}
|
20
|
+
{%- if forloop.first %}
|
21
|
+
<div class="{{ image_class }}">
|
22
|
+
{%- include post-tease-image-card.html %}
|
23
|
+
</div>
|
24
|
+
<div class="{{ text_class }}">
|
25
|
+
{%- else %}
|
26
|
+
{%- include post-tease-text-card.html %}
|
27
|
+
{%- endif %}
|
28
|
+
{% endfor %}
|
29
|
+
{%- if category[1].size > 3 %}
|
30
|
+
{%- capture category_link %}/{{ category_path }}/{{ category | first | jekyll_tagging_slug }}{%
|
31
|
+
endcapture %}
|
32
|
+
<div>
|
33
|
+
<a href="{{ category_link }}" class="btn">More</a>
|
34
|
+
</div>
|
35
|
+
{%- endif %}
|
36
|
+
</div>
|
37
|
+
</div>
|
38
|
+
{% endfor %}
|
@@ -1,3 +1,56 @@
|
|
1
1
|
---
|
2
|
-
layout:
|
2
|
+
layout: page
|
3
3
|
---
|
4
|
+
{% if page.paginator %}
|
5
|
+
<!-- Pagination is active -->
|
6
|
+
{% assign paginator = page.paginator %}
|
7
|
+
{% endif %}
|
8
|
+
|
9
|
+
{% if paginator %}
|
10
|
+
|
11
|
+
{% if paginator.previous_page != nil or paginator.next_page != nil %}
|
12
|
+
<!-- Show page number if we have multiple pages -->
|
13
|
+
<p class="f4-mktg color-text-tertiary mt-4 mt-md-7 mb-0">Category {{ paginator.page }} / {{ paginator.total_pages }}</p>
|
14
|
+
<h1 class="pb-5 mt-0">{{ page.title | capitalize }}</h1>
|
15
|
+
{% else %}
|
16
|
+
<!-- No page number if we only have a single page -->
|
17
|
+
<p class="f4-mktg color-text-tertiary mt-4 mt-md-7 mb-0">Category</p>
|
18
|
+
<h1 class="pb-5 mt-0">{{ page.title | capitalize }}</h1>
|
19
|
+
{% endif %}
|
20
|
+
|
21
|
+
<div class="d-flex flex-wrap gutter-spacious">
|
22
|
+
<!-- Show post excerpts for the current page -->
|
23
|
+
{% for post in paginator.posts limit:paginator.per_page %}
|
24
|
+
{%- if post.feature or post == site.categories[page.title][0] %}
|
25
|
+
{%- include post-feature-card.html %}
|
26
|
+
{%- else %}
|
27
|
+
{%- include post-card.html border="border-top" %}
|
28
|
+
{%- endif %}
|
29
|
+
{% endfor %}
|
30
|
+
</div>
|
31
|
+
<!-- Show navigation next/previous page links if applicable -->
|
32
|
+
<nav><p>
|
33
|
+
{% if paginator.previous_page %}<a class="previous_page" rel="prev" href="{{ paginator.previous_page_path | relative_url }}"
|
34
|
+
aria-disabled="false">Previous</a>{% endif %}
|
35
|
+
{% if paginator.next_page %}<a class="next_page" rel="next" href="{{ paginator.next_page_path | relative_url }}"
|
36
|
+
aria-disabled="false">Next</a>{% endif %}
|
37
|
+
</p></nav>
|
38
|
+
|
39
|
+
{% else %}
|
40
|
+
|
41
|
+
<!-- Pagination is not active -->
|
42
|
+
<p class="f4-mktg color-text-tertiary mt-4 mt-md-7 mb-0">Category</p>
|
43
|
+
<h1 class="pb-5 mt-0">{{ page.title | capitalize }}</h1>
|
44
|
+
|
45
|
+
<div class="d-flex flex-wrap gutter-spacious">
|
46
|
+
<!-- Show excerpts for all posts in this category -->
|
47
|
+
{% for post in page.posts %}
|
48
|
+
{%- if post.feature %}
|
49
|
+
{%- include post-feature-card.html %}
|
50
|
+
{%- else %}
|
51
|
+
{%- include post-card.html border="border-top" %}
|
52
|
+
{%- endif %}
|
53
|
+
{% endfor %}
|
54
|
+
</div>
|
55
|
+
|
56
|
+
{% endif %}
|
data/_layouts/default.html
CHANGED
@@ -2,18 +2,23 @@
|
|
2
2
|
{%- assign user = site.github.owner %}
|
3
3
|
{%- assign name = site.title | default: user.name | default: user.login %}
|
4
4
|
{%- assign user_img = site.user_image | default: user.avatar_url %}
|
5
|
+
{%- assign light_theme = site.light_theme | default: "light" %}
|
6
|
+
{%- assign dark_theme = site.dark_theme | default: "dark_dimmed" %}
|
5
7
|
<!doctype html>
|
6
|
-
<html lang="en" data-color-mode="auto" data-light-theme="
|
8
|
+
<html lang="en" data-color-mode="auto" data-light-theme="{{ light_theme }}" data-dark-theme="{{ dark_theme }}">
|
7
9
|
|
8
10
|
{%- include head.html %}
|
9
11
|
|
10
12
|
<body class="min-height-full d-flex flex-column">
|
11
13
|
{%- if style == 'topbar' %}
|
12
14
|
{% include header-topbar.html %}
|
15
|
+
<div class="d-lg-flex flex-1">
|
13
16
|
{%- elsif style == 'appbar' %}
|
14
17
|
{% include header-appbar.html %}
|
18
|
+
<div class="d-lg-flex flex-1">
|
15
19
|
{%- elsif style == 'stacked' %}
|
16
20
|
{% include header-stacked.html %}
|
21
|
+
<div class="d-lg-flex flex-1">
|
17
22
|
{%- elsif style == 'sidebar' %}
|
18
23
|
<div class="d-lg-flex flex-1">
|
19
24
|
{% include header-sidebar.html %}
|
@@ -21,9 +26,7 @@
|
|
21
26
|
|
22
27
|
{{ content }}
|
23
28
|
|
24
|
-
{%- if style == 'sidebar' %}
|
25
29
|
</div>
|
26
|
-
{%- endif %}
|
27
30
|
|
28
31
|
{%- include footer.html %}
|
29
32
|
</body>
|
data/_layouts/docs.html
CHANGED
@@ -8,10 +8,14 @@ Docs utilize collections to display content
|
|
8
8
|
{% endcomment %}
|
9
9
|
{%- assign collection_name = page.collection | default: "docs" %}
|
10
10
|
{%- assign docs = site[collection_name]%}
|
11
|
-
{%- assign docs_name = page.
|
11
|
+
{%- assign docs_name = page.title | default: "Documentation" %}
|
12
12
|
{%- assign index_url = collection_name | prepend: "/" | append: "/index.html" %}
|
13
|
-
{%-
|
14
|
-
|
13
|
+
{%- for doc in docs %}
|
14
|
+
{%- if doc.url == index_url %}
|
15
|
+
{%- assign docs_index = doc %}
|
16
|
+
{%- break %}
|
17
|
+
{%- endif %}
|
18
|
+
{%- endfor %}
|
15
19
|
|
16
20
|
<script>
|
17
21
|
$(document).ready(function () {
|
@@ -28,25 +32,25 @@ Docs utilize collections to display content
|
|
28
32
|
<div class="px-4 pb-3 border-bottom">
|
29
33
|
<div class="mt-3">
|
30
34
|
{% if docs_index %}
|
31
|
-
<a class="d-block pl-1 mb-2 h3 color-fg-default no-underline" href="{{
|
32
|
-
{{
|
35
|
+
<a class="d-block pl-1 mb-2 h3 color-fg-default no-underline" href="{{ docs_index.url | relative_url }}">
|
36
|
+
{{ collection_name | capitalize }}
|
33
37
|
</a>
|
34
38
|
{% else %}
|
35
|
-
<h3 class="d-block pl-1 mb-2 h3 color-fg-default no-underline">{{
|
39
|
+
<h3 class="d-block pl-1 mb-2 h3 color-fg-default no-underline">{{ collection_name | capitalize }}</h3>
|
36
40
|
{% endif %}
|
37
41
|
</div>
|
38
42
|
</div>
|
39
43
|
<div class="">
|
40
44
|
<ul data-overflow-nav class="menu ActionList border-0">
|
41
45
|
{% for nav_item in docs %}
|
42
|
-
{%
|
46
|
+
{% unless nav_item.url == index_url %}
|
43
47
|
<a href="{{ nav_item.url | relative_url }}" class="ActionListItem-label no-underline">
|
44
48
|
<li class="menu-item ActionList-item border-0"
|
45
49
|
{% if page.url==nav_item.url %} aria-current="page" {% endif %}>
|
46
50
|
{{ nav_item.title }}
|
47
51
|
</li>
|
48
52
|
</a>
|
49
|
-
{%
|
53
|
+
{% endunless %}
|
50
54
|
{% endfor %}
|
51
55
|
</ul>
|
52
56
|
</div>
|
@@ -87,10 +91,11 @@ Docs utilize collections to display content
|
|
87
91
|
</div>
|
88
92
|
</div>
|
89
93
|
<div class="col-12 col-md-4 markdown-body">
|
90
|
-
{%
|
94
|
+
{% capture page_toc %}{{ content | toc_only }}{% endcapture %}
|
95
|
+
{% if page_toc contains "</li>" %}
|
91
96
|
<div class="position-sticky top-12 ml-5 pb-5">
|
92
97
|
<h4 class="ml-3 mb-1">In this article</h4>
|
93
|
-
{{
|
98
|
+
{{ page_toc }}
|
94
99
|
</div>
|
95
100
|
{% endif %}
|
96
101
|
</div>
|
@@ -99,5 +104,5 @@ Docs utilize collections to display content
|
|
99
104
|
</div>
|
100
105
|
</div>
|
101
106
|
<div class="CollectionMenu d-none">
|
102
|
-
{% include collection-menu.html name=
|
107
|
+
{% include collection-menu.html name=collection_name collection=docs index=docs_index %}
|
103
108
|
</div>
|
data/_layouts/home.html
CHANGED
@@ -1,28 +1,4 @@
|
|
1
1
|
---
|
2
|
-
layout:
|
2
|
+
layout: profile
|
3
3
|
---
|
4
|
-
|
5
|
-
{%- assign posts_total = site.posts | size %}
|
6
|
-
{%- assign posts_limit = page.posts_limit | default: site.posts_limit | default: posts_total %}
|
7
|
-
|
8
|
-
{%- unless content == "" %}
|
9
|
-
{{ content }}
|
10
|
-
{%- endunless %}
|
11
|
-
|
12
|
-
{%- if site.links %}
|
13
|
-
<div class="container-md">
|
14
|
-
{%- include links.html %}
|
15
|
-
</div>
|
16
|
-
{%- endif %}
|
17
|
-
|
18
|
-
{%- unless posts_total == 0 %}
|
19
|
-
<h2 class="mb-3">Blog</h2>
|
20
|
-
{%- include post-timeline.html limit=posts_limit %}
|
21
|
-
{%- if site.posts.size > post_limit %}
|
22
|
-
{%- endif %}
|
23
|
-
{%- endunless %}
|
24
|
-
|
25
|
-
{%- if site.repositories %}
|
26
|
-
{%- include repositories.html %}
|
27
|
-
{%- endif %}
|
28
|
-
</div>
|
4
|
+
<!-- WARNING: Deprecated -- use layout: profile -->
|
data/_layouts/linktree.html
CHANGED
@@ -1,9 +1,15 @@
|
|
1
1
|
---
|
2
2
|
layout: default
|
3
3
|
---
|
4
|
+
{%- assign style = page.style | default: layout.style | default: site.style %}
|
4
5
|
<div class="flex-column flex-1 min-width-0 py-3">
|
5
|
-
|
6
|
-
|
6
|
+
<div class="d-flex mt-4 p-responsive container-md flex-row py-3 flex-justify-end">
|
7
|
+
<div class="d-flex flex-justify-center">
|
8
|
+
{% include toggle.html %}
|
9
|
+
</div>
|
10
|
+
</div>
|
11
|
+
{%- if style != "sidebar" and style != "stacked" %}
|
12
|
+
{%- include masthead.html class="CircleBadge--medium" %}
|
7
13
|
{%- endif %}
|
8
14
|
{%- unless content == "" %}
|
9
15
|
{{ content }}
|
data/_layouts/paginate.html
CHANGED
@@ -5,7 +5,7 @@ layout: page
|
|
5
5
|
<div class="d-flex flex-wrap gutter-spacious">
|
6
6
|
<!-- This loops through the paginated posts -->
|
7
7
|
{%- for post in paginator.posts %}
|
8
|
-
{%- if post.feature %}
|
8
|
+
{%- if post.feature or post == site.posts[0] %}
|
9
9
|
{%- include post-feature-card.html %}
|
10
10
|
{%- else %}
|
11
11
|
{%- include post-card.html border="border-top" %}
|
data/_layouts/post.html
CHANGED
@@ -5,119 +5,129 @@ layout: default
|
|
5
5
|
{%- assign name = page.author | default: user.name | default: user.login %}
|
6
6
|
{%- assign image = page.image | default: site.image %}
|
7
7
|
<div class="flex-column flex-1 min-width-0">
|
8
|
-
<div class="BlogHeader position-relative border-top">
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
<
|
8
|
+
<div class="BlogHeader position-relative border-top">
|
9
|
+
<div class="container-xl p-responsive">
|
10
|
+
<div class="gutter-spacious pt-1 ">
|
11
|
+
<div class="col-12 offset-lg-1 col-lg-10 col-xl-7 mt-5 mt-lg-10 mb-6 mb-lg-8">
|
12
|
+
<div class="h3-mktg lh-condensed mb-3 color-header-default">{{ page.title }}</div>
|
13
|
+
<p class="f4-mktg color-header-default">{{ page.description }}</p>
|
14
|
+
</div>
|
15
|
+
<div class="offset-lg-1 col-lg-10">
|
16
|
+
<div class="position-relative z-1">
|
17
|
+
{%- if page.video %}
|
18
|
+
<div id="Timeline-video-container" class="image-container">
|
19
|
+
<iframe id="Timeline-video" src="{{ page.video }}" frameborder="0" height="inherited"
|
20
|
+
width="inherited"></iframe>
|
21
|
+
</div>
|
22
|
+
{%- else %}
|
23
|
+
<div class="image-container">
|
24
|
+
<img src="{{ image | relative_url }}" class="cover-image rounded-2"
|
25
|
+
alt="{{ page.title }}" />
|
26
|
+
</div>
|
27
|
+
{%- endif %}
|
19
28
|
</div>
|
20
29
|
</div>
|
21
30
|
</div>
|
22
31
|
</div>
|
32
|
+
<div class="BlogContent position-absolute bottom-0 width-full border-top" style="height:88px">
|
33
|
+
</div>
|
23
34
|
</div>
|
24
|
-
<div class="BlogContent
|
25
|
-
|
26
|
-
|
27
|
-
<div class="
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
{{ page.date | date: "%b %d, %Y" }}
|
35
|
+
<div class="BlogContent pb-5">
|
36
|
+
<div class="container-xl mx-auto p-responsive">
|
37
|
+
<div class="gutter-spacious pt-5">
|
38
|
+
<div class="col-12 offset-lg-1 col-lg-10">
|
39
|
+
<div class="text-mono f5-mktg color-fg-muted mb-12px">Author</div>
|
40
|
+
<div class="d-flex flex-nowrap pb-1 flex-items-start">
|
41
|
+
<div class="d-flex flex-wrap">{{ name }}</div>
|
42
|
+
<div
|
43
|
+
class="d-block border-left flex-shrink-0 text-mono f5-mktg color-fg-muted mb-3 ml-auto pl-5">
|
44
|
+
{{ page.date | date: "%b %d, %Y" }}
|
45
|
+
</div>
|
36
46
|
</div>
|
47
|
+
<div class="color-border-accent-emphasis border-bottom"></div>
|
37
48
|
</div>
|
38
|
-
<div class="color-border-accent-emphasis border-bottom"></div>
|
39
49
|
</div>
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
</
|
55
|
-
</
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
</
|
67
|
-
</
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
</
|
79
|
-
</
|
80
|
-
</
|
81
|
-
</
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
{% for tag in page.tags %}
|
50
|
+
<div class="mx-auto p-responsive pt-4 pt-md-7 pb-7 pb-md-9">
|
51
|
+
<div class="d-flex flex-wrap gutter-spacious">
|
52
|
+
<div class="col-12 offset-lg-1 col-lg-1">
|
53
|
+
<ul class="list-style-none d-flex flex-lg-column position-sticky top-12">
|
54
|
+
<li class="mr-4 mr-lg-0 mb-4">
|
55
|
+
<a href="https://x.com/share?text={{ page.title | url_encode }}&url={{ page.url | absolute_url | url_encode }}"
|
56
|
+
target="_blank"
|
57
|
+
class="d-flex flex-justify-center flex-items-center border circle social-aside"
|
58
|
+
data-proofer-ignore>
|
59
|
+
<svg width="20" height="20" viewBox="0 0 1200 1227" fill="currentColor"
|
60
|
+
xmlns="http://www.w3.org/2000/svg">
|
61
|
+
<path
|
62
|
+
d="M714.163 519.284L1160.89 0H1055.03L667.137 450.887L357.328 0H0L468.492 681.821L0 1226.37H105.866L515.491 750.218L842.672 1226.37H1200L714.137 519.284H714.163ZM569.165 687.828L521.697 619.934L144.011 79.6944H306.615L611.412 515.685L658.88 583.579L1055.08 1150.3H892.476L569.165 687.854V687.828Z" />
|
63
|
+
</svg>
|
64
|
+
</a>
|
65
|
+
</li>
|
66
|
+
<li class="mr-4 mr-lg-0 mb-4">
|
67
|
+
<a href="https://www.facebook.com/sharer/sharer.php?u={{ page.url | absolute_url | url_encode }};t={{ page.title | url_encode }}"
|
68
|
+
target="_blank"
|
69
|
+
class="d-flex flex-justify-center flex-items-center border circle social-aside"
|
70
|
+
data-proofer-ignore>
|
71
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.3 15.4" height="18">
|
72
|
+
<path
|
73
|
+
d="M14.5 0H.8a.88.88 0 0 0-.8.9v13.6a.88.88 0 0 0 .8.9h7.3v-6h-2V7.1h2V5.4a2.87 2.87 0 0 1 2.5-3.1h.5a10.87 10.87 0 0 1 1.8.1v2.1h-1.3c-1 0-1.1.5-1.1 1.1v1.5h2.3l-.3 2.3h-2v5.9h3.9a.88.88 0 0 0 .9-.8V.8a.86.86 0 0 0-.8-.8z"
|
74
|
+
fill="currentColor"></path>
|
75
|
+
</svg>
|
76
|
+
</a>
|
77
|
+
</li>
|
78
|
+
<li class="mr-4 mr-lg-0 mb-4">
|
79
|
+
<a href="https://www.linkedin.com/shareArticle?url={{ page.url | absolute_url | url_encode }}%2F&title={{ page.title | url_encode }}"
|
80
|
+
target="_blank"
|
81
|
+
class="d-flex flex-justify-center flex-items-center border circle social-aside"
|
82
|
+
data-proofer-ignore>
|
83
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19 18" height="18">
|
84
|
+
<path
|
85
|
+
d="M3.94 2A2 2 0 1 1 2 0a2 2 0 0 1 1.94 2zM4 5.48H0V18h4zm6.32 0H6.34V18h3.94v-6.57c0-3.66 4.77-4 4.77 0V18H19v-7.93c0-6.17-7.06-5.94-8.72-2.91z"
|
86
|
+
fill="currentColor"></path>
|
87
|
+
</svg>
|
88
|
+
</a>
|
89
|
+
</li>
|
90
|
+
</ul>
|
91
|
+
</div>
|
92
|
+
<div class="col-12 col-lg-7 col-md-8 markdown-body">
|
93
|
+
{{ content }}
|
94
|
+
{%- if page.tags.size > 0 and site.tag_page_dir %}
|
95
|
+
<div class="post-tags text-mono f4-mktg mt-8">
|
96
|
+
<span class="post-tags-label flex-shrink-0 d-inline-block mt-2">Tags: </span>
|
97
|
+
<ul class="d-inline-block list-style-none color-text-link mb-0">
|
98
|
+
{% for tag in page.tags %}
|
90
99
|
{%- if site.tag_page_dir -%}
|
91
|
-
|
100
|
+
{%- capture tag_link %}/{{site.tag_page_dir}}/{{ tag | jekyll_tagging_slug }}{%
|
101
|
+
endcapture %}
|
92
102
|
{%- else -%}
|
93
103
|
{%- capture tag_link %}{{site.tag_archive_path}}{{ tag | slugify }}{% endcapture %}
|
94
104
|
{%- endif -%}
|
95
|
-
|
96
|
-
|
97
|
-
|
105
|
+
<li class="d-inline-block mt-2 mb-0"><a href="{{ tag_link }}">{{ tag }}</a></li>
|
106
|
+
{% endfor %}
|
107
|
+
</ul>
|
108
|
+
</div>
|
109
|
+
{%- endif %}
|
98
110
|
</div>
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
{{ toc_content }}
|
111
|
+
<div class="col-12 col-md-4 col-lg-3 markdown-body">
|
112
|
+
<div class="d-none d-md-block position-sticky top-12">
|
113
|
+
{%- capture toc_content%}{{ content | toc_only }}{% endcapture %}
|
114
|
+
{%- if toc_content contains "toc-entry" %}
|
115
|
+
<div class="mb-8 table-of-contents ">
|
116
|
+
<h2 class="h6-mktg pt-1">
|
117
|
+
Table of Contents
|
118
|
+
</h2>
|
119
|
+
<div id="table-of-contents">
|
120
|
+
{{ toc_content }}
|
121
|
+
</div>
|
111
122
|
</div>
|
123
|
+
{%- endif %}
|
112
124
|
</div>
|
113
|
-
{%- endif %}
|
114
125
|
</div>
|
115
126
|
</div>
|
116
127
|
</div>
|
117
128
|
</div>
|
129
|
+
<div class="Related container-xl mx-auto p-responsive markdown-body">
|
130
|
+
{% include related.html %}
|
131
|
+
</div>
|
118
132
|
</div>
|
119
|
-
<div class="Related container-xl mx-auto p-responsive markdown-body">
|
120
|
-
{% include related.html %}
|
121
|
-
</div>
|
122
|
-
</div>
|
123
133
|
</div>
|
data/_layouts/profile.html
CHANGED
@@ -1,11 +1,14 @@
|
|
1
1
|
---
|
2
2
|
layout: page
|
3
3
|
---
|
4
|
-
|
4
|
+
{%- assign style = page.style | default: layout.style | default: site.style %}
|
5
|
+
<div class="Profile d-lg-flex flex-justify-center gutter">
|
6
|
+
{%- if style != "sidebar" and style != "stacked" %}
|
5
7
|
<div class="col-lg-4 border-gray-light pt-6 text-center">
|
6
8
|
{%- include masthead.html %}
|
7
9
|
{%- include social.html %}
|
8
10
|
</div>
|
11
|
+
{%- endif %}
|
9
12
|
|
10
13
|
<div class="col-lg-8 border-top border-lg-top-0 color-bg-default">
|
11
14
|
<div class="py-6">
|
@@ -0,0 +1,35 @@
|
|
1
|
+
---
|
2
|
+
title: Tags
|
3
|
+
layout: page
|
4
|
+
---
|
5
|
+
{% assign max_posts = page.max_posts | default: 6 %}
|
6
|
+
<h1 class="h3-mktg mt-4 mb-6 mb-md-8">{{ page.title }}</h1>
|
7
|
+
|
8
|
+
{% for tag in site.tags %}
|
9
|
+
<h2 class="h6-mktg section-heading">{{ tag[0] | capitalize }}</h2>
|
10
|
+
<div class="d-flex flex-wrap gutter-spacious">
|
11
|
+
{% for post in tag[1] limit: max_posts %}
|
12
|
+
{%- include post-card.html %}
|
13
|
+
{% endfor %}
|
14
|
+
{% if tag[1].size > max_posts %}
|
15
|
+
{%- if site.tag_page_dir -%}
|
16
|
+
{%- capture tag_link %}/{{ site.tag_page_dir }}/{{ tag | first | jekyll_tagging_slug }}{%
|
17
|
+
endcapture %}
|
18
|
+
{%- else -%}
|
19
|
+
{%- capture tag_link %}{{site.tag_archive_path}}{{ tag | first | slugify }}{% endcapture %}
|
20
|
+
{%- endif -%}
|
21
|
+
<div class="px-4">
|
22
|
+
<a href="{{ tag_link }}" class="link-mktg arrow-target-mktg text-semibold f4-mktg">
|
23
|
+
More
|
24
|
+
<svg xmlns="http://www.w3.org/2000/svg" class="octicon arrow-symbol-mktg" width="16" height="16"
|
25
|
+
viewBox="0 0 16 16" fill="none">
|
26
|
+
<path fill="currentColor"
|
27
|
+
d="M7.28033 3.21967C6.98744 2.92678 6.51256 2.92678 6.21967 3.21967C5.92678 3.51256 5.92678 3.98744 6.21967 4.28033L7.28033 3.21967ZM11 8L11.5303 8.53033C11.8232 8.23744 11.8232 7.76256 11.5303 7.46967L11 8ZM6.21967 11.7197C5.92678 12.0126 5.92678 12.4874 6.21967 12.7803C6.51256 13.0732 6.98744 13.0732 7.28033 12.7803L6.21967 11.7197ZM6.21967 4.28033L10.4697 8.53033L11.5303 7.46967L7.28033 3.21967L6.21967 4.28033ZM10.4697 7.46967L6.21967 11.7197L7.28033 12.7803L11.5303 8.53033L10.4697 7.46967Z">
|
28
|
+
</path>
|
29
|
+
<path stroke="currentColor" d="M1.75 8H11" stroke-width="1.5" stroke-linecap="round"></path>
|
30
|
+
</svg>
|
31
|
+
</a>
|
32
|
+
</div>
|
33
|
+
{%- endif %}
|
34
|
+
</div>
|
35
|
+
{% endfor %}
|
data/_layouts/tags.html
CHANGED
@@ -6,7 +6,7 @@ layout: page
|
|
6
6
|
|
7
7
|
<div class="d-flex flex-wrap gutter-spacious">
|
8
8
|
{% for post in page.posts %}
|
9
|
-
{%- if post.feature %}
|
9
|
+
{%- if post.feature or forloop.first %}
|
10
10
|
{%- include post-feature-card.html %}
|
11
11
|
{%- else %}
|
12
12
|
{%- include post-card.html border="border-top" %}
|
data/_sass/_main.scss
CHANGED
@@ -169,6 +169,13 @@
|
|
169
169
|
color: var(--color-primer-border-active);
|
170
170
|
}
|
171
171
|
|
172
|
+
.section-heading {
|
173
|
+
border-top: 5px solid var(--color-fg-default);
|
174
|
+
border-bottom: 1px solid var(--color-border-muted);
|
175
|
+
padding-top: 7px !important;
|
176
|
+
padding-bottom: 11px !important;
|
177
|
+
}
|
178
|
+
|
172
179
|
.post-tags::before {
|
173
180
|
content: "";
|
174
181
|
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: 1.
|
4
|
+
version: 1.9.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:
|
11
|
+
date: 2024-08-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -30,6 +30,20 @@ dependencies:
|
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: '5.0'
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: csv
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - "~>"
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: 3.3.0
|
40
|
+
type: :runtime
|
41
|
+
prerelease: false
|
42
|
+
version_requirements: !ruby/object:Gem::Requirement
|
43
|
+
requirements:
|
44
|
+
- - "~>"
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: 3.3.0
|
33
47
|
- !ruby/object:Gem::Dependency
|
34
48
|
name: jekyll-github-metadata
|
35
49
|
requirement: !ruby/object:Gem::Requirement
|
@@ -121,7 +135,6 @@ executables: []
|
|
121
135
|
extensions: []
|
122
136
|
extra_rdoc_files: []
|
123
137
|
files:
|
124
|
-
- LICENSE.txt
|
125
138
|
- README.md
|
126
139
|
- _includes/breadcrumbs.html
|
127
140
|
- _includes/collection-menu.html
|
@@ -140,6 +153,8 @@ files:
|
|
140
153
|
- _includes/navbar-underline.html
|
141
154
|
- _includes/post-card.html
|
142
155
|
- _includes/post-feature-card.html
|
156
|
+
- _includes/post-tease-image-card.html
|
157
|
+
- _includes/post-tease-text-card.html
|
143
158
|
- _includes/post-timeline-card.html
|
144
159
|
- _includes/post-timeline.html
|
145
160
|
- _includes/posts.html
|
@@ -149,6 +164,7 @@ files:
|
|
149
164
|
- _includes/social.html
|
150
165
|
- _includes/toggle.html
|
151
166
|
- _includes/user-metadata.html
|
167
|
+
- _layouts/category_index.html
|
152
168
|
- _layouts/category_layout.html
|
153
169
|
- _layouts/default.html
|
154
170
|
- _layouts/docs.html
|
@@ -160,6 +176,7 @@ files:
|
|
160
176
|
- _layouts/post.html
|
161
177
|
- _layouts/profile.html
|
162
178
|
- _layouts/repositories.html
|
179
|
+
- _layouts/tag_index.html
|
163
180
|
- _layouts/tags.html
|
164
181
|
- _sass/_highlight-syntax.scss
|
165
182
|
- _sass/_language-colors.scss
|
data/LICENSE.txt
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
The MIT License (MIT)
|
2
|
-
|
3
|
-
Copyright (c) 2023 Allison Thackston
|
4
|
-
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
7
|
-
in the Software without restriction, including without limitation the rights
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
10
|
-
furnished to do so, subject to the following conditions:
|
11
|
-
|
12
|
-
The above copyright notice and this permission notice shall be included in
|
13
|
-
all copies or substantial portions of the Software.
|
14
|
-
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
-
THE SOFTWARE.
|