File tree 16 files changed +112
-49
lines changed
16 files changed +112
-49
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,5 @@ group :jekyll_plugins do
15
15
gem "jekyll-include-cache"
16
16
gem "jekyll-algolia"
17
17
gem "jekyll-redirect-from"
18
- gem "jekyll-archives"
19
18
gem "webrick"
20
19
end
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ remote_theme: mmistakes/minimal-mistakes
31
31
# Outputting
32
32
permalink : /project/:title/
33
33
paginate : 5 # amount of posts to show
34
- paginate_path : " blog /page:num"
34
+ paginate_path : " latest /page:num"
35
35
timezone : # https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
36
36
37
37
exclude :
@@ -48,7 +48,7 @@ exclude:
48
48
- projects/CONTRIBUTING.md
49
49
- projects/LICENSE
50
50
- projects/setup.cfg
51
- # - projects # Legacy projects. Should be enabled until all projects converted
51
+ - projects # Legacy projects. Should be enabled until all projects converted
52
52
53
53
# Plugins (previously gems:)
54
54
plugins :
@@ -59,7 +59,6 @@ plugins:
59
59
- jemoji
60
60
- jekyll-include-cache
61
61
- jekyll-redirect-from
62
- - jekyll-archives
63
62
64
63
author :
65
64
name : " Laurens Valk"
@@ -119,6 +118,15 @@ defaults:
119
118
toc_sticky : true
120
119
sidebar :
121
120
nav : " install"
121
+ # Tag index / archive pages
122
+ - scope :
123
+ path : " project"
124
+ type : pages
125
+ values :
126
+ layout : project-tag
127
+ author_profile : false
128
+ share : true
129
+ toc : false
122
130
# About pages, indexing based on directory structure
123
131
- scope :
124
132
path : " about"
Original file line number Diff line number Diff line change 59
59
- title : " 2023: Block based coding"
60
60
url : /about/new-pybricks-blocks/
61
61
- title : " Latest news"
62
- url : /blog /
62
+ url : /latest /
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {% if page.header.overlay_color or page.header.overlay_image or page.header.image %}
6
+ {% include page__hero.html %}
7
+ {% elsif page.header.video.id and page.header.video.provider %}
8
+ {% include page__hero_video.html %}
9
+ {% endif %}
10
+
11
+ {% if page.url != "/" and site.breadcrumbs %}
12
+ {% unless paginator %}
13
+ {% include breadcrumbs.html %}
14
+ {% endunless %}
15
+ {% endif %}
16
+
17
+ < div id ="main " role ="main ">
18
+ {% include sidebar.html %}
19
+
20
+
21
+
22
+ < div class ="archive ">
23
+
24
+ {% include tag-header.html %}
25
+
26
+ {% unless page.header.overlay_color or page.header.overlay_image %}
27
+ < h1 id ="page-title " class ="page__title "> {{ page.title }}</ h1 >
28
+ {% endunless %}
29
+
30
+ {{ content }}
31
+
32
+ {% assign entries_layout = page.entries_layout | default: 'list' %}
33
+ {% for tag in site.tags %}
34
+ {% if tag[0] == page.project_tag %}
35
+ < section id ="{{ tag[0] | slugify | downcase }} " class ="taxonomy__section ">
36
+ < div class ="entries-{{ entries_layout }} ">
37
+ {% for post in tag.last %}
38
+ {% include archive-single.html type=entries_layout %}
39
+ {% endfor %}
40
+ </ div >
41
+ < a href ="#page-title " class ="back-to-top "> {{ site.data.ui-text[site.locale].back_to_top | default: 'Back to Top' }} ↑</ a >
42
+ </ section >
43
+ {% endif %}
44
+ {% endfor %}
45
+ </ div >
46
+ </ div >
File renamed without changes.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ ---
2
+ title : Projects that use Pybricks Block Coding
3
+ project_tag : Block Coding
4
+ ---
5
+
6
+
Original file line number Diff line number Diff line change
1
+ ---
2
+ title : Projects by category
3
+ ---
4
+
5
+ Choose a category!
Original file line number Diff line number Diff line change
1
+ ---
2
+ title : Projects for the LEGO® Technic 4X4 X-treme Off-Roader (42099)
3
+ project_tag : LEGO 42099
4
+ ---
5
+
6
+ Go 42099!
Original file line number Diff line number Diff line change
1
+ ---
2
+ title : Projects with the Powered Up Remote
3
+ project_tag : Powered Up Remote
4
+ ---
5
+
Original file line number Diff line number Diff line change
1
+ ---
2
+ title : Projects that use Pybricks MicroPython Coding
3
+ project_tag : Python
4
+ ---
5
+
6
+
Original file line number Diff line number Diff line change
1
+ ---
2
+ title : LEGO® Remote Control Projects
3
+ project_tag : Remote Control
4
+ ---
5
+
6
+
7
+ technic!!!
8
+
Original file line number Diff line number Diff line change
1
+ ---
2
+ title : Projects for LEGO® vehicles with front-wheel steering
3
+ project_tag : Steering Car
4
+ ---
5
+
Original file line number Diff line number Diff line change
1
+ ---
2
+ title : LEGO® Technic Projects
3
+ project_tag : Technic
4
+ ---
5
+
6
+
7
+ technic!!!
8
+
Original file line number Diff line number Diff line change
1
+ ---
2
+ title : Projects with the Xbox Controller
3
+ project_tag : Xbox Controller
4
+ ---
5
+
You can’t perform that action at this time.
0 commit comments