Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: convert demo front matter from TOML to YAML
Unfortunately, the popular Markdown editors (VS Code and Typora) still don't support the more human-friendly TOML front matter syntax. Therefore, make it easier to edit content in popular editors by converting the demo front matter from TOML to YAML. Except for publications as they are primarily data based (rather than content based) and are automatically generated by Academic Admin. Also, continue to use TOML for configuration files. See #1069
- Loading branch information
Showing
15 changed files
with
290 additions
and
385 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 |
---|---|---|
@@ -1,8 +1,9 @@ | ||
+++ | ||
title = "Courses" | ||
--- | ||
title: Courses | ||
|
||
# Optional header image (relative to `static/img/` folder). | ||
header: | ||
caption: "" | ||
image: "" | ||
--- | ||
|
||
# Optional featured image (relative to `static/img/` folder). | ||
[header] | ||
image = "" | ||
caption = "" | ||
+++ |
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
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 |
---|---|---|
@@ -1,14 +1,14 @@ | ||
+++ | ||
title = "Posts" | ||
--- | ||
title: Posts | ||
|
||
# View. | ||
# 1 = List | ||
# 2 = Compact | ||
# 3 = Card | ||
view = 2 | ||
view: 2 | ||
|
||
# Optional featured image (relative to `static/img/` folder). | ||
[header] | ||
image = "" | ||
caption = "" | ||
+++ | ||
# Optional header image (relative to `static/img/` folder). | ||
header: | ||
caption: "" | ||
image: "" | ||
--- |
Oops, something went wrong.