-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
850e352
commit 88fc98e
Showing
5 changed files
with
811 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
backend: | ||
name: github | ||
branch: main | ||
repo: BUCTSNC/docs | ||
|
||
# These lines should *not* be indented | ||
media_folder: "static/img" # Media files will be stored in the repo under static/images/uploads | ||
public_folder: "/img/" # The src attribute for uploaded media will begin with /images/uploads | ||
|
||
site_url: https://docs.ccsn.dev/ | ||
display_url: https://docs.ccsn.dev/ | ||
|
||
locale: 'zh' | ||
|
||
slug: | ||
encoding: 'unicode' | ||
clean_accents: true | ||
sanitize_replacement: '-' | ||
|
||
collections: | ||
- name: docs | ||
label: "docs" | ||
folder: docs | ||
identifier_field: title | ||
extension: md | ||
format: frontmatter | ||
widget: "list" | ||
create: true | ||
slug: "{{slug}}" # Filename template | ||
fields: | ||
- { name: title, label: Title, widget: string } | ||
- { name: body, label: Body, widget: markdown } | ||
- { name: slug, label: Slug, widget: string } | ||
- label: "Tags" | ||
name: "tags" | ||
widget: "list" | ||
- label: "Authors" | ||
name: "authors" | ||
widget: "list" | ||
fields: | ||
- { name: name, label: Name, widget: string } | ||
- { name: title, label: Title, widget: string } | ||
- { name: url, label: URL, widget: string } | ||
- { name: imageUrl, label: ImageURL, widget: string } | ||
- name: blog | ||
label: "blog" | ||
folder: blog | ||
identifier_field: title | ||
extension: md | ||
widget: "list" | ||
create: true | ||
slug: "{{year}}-{{month}}-{{day}}-{{slug}}" # Filename template, e.g., YYYY-MM-DD-title.md | ||
fields: | ||
- { name: title, label: Title, widget: string } | ||
- { name: body, label: Body, widget: markdown } | ||
- { name: slug, label: Slug, widget: string } | ||
- label: "Tags" | ||
name: "tags" | ||
widget: "list" | ||
- label: "Authors" | ||
name: "authors" | ||
widget: "list" | ||
fields: | ||
- { name: name, label: Name, widget: string } | ||
- { name: title, label: Title, widget: string } | ||
- { name: url, label: URL, widget: string } | ||
- { name: imageUrl, label: ImageURL, widget: string } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<!doctype html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Content Manager</title> | ||
</head> | ||
<body> | ||
<!-- Include the script that builds the page and powers Decap CMS --> | ||
<script src="./netlify-cms.js"></script> | ||
</body> | ||
</html> |
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.