Berries

For list pages, page resources must live in the same directory as the _index.md file.

content/fruit/berries/
├── berries.pdf             <-- Resource
├── blackberries            <-- Child page
│   └── index.md
├── blueberries             <-- Child page
│   ├── index.md
│   ├── lorem.md            <-- Resource of CHILD page
│   └── photos
│       └── blueberry.jpg   <-- Resource of CHILD page
├── berries.jpg             <-- Resource
├── _index.md               <-- Page
├── raspberries.md          <-- Child page
├── red-currants            <-- NOT PAGE | NOT RESOURCE
│   └── red-currants.jpg
└── strawberries            <-- Child Page
    └── index.md


themes/theme/shortcodes/pageresources.html

Page Resources:

Type Resource
image
berries.jpg
pdf berries.pdf

Go Back

Some Page Vars

DOT (.) Page(/fruit/berries/_index.md)
.File fruit/berries/_index.md
.Kind section
.Type fruit
.Section fruit
.Sections
.Parent Page(/fruit/_index.md)
.IsPage false
.IsNode true
.Pages Page(/fruit/berries/blackberries/index.md), Page(/fruit/berries/blueberries/index.md), Page(/fruit/berries/raspberries.md), Page(/fruit/berries/strawberries/index.md)
.Resources true

Content Structure

Homepage _index.md
  1. Circle circle/index.md
  2. Clouds clouds/_index.md
    1. Cirrus clouds/cirrus.md
    2. Nimbus clouds/nimbus.md
  3. Colors colors/_index.md
    1. Blue Title colors/blue/index.md
    2. Green Title colors/green.md
    3. Orange Title colors/orange/index.md
    4. Red Title colors/red.md
    5. Yellow Title colors/yellow/index.md
  4. Crescent crescent/index.md
  5. Ellipse ellipse/index.md
  6. Fruit fruit/_index.md
    1. Banana fruit/banana.md
    2. Berries fruit/berries/_index.md
      1. Blackberries fruit/berries/blackberries/index.md
      2. Blueberries fruit/berries/blueberries/index.md
      3. Raspberries fruit/berries/raspberries.md
      4. Strawberries fruit/berries/strawberries/index.md
    3. Citrus fruit/citrus/_index.md
      1. Lemons fruit/citrus/lemons.md
      2. Limes fruit/citrus/limes.md
      3. Oranges fruit/citrus/oranges.md
    4. Stonefruit fruit/stonefruit/_index.md
      1. Apricots fruit/stonefruit/apricots.md
      2. Nectarines fruit/stonefruit/nectarines.md
      3. Plums fruit/stonefruit/plums.md
  7. Layout Lookup Order layout-lookup.md
  8. Letters letters/_index.md
    1. A letters/a.md
    2. B letters/b.md
  9. Metals metals/_index.md
    1. Gold metals/gold.md
    2. Silver metals/silver.md
  10. Oval oval/index.md
  11. Page Resources page-resources.md
  12. Rectangle rectangle.md
  13. Rhombus rhombus.md
  14. Single vs List single-vs-list.md
  15. Square square.md
  16. Trapezoid trapezoid.md
  17. Trees trees/_index.md
    1. Acacia trees/acacia.md
    2. Fig trees/fig.md
    3. Mahogany trees/mahogany.md
    4. Pine trees/pine.md

Sibling Sections (.Parent.Sections)

PageTitleFile
Page(/fruit/berries/_index.md) Berries fruit/berries/_index.md
Page(/fruit/citrus/_index.md) Citrus fruit/citrus/_index.md
Page(/fruit/stonefruit/_index.md) Stonefruit fruit/stonefruit/_index.md

No Children Sections (.Sections)


Children Pages (.Pages)

PageFile
Blackberries - /fruit/berries/blackberries/ fruit/berries/blackberries/index.md
Blueberries - /fruit/berries/blueberries/ fruit/berries/blueberries/index.md
Raspberries - /fruit/berries/raspberries/ fruit/berries/raspberries.md
Strawberries - /fruit/berries/strawberries/ fruit/berries/strawberries/index.md

Resources

Type Resource
image
pdf berries.pdf