-
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.
Prevent creating collections for hugo folders with only branch index β¦
β¦files
- Loading branch information
1 parent
eafa59c
commit f59695d
Showing
218 changed files
with
63,877 additions
and
36 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
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
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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: Hugo one branch index | ||
|
||
steps: | ||
- step: I have a "src/hugo.yaml" file with the content "" | ||
- step: I have a "src/content/_index.md" file with the content "" | ||
- ref: ./../core/run_gadget.toolproof.yml | ||
- snapshot: stdout | ||
snapshot_content: |- | ||
β{ | ||
β "ssg": "hugo", | ||
β "config": { | ||
β "collections_config": { | ||
β "content": { | ||
β "path": "content", | ||
β "name": "Content", | ||
β "icon": "wysiwyg" | ||
β } | ||
β }, | ||
β "timezone": "Pacific/Auckland", | ||
β "markdown": { | ||
β "engine": "commonmark", | ||
β "options": { | ||
β "gfm": true, | ||
β "linkify": false, | ||
β "table": false, | ||
β "strikethrough": false, | ||
β "subscript": false, | ||
β "superscript": false, | ||
β "heading_ids": false, | ||
β "breaks": false, | ||
β "xhtml": false, | ||
β "attributes": false, | ||
β "typographer": false, | ||
β "treat_indentation_as_code": true | ||
β } | ||
β } | ||
β } | ||
β} |
38 changes: 38 additions & 0 deletions
38
toolproof_tests/hugo/one-nested-branch-index.toolproof.yml
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,38 @@ | ||
name: Hugo one nested branch index | ||
|
||
steps: | ||
- step: I have a "src/hugo.yaml" file with the content "" | ||
- step: I have a "src/content/blog/_index.md" file with the content "" | ||
- ref: ./../core/run_gadget.toolproof.yml | ||
- snapshot: stdout | ||
snapshot_content: |- | ||
β{ | ||
β "ssg": "hugo", | ||
β "config": { | ||
β "collections_config": { | ||
β "content_blog": { | ||
β "path": "content/blog", | ||
β "name": "Content Blog", | ||
β "icon": "content_copy" | ||
β } | ||
β }, | ||
β "timezone": "Pacific/Auckland", | ||
β "markdown": { | ||
β "engine": "commonmark", | ||
β "options": { | ||
β "gfm": true, | ||
β "linkify": false, | ||
β "table": false, | ||
β "strikethrough": false, | ||
β "subscript": false, | ||
β "superscript": false, | ||
β "heading_ids": false, | ||
β "breaks": false, | ||
β "xhtml": false, | ||
β "attributes": false, | ||
β "typographer": false, | ||
β "treat_indentation_as_code": true | ||
β } | ||
β } | ||
β } | ||
β} |
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
Oops, something went wrong.