Skip to content

Commit

Permalink
Add tag feature
Browse files Browse the repository at this point in the history
  • Loading branch information
ssuunnn committed Sep 22, 2024
1 parent 1186a61 commit cc3550c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
6 changes: 3 additions & 3 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -243,9 +243,9 @@ whitelist:
category_archive:
type: liquid
path: /categories/
# tag_archive:
# type: liquid
# path: /tags/
tag_archive:
type: liquid
path: /tags/

# https://github.com/jekyll/jekyll-archives
# jekyll-archives:
Expand Down
4 changes: 2 additions & 2 deletions _data/navigation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ main:
- title: "GitHub"
url: https://github.com/ssuunnn

# - title: "Projects"
# url: /projects/
- title: "Tag"
url: /tags/

# - title: "Categories"
# url: /categories/
Expand Down
8 changes: 8 additions & 0 deletions _pages/tags-archive.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
title: "Posts by Tag"
layout: tags
permalink: /tags/
author_profile: true
sidebar:
nav: "categories"
---

0 comments on commit cc3550c

Please sign in to comment.