jekyll-theme-profile 1.9.0 → 1.10.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 23356d00fc6dfddf50b0e61e985f1f3d8ffe2cbeda4e974182b79218cd2ab235
4
- data.tar.gz: 9af7bc1d68ac9b4bb9c0d38a4a7f8c3058b7bb16c8a28dedb98a1f38e725b9b1
3
+ metadata.gz: de52aaf8b68879950d8fe9a1d43268edf0c8fbb5faaf282984a8ad4ba8d232bc
4
+ data.tar.gz: b5b2e8e74bc7a132356bf77dd2b95e129068d2601cf21655ef085de58061bf75
5
5
  SHA512:
6
- metadata.gz: 52168740d6f8d8e42cb7509c2ddef8064b608c9675d57bf0aacf19a179d05d5012ecdfb3fd3973200db2bd6bda7d3001c75584b12e0564a41180d90eff13a9d1
7
- data.tar.gz: 4d2712cb90f972ed8092d9ee31d89b9ccf34f0806b3c64bce494bac47615d2d1510ce093d119badd62612af02e879e6ea6a793c0b9609e09bc5d2dd61dc0b434
6
+ metadata.gz: 01cc131a4838cacb9d33d47e608275c1578795a2e1c4569975aac68cce236d512946887cb26e6bf98389ffba38af3318b69d9560667354929fe38d0bf86dc81f
7
+ data.tar.gz: c66094b9eec8689493cb05239ce7cc3e375d27e67af7154068fc4816c8b9a0fd46e7b0214184cd0d1752ef2627f7d673f60652a9e805d98ad08f854e730d427a
data/_config.yml ADDED
@@ -0,0 +1,148 @@
1
+ # ######## Jekyll Site Settings ##########
2
+ theme: jekyll-theme-profile
3
+ title: Jekyll Theme Profile
4
+ description: Theme built with jekyll-theme-profile
5
+ # image: /assets/img/social-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
+ ########################
110
+ # Post pages
111
+ related_by: "tags or categories"
112
+
113
+ # ########### Plugin settings ###############
114
+ plugins:
115
+ - jekyll-github-metadata
116
+ - jekyll-octicons
117
+ - jekyll-relative-links
118
+ - jekyll-seo-tag
119
+ - jekyll-toc
120
+ - jemoji
121
+
122
+ ####################
123
+ # jekyll-paginate settings
124
+ # paginate: 6 # The number of posts to show per page of pagination of blog posts
125
+ # paginate_path: "/blog/page:num"
126
+ # ###################
127
+ # jekyll-tagging settings
128
+ # Include `gem jekyll-tagging` in your gemfile
129
+ # tag_page_layout: tags
130
+ # tag_page_dir: tags
131
+ # ####################
132
+ # jekyll-category-pages settings
133
+ # category_path: category
134
+ # category_layout: category_layout.html
135
+ ######################
136
+ # jekyll-relative-links settings
137
+ relative_links:
138
+ enabled: true
139
+ collections: true
140
+
141
+ # ########### Build settings ###############
142
+ exclude:
143
+ - spec
144
+ - vendor
145
+ - .jekyll-cache
146
+ - _site
147
+ - node_modules
148
+ - 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 }}" class="AppHeader-link d-flex flex-items-center no-underline mr-3">
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
- {%- for nav_item in collection %}
29
- {%- if nav_item.url != collection_index %}
30
- <a href="{{ nav_item.url | relative_url }}" class="ActionListItem-label no-underline" >
31
- <li class="menu-item ActionList-item border-0"{% if page.url==nav_item.url %} aria-current="page"{% endif %}>
32
- {{ nav_item.title }}
33
- </li>
34
- </a>
35
- {%- endif %}
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>
@@ -1,3 +1,6 @@
1
+ {%- assign user = site.github.owner %}
2
+ {%- assign name = site.title | default: user.name | default: user.login %}
3
+ {%- assign user_img = site.user_image | default: user.avatar_url | default: "/assets/img/user-image.jpg" %}
1
4
  <script>
