Skip to content

Commit

Permalink
add
Browse files Browse the repository at this point in the history
  • Loading branch information
iamniddi committed Aug 16, 2023
1 parent 9cc9753 commit 0dc40cf
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 22 deletions.
45 changes: 32 additions & 13 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,23 @@ compress_html:
envs: development


# # Defaults
# defaults:
# # _posts
# - scope:
# path: ""
# type: posts
# values:
# layout: single
# author_profile: true
# read_time: true
# comments: true
# share: true
# related: true
# show_date: true
# sidebar:
# nav: "main"

# Defaults
defaults:
# _posts
Expand All @@ -263,20 +280,22 @@ defaults:
values:
layout: single
author_profile: true
read_time: true
comments: true
share: true
related: true
read_time: #true
show_date: true
comments: true
# share: true
related: true
sidebar:
nav: "categories"

date_format: "%Y-%m-%d"

sidebar-category:
- title: "카테고리"
children:
- title: "블로그"
url: "/blog"
- title: "카테고리B"
url: "/CategoryB"
- title: "카테고리C"
url: "/CategoryC"
# sidebar-category:
# - title: "카테고리"
# children:
# - title: "블로그"
# url: "/blog"
# - title: "카테고리B"
# url: "/CategoryB"
# - title: "카테고리C"
# url: "/CategoryC"
41 changes: 32 additions & 9 deletions _data/navigation.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,33 @@
# main links
main:
- title: "About"
url: https://mmistakes.github.io/minimal-mistakes/about/
- title: "Sample Posts"
url: /year-archive/
- title: "Sample Collections"
url: /collection-archive/
- title: "Sitemap"
url: /sitemap/
# main:
# - title: "About"
# url: https://mmistakes.github.io/minimal-mistakes/about/
# - title: "Sample Posts"
# url: /year-archive/
# - title: "Sample Collections"
# url: /collection-archive/
# - title: "Sitemap"
# url: /sitemap/
categories:
- title: "Title1"
children:
- title: "Categories1"
url: /categories/categories1/
- title: "Categories2"
url: /categories/categories2/
- title: "Categories3"
url: /categories/categories3/
- title: "Categories4"
url: /categories/categories4/

- title: "Title2"
children:
- title: "Categories5"
url: /categories/categories5/
- title: "Categories6"
url: /categories/categories6/

- title: "Title3"
children:
- title: "Categories7"
url: /categories/categories7/

0 comments on commit 0dc40cf

Please sign in to comment.