You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/digging-deeper/collections.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,13 +35,13 @@ You may need to enable the module by adding the feature to your Hyde configurati
35
35
36
36
To make collections easy to use and understand, Hyde makes a few assumptions about the structure of your collections. Follow these conventions and creating dynamic static sites will be a breeze.
37
37
38
-
1. Collections are stored in the new `_data` directory.
38
+
1. Collections are stored in the new `resources/collections` directory.
39
39
2. Each subdirectory in here can be a collection.
40
40
3. Data collections are automatically generated when you use the Facade you will learn about below.
41
41
4. When using one of the facades, you need to specify the collection name, this name is the name of the subdirectory.
42
42
5. Each subdirectory should probably only have the same filetype to prevent developer confusion, but this is not enforced.
43
43
6. Unlike Markdown pages, files starting with underscores are not ignored.
44
-
7. You can customize the base `_data` directory through a service provider.
44
+
7. You can customize the base `resources/collections` directory through a service provider.
45
45
46
46
47
47
### Markdown Collections - Hands on Guide
@@ -57,7 +57,7 @@ In it we will place Markdown files. Each file will be a testimonial. The Markdow
@@ -68,7 +68,7 @@ Lorem ipsum dolor sit amet, consectetur adipiscing elit...
68
68
Let's take a look at our directory structure. I just copied the same file a few times. You can name the files anything you want, I kept it simple and just numbered them.
0 commit comments