-
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.
Merge pull request #20 from CloudCannon/hugo/solo-branch-index-collec…
…tions Prevent creating collections for hugo folders with only branch index files
- Loading branch information
Showing
218 changed files
with
63,883 additions
and
39 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.