mirror of
				https://github.com/mastermindzh/rickvanlieshout.com
				synced 2025-11-04 02:29:46 +01:00 
			
		
		
		
	Store pages in subfolders
This commit is contained in:
		@@ -10,7 +10,7 @@ collections:
 | 
			
		||||
    label: "Posts"
 | 
			
		||||
    folder: "content/posts"
 | 
			
		||||
    create: true
 | 
			
		||||
    slug: "{{year}}-{{month}}-{{day}}---{{slug}}"
 | 
			
		||||
    slug: "/{{year}}-{{month}}-{{day}}---{{slug}}/index.md"
 | 
			
		||||
    fields:
 | 
			
		||||
      - {label: "Template", name: "template", widget: "hidden", default: "post"}
 | 
			
		||||
      - {label: "Title", name: "title", widget: "string"}
 | 
			
		||||
@@ -26,7 +26,7 @@ collections:
 | 
			
		||||
    label: "Pages"
 | 
			
		||||
    folder: "content/pages"
 | 
			
		||||
    create: true
 | 
			
		||||
    slug: "{{slug}}"
 | 
			
		||||
    slug: "/{{slug}}/index.md"
 | 
			
		||||
    fields:
 | 
			
		||||
      - {label: "Template", name: "template", widget: "hidden", default: "page"}
 | 
			
		||||
      - {label: "Title", name: "title", widget: "string"}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user