2
5
  $(document).ready(function () {
3
6
  $('#expansion-btn').click(function () {
@@ -1,3 +1,6 @@
1
+ {%- assign user = site.github.owner %}
2
+ {%- assign name = site.title | default: user.name | default: user.login %}
3
+ {%- assign user_img = site.user_image | default: user.avatar_url | default: "/assets/img/user-image.jpg" %}
1
4
  <script>
2
5
  $(document).ready(function () {
3
6
  $('#expansion-btn').click(function () {
@@ -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>
@@ -1,6 +1,6 @@
1
1
  {%- assign user = site.github.owner %}
2
2
  {%- assign name = include.title | default: site.title | default: user.name | default: user.login %}
3
- {%- assign user_img = site.user_image | default: user.avatar_url %}
3
+ {%- assign user_img = site.user_image | default: user.avatar_url | default: "/assets/img/user-image.jpg" %}
4
4
  {%- assign user_metadata = site.user_metadata -%}
5
5
 
6
6
  <div class="Masthead">
@@ -1,3 +1,6 @@
1
+ {%- assign user = site.github.owner %}
2
+ {%- assign name = site.title | default: user.name | default: user.login %}
3
+ {%- assign user_img = site.user_image | default: user.avatar_url | default: "/assets/img/user-image.jpg" %}
1
4
  <div class="Overlay-backdrop--side Overlay-backdrop--placement-left" data-modal-dialog-overlay>
2
5
  <modal-dialog class="Overlay Overlay--width-medium Overlay--motion-slideDown height-fit height-full" >
3
6
  <div class="Overlay-headerContentWrap d-flex flex-row py-3 px-2">
@@ -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 tease-border">
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 mt-5">
24
- {%- if post.video %}
25
- <div id="Timeline-video-container" class="image-container mb-5">
26
- <iframe id="Timeline-video" src="{{ post.video }}" frameborder="0" height="inherited" width="inherited"></iframe>
27
- </div>
28
- {%- elsif post.image %}
29
- <div class="image-container mb-5">
30
- <img class="rounded-2" src="{{ post.image}}" width="800" height="425" alt="{{ post.title }}" />
31
- </div>
32
- {%- endif %}
33
- <div class="summary"> {{ post.excerpt }}</div>
34
- {%- if post.content != blank %}
35
- <div class="more">
36
- <a href="{{ post.url | relative_url }}" class="link-mktg arrow-target-mktg text-semibold f4-mktg">
37
- Contiue
38
- <svg xmlns="http://www.w3.org/2000/svg" class="octicon arrow-symbol-mktg" width="16" height="16"
39
- viewBox="0 0 16 16" fill="none">
40
- <path fill="currentColor"
41
- 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">
42
- </path>
43
- <path stroke="currentColor" d="M1.75 8H11" stroke-width="1.5" stroke-linecap="round"></path>
44
- </svg>
45
- </a>
46
- </div>
47
- {%- endif %}
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,27 @@
1
- {%- assign post_limit = include.limit | default: 3 %}
2
-
3
- <div class="mb-4">
4
- {%- for post in site.posts limit: {{post_limit}} %}
5
- {%- include post-timeline-card.html %}
6
- {%- endfor %}
7
- </div>
1
+ {%- assign collection = include.collection | default: site.posts | sort: "date" | reverse %}
8
2
  {%- 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>
3
+ {%- assign paginate_path = site.paginate_path %}
4
+ {%- assign cleaned_path = paginate_path | split: ':' | first %}
5
+ {%- assign placeholder = cleaned_path | split: '/' | last %}
6
+ {%- assign paginate_index = cleaned_path | replace: placeholder, '' | strip %}
12
7
  {%- endif %}
8
+ {%- assign index = include.index | default: paginator.index_path | default: paginate_index %}
9
+ {%- assign post_limit = include.limit | default: page.posts_limit | default: site.posts_limit %}
10
+
11
+ <div class="mt-md-7 mb-9 mb-md-12">
12
+ <div class="container-xl mx-auto p-responsive-blog">
13
+ {%- for post in collection | limit: post_limit %}
14
+ {%- include post-timeline-card.html %}
15
+ {%- endfor %}
16
+ </div>
17
+ {%- if collection.size > post_limit and index %}
18
+ <div class="container-xl mx-auto p-responsive-blog mt-6 mt-md-8 ">
19
+ <div class="d-flex gutter-spacious">
20
+ <div class="col-12 col-md-7 offset-md-5">
21
+ <a href="{{ index | relative_url }}"
22
+ class="Link--primary arrow-target-mktg text-semibold btn ml-5">View all {% octicon chevron-right height:16 %}</a>
23
+ </div>
24
+ </div>
25
+ </div>
26
+ {%- endif %}
27
+ </div>
@@ -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
- {% assign categories = page.categories | default: site.categories %}
6
- {% assign category_path = page.category_path | default: site.category_path %}
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
- {% 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 %}
12
+ {% include post-gallery.html
13
+ collection=categories
14
+ collection_permalink=category_permalink
15
+ replace_value=":cat"
16
+ per_section=per_section
17
+ %}
@@ -1,7 +1,4 @@
1
1
  {%- assign style = page.style | default: layout.style | default: site.style %}
2
- {%- assign user = site.github.owner %}
3
- {%- assign name = site.title | default: user.name | default: user.login %}
4
- {%- assign user_img = site.user_image | default: user.avatar_url %}
5
2
  {%- assign light_theme = site.light_theme | default: "light" %}
6
3
  {%- assign dark_theme = site.dark_theme | default: "dark_dimmed" %}
7
4
  <!doctype html>
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 = collection_name | prepend: "/" | append: "/index.html" %}
13
- {%- for doc in docs %}
14
- {%- if doc.url == index_url %}
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" href="{{ docs_index.url | relative_url }}">
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
- {% for nav_item in docs %}
46
- {% unless nav_item.url == index_url %}
47
- <a href="{{ nav_item.url | relative_url }}" class="ActionListItem-label no-underline">
48
- <li class="menu-item ActionList-item border-0"
49
- {% if page.url==nav_item.url %} aria-current="page" {% endif %}>
50
- {{ nav_item.title }}
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
- </a>
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=docs index=docs_index %}
110
+ {% include collection-menu.html name=collection_name collection=docs_without_index index=docs_index %}
108
111
  </div>
@@ -2,9 +2,6 @@
2
2
  layout: default
3
3
  style: none
4
4
  ---
5
- {%- assign user = site.github.owner %}
6
- {%- assign name = site.title | default: user.name | default: user.login %}
7
- {%- assign user_img = site.user_image | default: user.avatar_url %}
8
5
  <div class="Header d-flex p-0 flex-1 height-full">
9
6
  <div class="container-lg flex-column position-sticky top-0">
10
7
  <div class="d-flex flex-row py-3 flex-justify-end">
@@ -1,7 +1,8 @@
1
1
  ---
2
2
  layout: default
3
+ style: none
3
4
  ---
4
- {%- assign style = page.style | default: layout.style | default: site.style %}
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
- {%- unless content == "" %}
15
- {{ content }}
16
- {%- endunless %}
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/post.html CHANGED
@@ -14,17 +14,10 @@ layout: default
14
14
  </div>
15
15
  <div class="offset-lg-1 col-lg-10">
16
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
17
  <div class="image-container">
24
18
  <img src="{{ image | relative_url }}" class="cover-image rounded-2"
25
19
  alt="{{ page.title }}" />
26
20
  </div>
27
- {%- endif %}
28
21
  </div>
29
22
  </div>
30
23
  </div>
@@ -1,6 +1,9 @@
1
1
  ---
2
2
  layout: page
3
3
  ---
4
+ {%- assign user = site.github.owner %}
5
+ {%- assign name = site.title | default: user.name | default: user.login %}
6
+ {%- assign user_img = site.user_image | default: user.avatar_url | default: "/assets/img/user-image.jpg" %}
4
7
  {%- assign style = page.style | default: layout.style | default: site.style %}
5
8
  <div class="Profile d-lg-flex flex-justify-center gutter">
6
9
  {%- if style != "sidebar" and style != "stacked" %}
@@ -12,22 +15,14 @@ layout: page
12
15
 
13
16
  <div class="col-lg-8 border-top border-lg-top-0 color-bg-default">
14
17
  <div class="py-6">
15
- {%- assign posts_total = site.posts | size %}
16
- {%- assign posts_limit = site.posts_limit | default: posts_total %}
17
-
18
- {%- unless content == "" %}
19
18
  {{ content }}
20
- {%- endunless %}
21
-
22
19
  {%- if site.links %}
23
20
  {%- include links.html %}
24
21
  {%- endif %}
25
22
 
26
23
  {%- unless posts_total == 0 %}
27
24
  <h2 class="mb-3">Blog</h2>
28
- {%- include post-timeline.html limit=posts_limit %}
29
- {%- if site.posts.size > post_limit %}
30
- {%- endif %}
25
+ {%- include post-timeline.html%}
31
26
  {%- endunless %}
32
27
 
33
28
  {%- if site.repositories %}
@@ -2,34 +2,16 @@
2
2
  title: Tags
3
3
  layout: page
4
4
  ---
5
- {% assign max_posts = page.max_posts | default: 6 %}
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
- {% 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 %}
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
- @import url("https://unpkg.com/@primer/css@^20.2.4/dist/primer.css");
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
- @import "highlight-syntax";
4
- @import "language-colors";
5
- @import "main";
4
+ @include meta.load-css("highlight-syntax");
5
+ @include meta.load-css("language-colors");
6
+ @include meta.load-css("main");
@@ -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
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.9.0
4
+ version: 1.10.1
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: 2024-08-03 00:00:00.000000000 Z
11
+ date: 2025-01-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -48,16 +48,16 @@ dependencies:
48
48
  name: jekyll-github-metadata
49
49
  requirement: !ruby/object:Gem::Requirement
50
50
  requirements:
51
- - - "~>"
51
+ - - '='
52
52
  - !ruby/object:Gem::Version
53
- version: '2.9'
53
+ version: 2.13.0
54
54
  type: :runtime
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
57
  requirements:
58
- - - "~>"
58
+ - - '='
59
59
  - !ruby/object:Gem::Version
60
- version: '2.9'
60
+ version: 2.13.0
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: jekyll-octicons
63
63
  requirement: !ruby/object:Gem::Requirement
@@ -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,12 @@ 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/social-preview.png
196
+ - assets/img/user-image.jpg
189
197
  - assets/js/anchor-links.js
190
198
  - assets/js/theme-toggle.js
191
199
  - assets/js/timeline.js
@@ -193,7 +201,7 @@ homepage: https://www.althack.dev/jekyll-theme-profile
193
201
  licenses:
194
202
  - MIT
195
203
  metadata: {}
196
- post_install_message:
204
+ post_install_message:
197
205
  rdoc_options: []
198
206
  require_paths:
199
207
  - lib
@@ -208,8 +216,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
208
216
  - !ruby/object:Gem::Version
209
217
  version: '0'
210
218
  requirements: []
211
- rubygems_version: 3.4.10
212
- signing_key:
219
+ rubygems_version: 3.5.22
220
+ signing_key:
213
221
  specification_version: 4
214
222
  summary: Jekyll theme built off of Github's personal website template and primer.
215
223
  test_files: []