-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(example): auto page for authors with no posts
- Loading branch information
1 parent
158488e
commit 51666fc
Showing
8 changed files
with
31 additions
and
11 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ janedoe: | |
test1: | ||
exclude: true # testing the exclude attribute | ||
name: "test1" | ||
bio: "Test is a demo author 1" | ||
bio: "This is demo author 1" | ||
email: "[email protected]" | ||
socials: | ||
github: "test1" | ||
|
@@ -26,8 +26,17 @@ test1: | |
# test2 is excluded via exclude attribute for authors autopage config in _config.yml | ||
test2: | ||
name: "test2" | ||
bio: "Test is a demo author 2" | ||
bio: "This is demo author 2" | ||
email: "[email protected]" | ||
socials: | ||
github: "test2" | ||
twitter: "test2" | ||
|
||
# test3 is not excluded so will get rendered but with a "No posts yet." message | ||
test3: | ||
name: "test3" | ||
bio: "This is demo author 3" | ||
email: "[email protected]" | ||
socials: | ||
github: "test3" | ||
twitter: "test3" |
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
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