File tree Expand file tree Collapse file tree 7 files changed +37
-7
lines changed Expand file tree Collapse file tree 7 files changed +37
-7
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ source "https://rubygems.org"
14
14
gem "github-pages" , group : :jekyll_plugins
15
15
# If you have any plugins, put them here!
16
16
group :jekyll_plugins do
17
- gem "jekyll-feed" , "~> 0.12 "
17
+ gem "jekyll-tagging "
18
18
end
19
19
20
20
# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
Original file line number Diff line number Diff line change @@ -12,10 +12,13 @@ social_links:
12
12
- { platform: github, user_url: "https://github.com/libewa" }
13
13
- { platform: codeberg, user_url: "https://twitter.com/libewa" }
14
14
15
+ tag_page_layout : tag
16
+ tag_page_dir : tag
17
+
15
18
# Build settings
16
19
plugins :
17
20
- jekyll-feed
18
- - jekyll-remote-theme
19
21
- jemoji
20
22
- jekyll-default-layout
23
+ - jekyll-tagging
21
24
- jekyll-sitemap
Original file line number Diff line number Diff line change 1
1
< div id ="sidebar-left " class ="sidebar glass container " >
2
2
< nav id ="sidenav ">
3
3
{%- include navlinks.html -%}
4
- < h3 > Recent Posts</ h3 >
5
- < ul id ="sidebar-post-list ">
6
- {% for post in site.posts limit:5 %}
7
- < li > < a href ="{{ post.url }} "> {{ post.title }}</ a > </ li >
8
- {% endfor %}
4
+ < h3 > Tags</ h3 >
5
+ < ul id ="sidebar-tag-list ">
6
+ {%- include taglist.html -%}
9
7
</ ul >
10
8
</ nav >
11
9
< nav id ="topnav ">
Original file line number Diff line number Diff line change
1
+ {%- for tag in site.tags -%}
2
+ < li > < a href ="{{ '/tag/' | append: tag[0] | relative_url }} "> {{ tag[0] }}</ a > </ li >
3
+ {%- endfor -%}
Original file line number Diff line number Diff line change 6
6
{{ content }}
7
7
8
8
9
+ < h1 class ="post-list-heading "> All posts</ h1 >
10
+
9
11
{% if site.paginate %}
10
12
{% assign posts = paginator.posts %}
11
13
{% else %}
Original file line number Diff line number Diff line change
1
+ ---
2
+ layout: base
3
+ ---
4
+ < h1 class ="post-list-heading "> Posts tagged with "{{ page.tag }}"</ h1 >
5
+ < ul class ="post-list ">
6
+ {%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
7
+ {%- for post in site.tags[page.tag] -%}
8
+ < li >
9
+ < span class ="post-meta "> {{ post.date | date: date_format }}</ span >
10
+ < h3 >
11
+ < a class ="post-link " href ="{{ post.url | relative_url }} ">
12
+ {{ post.title | escape }}
13
+ </ a >
14
+ </ h3 >
15
+ {%- if site.show_excerpts -%}
16
+ {{ post.excerpt }}
17
+ {%- endif -%}
18
+ </ li >
19
+ {%- endfor -%}
20
+ </ ul >
Original file line number Diff line number Diff line change 63
63
font-family : $code-font-family , monospace ;
64
64
}
65
65
66
+ .post-list-heading {
67
+ font-size : 26px ;
68
+ }
69
+
66
70
h1 a {
67
71
color : $light-color ;
68
72
text-decoration : none ;
You can’t perform that action at this time.
0 commit comments