Move all posts into collections and update Liquid templates

This commit is contained in:
Takumi Sueda committed 2022-12-14 01:39:19 +09:00
1 parent dd5047c282
commit 9927d52aeb
21 files changed
+156 -99

No files matched your search

+42 -16
View File
@@ -62,10 +62,6 @@ atom_feed:
og_image: "assets/images/og_image.jpg"
stay_on_top_categories:
- 初めての方へ
- a
footer:
links:
- label: "Twitter"
@@ -82,7 +78,6 @@ defaults:
# _posts
- scope:
path: ""
type: posts
values:
layout: single
author_profile: false
@@ -90,18 +85,49 @@ defaults:
show_date: false
toc: true
toc_sticky: true
# _pages
- scope:
path: "_pages"
type: pages
values:
layout: single
author_profile: false
show_date: false
category_archive:
type: liquid
path: /categories/
tag_archive:
type: liquid
path: /tags/
collections_dir: collections
collections_order:
- beginners
- build
- u-boot
- linux
- tips
- meta
collections:
beginners:
output: true
name: For Beginners
order:
- get-started.md
- roadmap.md
build:
output: true
name: 手動ビルド
order:
- uboot.md
- linux.md
- copy-sd-card.md
u-boot:
output: true
name: U-Boot
order:
- boot-eboot.md
- boot-usb.md
linux:
output: true
name: Linux
order:
- package-list.md
tips:
output: true
name: Tips
meta:
output: true
name: Meta