Patch-21 (#37)

* 修复一些问题

* 修复问题
This commit is contained in:
zkitefly 2023-01-08 18:13:11 +08:00 committed by GitHub
parent 6e18fc2b1f
commit 9eda7d014d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
19 changed files with 23 additions and 0 deletions

View File

@ -68,6 +68,10 @@ collections:
output: true output: true
permalink: /:collection/:path/ permalink: /:collection/:path/
downloads:
output: true
permalink: /:collection/:path/
defaults: defaults:
- scope: - scope:
path: "assets/img" path: "assets/img"
@ -132,6 +136,17 @@ defaults:
comments: false comments: false
sidebar: sidebar:
nav: "changelog" nav: "changelog"
- scope:
path: "_downloads"
type: downloads
values:
layout: single
read_time: false
author_profile: false
share: false
comments: false
sidebar:
nav: "downloads"
# Exclude from processing. # Exclude from processing.
# The following items will not be processed, by default. # The following items will not be processed, by default.

8
_pages/downloads.md Normal file
View File

@ -0,0 +1,8 @@
---
title: 下载
layout: collection
permalink: /downloads/
collection: downloads
entries_layout: grid
classes: wide
---