jekyll-theme-profile 1.9.0 → 1.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_config.yml +144 -0
- data/_includes/collection-menu.html +24 -11
- data/_includes/link-card.html +3 -0
- data/_includes/post-gallery.html +45 -0
- data/_includes/post-index.html +28 -0
- data/_includes/post-tease-text-card.html +1 -1
- data/_includes/post-timeline-card.html +26 -25
- data/_includes/post-timeline.html +19 -10
- data/_includes/repositories.html +2 -0
- data/_layouts/category_index.html +11 -32
- data/_layouts/docs.html +23 -20
- data/_layouts/linktree.html +8 -5
- data/_layouts/paginate_timeline.html +41 -0
- data/_layouts/profile.html +1 -3
- data/_layouts/tag_index.html +11 -29
- data/_sass/jekyll-theme-profile.scss +5 -4
- data/assets/css/theme.scss +2 -2
- data/assets/img/blog-post-icon.png +0 -0
- data/assets/img/category-icon.png +0 -0
- data/assets/img/user-image.jpg +0 -0
- metadata +14 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1f8cc59151f896025fdc45d90b5cbfc6c6093070bf8cf45161606e275d6f4dc9
|
4
|
+
data.tar.gz: 9a9307ad9ded9450fa3854c92b3d005f6ea4c8e2ffaa5bb525932cd71fb8deff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 47da1253dba00f0e9e6be2ac3aa3bbb12fc67c677d94cd3f99c34d29bca2dd3bd36469dbe01f6db8716508258220ed44c88b6e3f186cb59af14c659e30a2f2b1
|
7
|
+
data.tar.gz: '09a4bb3c0c1a596fd25c95c3ef55a33a5f7353995aa9605091953f37cf8661ed6e6eb683b2f22d83291cfb1889075bdfacc400208e59115c6b47af9464da7e03'
|
data/_config.yml
ADDED
@@ -0,0 +1,144 @@
|
|
1
|
+
# ######## Jekyll Site Settings ##########
|
2
|
+
theme: jekyll-theme-profile
|
3
|
+
title: Jekyll Theme Profile
|
4
|
+
description: Theme built with jekyll-theme-profile
|
5
|
+
image: /media/appbar-preview.png
|
6
|
+
# repository: athackst/jekyll-theme-profile
|
7
|
+
# base_url: "jekyll-theme-profile"
|
8
|
+
|
9
|
+
collections:
|
10
|
+
docs:
|
11
|
+
output: true
|
12
|
+
sort_by: order
|
13
|
+
|
14
|
+
defaults:
|
15
|
+
- scope:
|
16
|
+
path: "" # an empty string here means all files in the project
|
17
|
+
type: "posts"
|
18
|
+
values:
|
19
|
+
image: /assets/img/default.png # The default image used for social and posts.
|
20
|
+
layout: "post"
|
21
|
+
permalink: :year/:month/:day/:title:output_ext
|
22
|
+
toc: true
|
23
|
+
- scope:
|
24
|
+
path: "" # an empty string here means all files in the project
|
25
|
+
type: "docs"
|
26
|
+
values:
|
27
|
+
layout: "docs"
|
28
|
+
image: /assets/img/default.png # The default image used for social and posts.
|
29
|
+
index: /docs/index.html
|
30
|
+
permalink: /docs/:path:output_ext
|
31
|
+
toc: true
|
32
|
+
|
33
|
+
# ########### Theme settings ###############
|
34
|
+
# The style of the website
|
35
|
+
style: appbar # One of "stacked", "sidebar", "topbar", "appbar"
|
36
|
+
# The user/project avatar. If not set the avatar of the project owner will be used.
|
37
|
+
# user_image: /assets/img/user-image.jpg
|
38
|
+
# The themes to use for dark and light
|
39
|
+
dark_theme: dark_dimmed
|
40
|
+
light_theme: light
|
41
|
+
|
42
|
+
repo_info: true # Show the information for the source of this project
|
43
|
+
user_metadata: true # Show the metadata associated with the user
|
44
|
+
profile_link: true # Show a link to the github profile for the user
|
45
|
+
|
46
|
+
##########################
|
47
|
+
# # Social media settings
|
48
|
+
# icon_color: "#959da5" # The color of the social media icons on the site
|
49
|
+
# social_media: # Your social media accounts
|
50
|
+
# behance: your_username
|
51
|
+
# dribbble: your_username
|
52
|
+
# docker: your_username
|
53
|
+
# facebook: your_username
|
54
|
+
# github: your_username
|
55
|
+
# hackerrank: your_username
|
56
|
+
# instagram: your_username
|
57
|
+
# keybase: your_username
|
58
|
+
# linkedin: your_username
|
59
|
+
# mail: email@address
|
60
|
+
# mastodon: your_username
|
61
|
+
# medium: your_username
|
62
|
+
# stackoverflow: your_user_id
|
63
|
+
# telegram: your_username
|
64
|
+
# threads: your_username
|
65
|
+
# tiktok: your_username
|
66
|
+
# twitter: your_username
|
67
|
+
# unsplash: your_username
|
68
|
+
# vk: your_username
|
69
|
+
# vscode: your_username
|
70
|
+
# youtube: your_username
|
71
|
+
# x: your_username
|
72
|
+
|
73
|
+
####################
|
74
|
+
# Navigation links
|
75
|
+
nav:
|
76
|
+
- name: Posts
|
77
|
+
url: /blog
|
78
|
+
- name: Categories
|
79
|
+
url: /category/
|
80
|
+
|
81
|
+
####################
|
82
|
+
# List of links for link cards
|
83
|
+
links:
|
84
|
+
- name: All blog posts
|
85
|
+
url: /blog
|
86
|
+
thumbnail: /assets/img/blog-post-icon.png
|
87
|
+
- name: Browse by category
|
88
|
+
url: /category/
|
89
|
+
thumbnail: /assets/img/category-icon.png
|
90
|
+
|
91
|
+
###################
|
92
|
+
# Repositories to show on home page
|
93
|
+
repositories:
|
94
|
+
sort_by: stars
|
95
|
+
# sort_by options:
|
96
|
+
# - pushed
|
97
|
+
# - stars
|
98
|
+
limit: 24
|
99
|
+
exclude:
|
100
|
+
archived: true
|
101
|
+
forks: true
|
102
|
+
repositories:
|
103
|
+
# - list of respositories to exclude
|
104
|
+
|
105
|
+
########################
|
106
|
+
# Post timeline
|
107
|
+
posts_limit: 3 # The number of posts to show in home (also can be defined in page)
|
108
|
+
|
109
|
+
# ########### Plugin settings ###############
|
110
|
+
plugins:
|
111
|
+
- jekyll-github-metadata
|
112
|
+
- jekyll-octicons
|
113
|
+
- jekyll-relative-links
|
114
|
+
- jekyll-seo-tag
|
115
|
+
- jekyll-toc
|
116
|
+
- jemoji
|
117
|
+
|
118
|
+
####################
|
119
|
+
# jekyll-paginate settings
|
120
|
+
paginate: 6 # The number of posts to show per page of pagination of blog posts
|
121
|
+
paginate_path: "/blog/page:num"
|
122
|
+
###################
|
123
|
+
# jekyll-tagging settings
|
124
|
+
# Include `gem jekyll-tagging` in your gemfile
|
125
|
+
tag_page_layout: tags
|
126
|
+
tag_page_dir: tags
|
127
|
+
# related
|
128
|
+
related_by: "tags or categories"
|
129
|
+
|
130
|
+
####################
|
131
|
+
# jekyll-category-pages settings
|
132
|
+
category_path: category
|
133
|
+
category_layout: category_layout.html
|
134
|
+
|
135
|
+
######################
|
136
|
+
# jekyll-relative-links settings
|
137
|
+
relative_links:
|
138
|
+
enabled: true
|
139
|
+
collections: true
|
140
|
+
|
141
|
+
# ########### Build settings ###############
|
142
|
+
exclude:
|
143
|
+
- spec
|
144
|
+
- demo
|
@@ -1,13 +1,17 @@
|
|
1
1
|
{%- assign collection = include.collection | default: site.docs %}
|
2
2
|
{%- assign collection_name = include.name %}
|
3
3
|
{%- assign collection_index = include.index %}
|
4
|
+
{%- assign index_url = collection_index.url %}
|
5
|
+
{%- assign collection_without_index = collection | where_exp: "item", "item.url != index_url" %}
|
6
|
+
|
4
7
|
<div class="Overlay-backdrop--side Overlay-backdrop--placement-left" data-modal-dialog-overlay>
|
5
|
-
<modal-dialog class="Overlay Overlay--width-medium Overlay--motion-slideDown height-fit height-full"
|
8
|
+
<modal-dialog class="Overlay Overlay--width-medium Overlay--motion-slideDown height-fit height-full">
|
6
9
|
<div class="Overlay-headerContentWrap d-flex flex-row py-3 px-2 border-bottom">
|
7
10
|
<div class="Overlay-titleWrap d-flex flex-1">
|
8
11
|
<div tabindex="-1" class="d-flex flex-1 ml-3" id="github-logo">
|
9
12
|
{% if collection_index %}
|
10
|
-
<a href="{{ collection_index.url | relative_url }}"
|
13
|
+
<a href="{{ collection_index.url | relative_url }}"
|
14
|
+
class="AppHeader-link d-flex flex-items-center no-underline mr-3">
|
11
15
|
<span class="h3 color-fg-default text-bold">{{ collection_name }}</span>
|
12
16
|
</a>
|
13
17
|
{% else %}
|
@@ -17,7 +21,7 @@
|
|
17
21
|
{% endif %}
|
18
22
|
</div>
|
19
23
|
</div>
|
20
|
-
<div class="Overlay-actionWrap d-flex flex-justify-end"
|
24
|
+
<div class="Overlay-actionWrap d-flex flex-justify-end">
|
21
25
|
<button id="close-contents-btn" class="close-button Overlay-closeButton">
|
22
26
|
{% octicon x height: 16 %}
|
23
27
|
</button>
|
@@ -25,14 +29,23 @@
|
|
25
29
|
</div>
|
26
30
|
<div class="Overlay-body d-flex flex-column p-2">
|
27
31
|
<ul data-overflow-nav class="ActionList border-0">
|
28
|
-
{%-
|
29
|
-
{%-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
32
|
+
{%- assign collection_categories = collection_without_index | group_by: "category" %}
|
33
|
+
{%- for category in collection_categories %}
|
34
|
+
{%- assign category_name = category.name | default: collection_name %}
|
35
|
+
<li class="ActionListItem no-underline h4">{{ category_name | capitalize }}
|
36
|
+
<ul>
|
37
|
+
{%- for nav_item in category.items %}
|
38
|
+
{%- if nav_item.url != collection_index %}
|
39
|
+
<a href="{{ nav_item.url | relative_url }}" class="ActionListItem-label no-underline">
|
40
|
+
<li class="menu-item ActionList-item border-0" {% if page.url==nav_item.url %}
|
41
|
+
aria-current="page" {% endif %}>
|
42
|
+
{{ nav_item.title }}
|
43
|
+
</li>
|
44
|
+
</a>
|
45
|
+
{%- endif %}
|
46
|
+
{%- endfor %}
|
47
|
+
</ul>
|
48
|
+
</li>
|
36
49
|
{%- endfor %}
|
37
50
|
</ul>
|
38
51
|
</div>
|
data/_includes/link-card.html
CHANGED
@@ -18,6 +18,9 @@ This builds a link card
|
|
18
18
|
<img src="{{ link.thumbnail | relative_url }}" width="48" height="48"
|
19
19
|
class="rounded-2 box-shadow-none img-cover float-left" alt="{{ link.name }}">
|
20
20
|
{%- endif %}
|
21
|
+
{%- if link.octicon %}
|
22
|
+
{% octicon {{ link.octicon }} height:48 %}
|
23
|
+
{%- endif %}
|
21
24
|
</div>
|
22
25
|
<div class="p-2">
|
23
26
|
<p class="f3 text-center mb-0">{{ link.name }}</p>
|
@@ -0,0 +1,45 @@
|
|
1
|
+
{%- assign collection = include.collection %}
|
2
|
+
{%- assign collection_permalink = include.collection_permalink | default: ':name' %}
|
3
|
+
{%- assign replace_value = include.replace_value | default: ':name' %}
|
4
|
+
{%- assign per_section = include.per_section | default: 3 %}
|
5
|
+
|
6
|
+
{%- for section in collection %}
|
7
|
+
{%- assign section_name = section | first %}
|
8
|
+
{%- assign section_slug = section_name | slugify %}
|
9
|
+
{%- assign section_posts = section | last %}
|
10
|
+
<div class="section-heading d-flex flex-items-center flex-justify-between mb-4 mb-lg-7">
|
11
|
+
<h2 class="h6-mktg border-bottom-0">{{ section_name | capitalize }}</h2>
|
12
|
+
{%- if section_posts.size > per_section %}
|
13
|
+
<div class="d-none d-lg-flex flex-items-center">
|
14
|
+
<a href="{{ collection_permalink | replace: replace_value, section_slug | relative_url }}" class="Link--primary arrow-target-mktg text-semibold">View all {% octicon chevron-right height:16 %}</a>
|
15
|
+
</div>
|
16
|
+
{%- endif %}
|
17
|
+
</div>
|
18
|
+
{%- if section_posts.size == 1 %}
|
19
|
+
{%- assign image_class = "col-12" %}
|
20
|
+
{%- assign text_class = "" %}
|
21
|
+
{%- else %}
|
22
|
+
{%- assign image_class = "col-md-7 col-xl-9" %}
|
23
|
+
{%- assign text_class = "col-md-5 col-xl-3" %}
|
24
|
+
{%- endif %}
|
25
|
+
<div class="d-flex flex-wrap gutter-spacious {% cycle '', 'flex-row-reverse' %}">
|
26
|
+
{%- for post in section_posts limit: per_section %}
|
27
|
+
{%- if forloop.first %}
|
28
|
+
<div class="{{ image_class }}">
|
29
|
+
{% include post-tease-image-card.html %}
|
30
|
+
</div>
|
31
|
+
<div class="{{ text_class }}">
|
32
|
+
{%- else %}
|
33
|
+
<div class="{% unless forloop.last %}border-bottom{% endunless %}">
|
34
|
+
{% include post-tease-text-card.html %}
|
35
|
+
</div>
|
36
|
+
{%- endif %}
|
37
|
+
{%- endfor %}
|
38
|
+
</div>
|
39
|
+
</div>
|
40
|
+
{%- if section_posts.size > per_section %}
|
41
|
+
<div class="mb-7 mb-md-8 pt-5 text-right d-lg-none border-top">
|
42
|
+
<a href="{{ collection_permalink | replace: replace_value, section_slug | relative_url }}" class="Link--primary arrow-target-mktg text-semibold">View all {% octicon chevron-right height:16 %}</a>
|
43
|
+
</div>
|
44
|
+
{%- endif %}
|
45
|
+
{%- endfor %}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
{%- assign collection = include.collection %}
|
2
|
+
{%- assign collection_permalink = include.collection_permalink | default: ':name' %}
|
3
|
+
{%- assign replace_value = include.replace_value | default: ':name' %}
|
4
|
+
{%- assign per_section = include.per_section | default: 6 %}
|
5
|
+
|
6
|
+
{% for section in collection %}
|
7
|
+
{%- assign section_name = section | first %}
|
8
|
+
{%- assign section_slug = section_name | slugify %}
|
9
|
+
{%- assign section_posts = section | last %}
|
10
|
+
<div class="section-heading d-flex flex-items-center flex-justify-between mb-4 mb-lg-7">
|
11
|
+
<h2 class="h6-mktg border-bottom-0">{{ section_name | capitalize }}</h2>
|
12
|
+
{%- if section_posts.size > per_section %}
|
13
|
+
<div class="d-none d-lg-flex flex-items-center">
|
14
|
+
<a href="{{ collection_permalink | replace: replace_value, section_slug | relative_url }}" class="Link--primary arrow-target-mktg text-semibold">View all {% octicon chevron-right height:16 %}</a>
|
15
|
+
</div>
|
16
|
+
{%- endif %}
|
17
|
+
</div>
|
18
|
+
<div class="d-flex flex-wrap gutter-spacious mb-4">
|
19
|
+
{% for post in section_posts limit: per_section %}
|
20
|
+
{%- include post-card.html %}
|
21
|
+
{% endfor %}
|
22
|
+
</div>
|
23
|
+
{%- if section_posts.size > per_section %}
|
24
|
+
<div class="mb-7 mb-md-8 pt-5 text-right d-lg-none border-top">
|
25
|
+
<a href="{{ collection_permalink | replace: replace_value, section_slug | relative_url }}" class="Link--primary arrow-target-mktg text-semibold">View all {% octicon chevron-right height:16 %}</a>
|
26
|
+
</div>
|
27
|
+
{%- endif %}
|
28
|
+
{% endfor %}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
{%- assign excerpt = post.description | default: post.excerpt %}
|
2
|
-
<div class="py-4 d-flex flex-column
|
2
|
+
<div class="py-4 d-flex flex-column">
|
3
3
|
<div class="col-12">
|
4
4
|
<h3 class="h6-mktg mb-2">
|
5
5
|
<a href="{{ post.url | relative_url }}">{{ post.title }}</a>
|
@@ -20,31 +20,32 @@
|
|
20
20
|
</div>
|
21
21
|
</div>
|
22
22
|
<div class="col-12 col-md-7">
|
23
|
-
<div class="ml-5
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
<
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
<
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
23
|
+
<div class="pb-5 pt-0 py-md-7 ml-5 border-bottom">
|
24
|
+
{%- if post.video %}
|
25
|
+
<div id="Timeline-video-container" class="image-container">
|
26
|
+
<iframe id="Timeline-video" src="{{ post.video }}" frameborder="0" height="inherited"
|
27
|
+
width="inherited"></iframe>
|
28
|
+
</div>
|
29
|
+
{%- elsif post.image %}
|
30
|
+
<div class="image-container">
|
31
|
+
<img class="rounded-2" src="{{ post.image}}" width="800" height="425" alt="{{ post.title }}" />
|
32
|
+
</div>
|
33
|
+
{%- endif %}
|
34
|
+
<div class="summary"> {{ post.excerpt }}</div>
|
35
|
+
{%- if post.content != blank %}
|
36
|
+
<div class="more">
|
37
|
+
<a href="{{ post.url | relative_url }}" class="link-mktg arrow-target-mktg text-semibold f4-mktg">
|
38
|
+
Contiue
|
39
|
+
<svg xmlns="http://www.w3.org/2000/svg" class="octicon arrow-symbol-mktg" width="16" height="16"
|
40
|
+
viewBox="0 0 16 16" fill="none">
|
41
|
+
<path fill="currentColor"
|
42
|
+
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">
|
43
|
+
</path>
|
44
|
+
<path stroke="currentColor" d="M1.75 8H11" stroke-width="1.5" stroke-linecap="round"></path>
|
45
|
+
</svg>
|
46
|
+
</a>
|
47
|
+
</div>
|
48
|
+
{%- endif %}
|
48
49
|
</div>
|
49
50
|
|
50
51
|
</div>
|
@@ -1,12 +1,21 @@
|
|
1
|
-
{%- assign
|
1
|
+
{%- assign collection = include.collection | default: site.posts | sort: "date" | reverse %}
|
2
|
+
{%- assign index = include.index %}
|
3
|
+
{%- assign post_limit = include.limit | default: nil %}
|
2
4
|
|
3
|
-
<div class="mb-
|
4
|
-
|
5
|
-
|
6
|
-
|
5
|
+
<div class="mt-md-7 mb-9 mb-md-12">
|
6
|
+
<div class="container-xl mx-auto p-responsive-blog">
|
7
|
+
{%- for post in collection | limit: post_limit %}
|
8
|
+
{%- include post-timeline-card.html %}
|
9
|
+
{%- endfor %}
|
10
|
+
</div>
|
11
|
+
{%- if collection.size > post_limit %}
|
12
|
+
<div class="container-xl mx-auto p-responsive-blog mt-6 mt-md-8 ">
|
13
|
+
<div class="d-flex gutter-spacious">
|
14
|
+
<div class="col-12 col-md-7 offset-md-5">
|
15
|
+
<a href="{{ index | relative_url }}"
|
16
|
+
class="Link--primary arrow-target-mktg text-semibold btn ml-5">View all {% octicon chevron-right height:16 %}</a>
|
17
|
+
</div>
|
18
|
+
</div>
|
19
|
+
</div>
|
20
|
+
{%- endif %}
|
7
21
|
</div>
|
8
|
-
{%- if site.paginate %}
|
9
|
-
<div class="col-12 col-md-7 offset-md-5 mb-5">
|
10
|
-
<a href="{{ site.paginate_path | relative_url | replace: 'page:num', '' }}" class="btn ml-5">Read more</a>
|
11
|
-
</div>
|
12
|
-
{%- endif %}
|
data/_includes/repositories.html
CHANGED
@@ -5,6 +5,7 @@
|
|
5
5
|
{%- assign sort_order = 'pushed_at' %}
|
6
6
|
{%- endif %}
|
7
7
|
|
8
|
+
{%- if site.github.public_repositories.size > 0 %}
|
8
9
|
{%- if site.repositories.exclude.archived && site.repositories.exclude.forks %}
|
9
10
|
{%- assign filtered_repos = site.github.public_repositories | where:'archived', false | where:'fork', false | sort: sort_order | reverse %}
|
10
11
|
{%- elsif site.repositories.exclude.archived %}
|
@@ -14,6 +15,7 @@
|
|
14
15
|
{%- else %}
|
15
16
|
{%- assign filtered_repos = site.github.public_repositories | sort: sort_order | reverse %}
|
16
17
|
{%- endif %}
|
18
|
+
{%- endif %}
|
17
19
|
|
18
20
|
{%- for repository in filtered_repos | limit: site.repositories.limit %}
|
19
21
|
{%- unless site.repositories.exclude.repositories contains repository.name %}
|
@@ -2,37 +2,16 @@
|
|
2
2
|
layout: page
|
3
3
|
title: Category
|
4
4
|
---
|
5
|
-
{
|
6
|
-
{
|
5
|
+
{%- assign categories = page.categories | default: site.categories %}
|
6
|
+
{%- assign category_permalink = site.category_path | default: 'category' | append: '/:cat' %}
|
7
|
+
{%- assign category_permalink = page.pagination.permalink | default: site.autopages.categories.permalink | default: category_permalink %}
|
8
|
+
{%- assign per_section = page.per_section | default: page.pagination.per_page | default: 3 %}
|
9
|
+
|
7
10
|
<h1 class="h3-mktg mt-4 mb-6 mb-md-8">{{ page.title }}</h1>
|
8
11
|
|
9
|
-
{%
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
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 %}
|
12
|
+
{% include post-gallery.html
|
13
|
+
collection=categories
|
14
|
+
collection_permalink=category_permalink
|
15
|
+
replace_value=":cat"
|
16
|
+
per_section=per_section
|
17
|
+
%}
|
data/_layouts/docs.html
CHANGED
@@ -9,13 +9,9 @@ Docs utilize collections to display content
|
|
9
9
|
{%- assign collection_name = page.collection | default: "docs" %}
|
10
10
|
{%- assign docs = site[collection_name]%}
|
11
11
|
{%- assign docs_name = page.title | default: "Documentation" %}
|
12
|
-
{%- assign index_url =
|
13
|
-
{%-
|
14
|
-
|
15
|
-
{%- assign docs_index = doc %}
|
16
|
-
{%- break %}
|
17
|
-
{%- endif %}
|
18
|
-
{%- endfor %}
|
12
|
+
{%- assign index_url = page.index %}
|
13
|
+
{%- assign docs_index = docs | where_exp: "item", "item.url == index_url" | first %}
|
14
|
+
{%- assign docs_without_index = docs | where_exp: "item", "item.url != index_url" %}
|
19
15
|
|
20
16
|
<script>
|
21
17
|
$(document).ready(function () {
|
@@ -32,7 +28,8 @@ Docs utilize collections to display content
|
|
32
28
|
<div class="px-4 pb-3 border-bottom">
|
33
29
|
<div class="mt-3">
|
34
30
|
{% if docs_index %}
|
35
|
-
<a class="d-block pl-1 mb-2 h3 color-fg-default no-underline"
|
31
|
+
<a class="d-block pl-1 mb-2 h3 color-fg-default no-underline"
|
32
|
+
href="{{ docs_index.url | relative_url }}">
|
36
33
|
{{ collection_name | capitalize }}
|
37
34
|
</a>
|
38
35
|
{% else %}
|
@@ -40,18 +37,24 @@ Docs utilize collections to display content
|
|
40
37
|
{% endif %}
|
41
38
|
</div>
|
42
39
|
</div>
|
43
|
-
<div class="">
|
44
|
-
<ul data-overflow-nav class="menu ActionList border-0">
|
45
|
-
{
|
46
|
-
{
|
47
|
-
|
48
|
-
<li class="
|
49
|
-
|
50
|
-
|
40
|
+
<div class="pt-3">
|
41
|
+
<ul data-overflow-nav class="menu ActionList border-0 ml-3">
|
42
|
+
{%- assign doc_categories = docs_without_index | group_by: "category" %}
|
43
|
+
{%- for category in doc_categories %}
|
44
|
+
{%- assign category_name = category.name | default: collection_name %}
|
45
|
+
<li class="h4">{{ category_name | capitalize }}
|
46
|
+
<ul>
|
47
|
+
{%- for nav_item in category.items %}
|
48
|
+
<a href="{{ nav_item.url | relative_url }}" class="ActionListItem-label no-underline">
|
49
|
+
<li class="menu-item ActionList-item border-0" {% if page.url==nav_item.url %}
|
50
|
+
aria-current="page" {% endif %}>
|
51
|
+
{{ nav_item.title }}
|
52
|
+
</li>
|
53
|
+
</a>
|
54
|
+
{%- endfor %}
|
55
|
+
</ul>
|
51
56
|
</li>
|
52
|
-
|
53
|
-
{% endunless %}
|
54
|
-
{% endfor %}
|
57
|
+
{%- endfor %}
|
55
58
|
</ul>
|
56
59
|
</div>
|
57
60
|
</div>
|
@@ -104,5 +107,5 @@ Docs utilize collections to display content
|
|
104
107
|
</div>
|
105
108
|
</div>
|
106
109
|
<div class="CollectionMenu d-none">
|
107
|
-
{% include collection-menu.html name=collection_name collection=
|
110
|
+
{% include collection-menu.html name=collection_name collection=docs_without_index index=docs_index %}
|
108
111
|
</div>
|
data/_layouts/linktree.html
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
---
|
2
2
|
layout: default
|
3
|
+
style: none
|
3
4
|
---
|
4
|
-
{%- assign
|
5
|
+
{%- assign socials=page.socials | default: layout.socials | default: nil %}
|
5
6
|
<div class="flex-column flex-1 min-width-0 py-3">
|
6
7
|
<div class="d-flex mt-4 p-responsive container-md flex-row py-3 flex-justify-end">
|
7
8
|
<div class="d-flex flex-justify-center">
|
@@ -11,13 +12,15 @@ layout: default
|
|
11
12
|
{%- if style != "sidebar" and style != "stacked" %}
|
12
13
|
{%- include masthead.html class="CircleBadge--medium" %}
|
13
14
|
{%- endif %}
|
14
|
-
{%-
|
15
|
-
{
|
16
|
-
{%-
|
17
|
-
|
15
|
+
{%- if socials == "top" %}
|
16
|
+
{%- include social.html %}
|
17
|
+
{%- endif %}
|
18
18
|
{%- if site.links %}
|
19
19
|
<div class="d-flex mt-4 p-responsive container-md">
|
20
20
|
{%- include links.html %}
|
21
21
|
</div>
|
22
22
|
{%- endif %}
|
23
|
+
{%- if socials == "bottom" %}
|
24
|
+
{%- include social.html %}
|
25
|
+
{%- endif %}
|
23
26
|
</div>
|
@@ -0,0 +1,41 @@
|
|
1
|
+
---
|
2
|
+
layout: page
|
3
|
+
---
|
4
|
+
{% assign paginate_path = page.pagination.permalink | default: site.pagination.permalink | default: site.paginate_path %}
|
5
|
+
{% assign paginate_first_page_path = site.paginate_path | relative_url | replace: 'page:num', '' %}
|
6
|
+
{% assign first_page_path = page.first_page_path | default: paginator.first_page_path | default: paginate_first_page_path%}
|
7
|
+
|
8
|
+
<h1>{{ page.title }}</h1>
|
9
|
+
|
10
|
+
{{ content }}
|
11
|
+
|
12
|
+
<!-- This loops through the paginated posts -->
|
13
|
+
{% include post-timeline.html collection=paginator.posts %}
|
14
|
+
<!-- Pagination links -->
|
15
|
+
<div class="paginate-container">
|
16
|
+
<div role="navigation" aria-label="Pagination" class="d-flex d-md-inline-block pagination">
|
17
|
+
{%- if paginator.previous_page %}
|
18
|
+
<a class="previous_page" rel="prev" href="{{ paginator.previous_page_path | relative_url }}"
|
19
|
+
aria-disabled="false">Previous</a>
|
20
|
+
{% else %}
|
21
|
+
<span class="previous_page disabled" aria-disabled="true">Previous</span>
|
22
|
+
{% endif %}
|
23
|
+
|
24
|
+
{%- for blog_page in (1..paginator.total_pages) %}
|
25
|
+
{%- if blog_page == paginator.page %}
|
26
|
+
<a href="{{ page.url | relative_url }}" aria-label="{{ blog_page }}" aria-current="page">{{ blog_page }}</a>
|
27
|
+
{% elsif blog_page == 1 %}
|
28
|
+
<a href="{{ first_page_path | relative_url }}" aria-label="{{ blog_page }}">{{ blog_page }}</a>
|
29
|
+
{% else %}
|
30
|
+
<a href="{{ paginate_path | relative_url | replace: ':num', blog_page }}" aria-label="{{ blog_page }}">{{ blog_page }}</a>
|
31
|
+
{%- endif %}
|
32
|
+
{%- endfor %}
|
33
|
+
|
34
|
+
{%- if paginator.next_page %}
|
35
|
+
<a class="next_page" rel="next" href="{{ paginator.next_page_path | relative_url }}"
|
36
|
+
aria-disabled="false">Next</a>
|
37
|
+
{% else %}
|
38
|
+
<span class="next_page disabled" aria-disabled="true">Next</span>
|
39
|
+
{% endif %}
|
40
|
+
</div>
|
41
|
+
</div>
|
data/_layouts/profile.html
CHANGED
@@ -25,9 +25,7 @@ layout: page
|
|
25
25
|
|
26
26
|
{%- unless posts_total == 0 %}
|
27
27
|
<h2 class="mb-3">Blog</h2>
|
28
|
-
{%- include post-timeline.html limit=posts_limit %}
|
29
|
-
{%- if site.posts.size > post_limit %}
|
30
|
-
{%- endif %}
|
28
|
+
{%- include post-timeline.html limit=posts_limit index="/blog/" %}
|
31
29
|
{%- endunless %}
|
32
30
|
|
33
31
|
{%- if site.repositories %}
|
data/_layouts/tag_index.html
CHANGED
@@ -2,34 +2,16 @@
|
|
2
2
|
title: Tags
|
3
3
|
layout: page
|
4
4
|
---
|
5
|
-
{
|
5
|
+
{%- assign tags = page.tags | default: site.tags %}
|
6
|
+
{%- assign tag_permalink = page.tag_path | default:site.tag_path | default: 'tags' | append: '/:tag' %}
|
7
|
+
{%- assign tag_permalink = page.pagination.permalink | default: site.autopages.tags.permalink | default: tag_permalink %}
|
8
|
+
{%- assign per_section = page.per_section | default: 3 %}
|
9
|
+
|
6
10
|
<h1 class="h3-mktg mt-4 mb-6 mb-md-8">{{ page.title }}</h1>
|
7
11
|
|
8
|
-
{%
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
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 %}
|
12
|
+
{% include post-index.html
|
13
|
+
collection=tags
|
14
|
+
collection_permalink=tag_permalink
|
15
|
+
replace_value=":tag"
|
16
|
+
per_section=per_section
|
17
|
+
%}
|
@@ -1,5 +1,6 @@
|
|
1
|
-
@
|
1
|
+
@use "sass:meta";
|
2
|
+
@import url("https://unpkg.com/@primer/css@21.2.2/dist/primer.css");
|
2
3
|
@import url("https://cdn.jsdelivr.net/npm/octicons-css/octicons.min.css");
|
3
|
-
@
|
4
|
-
@
|
5
|
-
@
|
4
|
+
@include meta.load-css("highlight-syntax");
|
5
|
+
@include meta.load-css("language-colors");
|
6
|
+
@include meta.load-css("main");
|
data/assets/css/theme.scss
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
---
|
2
2
|
---
|
3
|
+
@use "jekyll-theme-profile";
|
4
|
+
|
3
5
|
{%- if site.background.overlay %}
|
4
6
|
{%- assign dark_overlay = site.background.overlay %}
|
5
7
|
{%- assign light_overlay = site.background.overlay %}
|
@@ -82,5 +84,3 @@
|
|
82
84
|
--color-profile-accent: var(--color-accent-fg);
|
83
85
|
--color-profile-bg: var(--color-canvas-default);
|
84
86
|
}
|
85
|
-
|
86
|
-
@import "jekyll-theme-profile";
|
Binary file
|
Binary file
|
Binary file
|
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.10.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Allison Thackston
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-01-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -128,7 +128,7 @@ dependencies:
|
|
128
128
|
- - "~>"
|
129
129
|
- !ruby/object:Gem::Version
|
130
130
|
version: 1.1.0
|
131
|
-
description:
|
131
|
+
description:
|
132
132
|
email:
|
133
133
|
- allison@allisonthackston.com
|
134
134
|
executables: []
|
@@ -136,6 +136,7 @@ extensions: []
|
|
136
136
|
extra_rdoc_files: []
|
137
137
|
files:
|
138
138
|
- README.md
|
139
|
+
- _config.yml
|
139
140
|
- _includes/breadcrumbs.html
|
140
141
|
- _includes/collection-menu.html
|
141
142
|
- _includes/footer.html
|
@@ -153,6 +154,8 @@ files:
|
|
153
154
|
- _includes/navbar-underline.html
|
154
155
|
- _includes/post-card.html
|
155
156
|
- _includes/post-feature-card.html
|
157
|
+
- _includes/post-gallery.html
|
158
|
+
- _includes/post-index.html
|
156
159
|
- _includes/post-tease-image-card.html
|
157
160
|
- _includes/post-tease-text-card.html
|
158
161
|
- _includes/post-timeline-card.html
|
@@ -173,6 +176,7 @@ files:
|
|
173
176
|
- _layouts/linktree.html
|
174
177
|
- _layouts/page.html
|
175
178
|
- _layouts/paginate.html
|
179
|
+
- _layouts/paginate_timeline.html
|
176
180
|
- _layouts/post.html
|
177
181
|
- _layouts/profile.html
|
178
182
|
- _layouts/repositories.html
|
@@ -184,8 +188,11 @@ files:
|
|
184
188
|
- _sass/jekyll-theme-profile.scss
|
185
189
|
- assets/css/style.scss
|
186
190
|
- assets/css/theme.scss
|
191
|
+
- assets/img/blog-post-icon.png
|
192
|
+
- assets/img/category-icon.png
|
187
193
|
- assets/img/default.png
|
188
194
|
- assets/img/favicon.ico
|
195
|
+
- assets/img/user-image.jpg
|
189
196
|
- assets/js/anchor-links.js
|
190
197
|
- assets/js/theme-toggle.js
|
191
198
|
- assets/js/timeline.js
|
@@ -193,7 +200,7 @@ homepage: https://www.althack.dev/jekyll-theme-profile
|
|
193
200
|
licenses:
|
194
201
|
- MIT
|
195
202
|
metadata: {}
|
196
|
-
post_install_message:
|
203
|
+
post_install_message:
|
197
204
|
rdoc_options: []
|
198
205
|
require_paths:
|
199
206
|
- lib
|
@@ -208,8 +215,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
208
215
|
- !ruby/object:Gem::Version
|
209
216
|
version: '0'
|
210
217
|
requirements: []
|
211
|
-
rubygems_version: 3.
|
212
|
-
signing_key:
|
218
|
+
rubygems_version: 3.5.11
|
219
|
+
signing_key:
|
213
220
|
specification_version: 4
|
214
221
|
summary: Jekyll theme built off of Github's personal website template and primer.
|
215
222
|
test_files: []
|