Homepage

Best viewed on desktop. Click « on the right to expand info panel.


Scroll down for lookup rules for homepage.


Lookup Rules for homepage .Kind:

[directory] / filename       .  [<lang>] . [<outputformat>] . suffix

<type>      / <customlayout> .  [<lang>] . [<outputformat>] . <suffix>  <-- uncomment frontmatter line #2
<type>      /  index         .  [<lang>] . [<outputformat>] . <suffix>
<type>      / <kind>         .  [<lang>] . [<outputformat>] . <suffix>  <-- uncomment frontmatter line #1 (and/or #2)
<type>      /  list          .  [<lang>] . [<outputformat>] . <suffix>

               index         .  [<lang>] . [<outputformat>] . <suffix>   <-- see note A.1, A.3, B
              <kind>         .  [<lang>] . [<outputformat>] . <suffix>   <-- see note A.2
               list          .  [<lang>] . [<outputformat>] . <suffix>   <-- see note A.4

_default    /  index         .  [<lang>] . [<outputformat>] . <suffix>
_default    / <kind>         .  [<lang>] . [<outputformat>] . <suffix>   
_default    /  list          .  [<lang>] . [<outputformat>] . <suffix>   <-- present, ignored

Notes:

Note A.

  1. amp output using layouts/index.html (Also See Note B)
  2. json output using layouts/home.json = <kind>.<suffix>
  3. html output using layouts/index.html
  4. rss output using layouts/list.rss.xml = <list>.<outputformat>.<suffix> (note description tag)

Note B. The homepage is also configured to generate an AMP page. However, no **.amp.html layout files are found, that match the lookup order, so it uses layouts/index.html as instead.

Some Page Vars

DOT (.) Page(/_index.md)
.File _index.md
.Kind home
.Type page
.Section
.Sections Page(/clouds/_index.md), Page(/colors/_index.md), Page(/fruit/_index.md), Page(/letters/_index.md), Page(/metals/_index.md), Page(/trees/_index.md)
.Parent
.IsPage false
.IsNode true
.Pages Page(/circle/index.md), Page(/clouds/_index.md), Page(/colors/_index.md), Page(/crescent/index.md), Page(/ellipse/index.md), Page(/fruit/_index.md), Page(/layout-lookup.md), Page(/letters/_index.md), Page(/metals/_index.md), Page(/oval/index.md), Page(/page-resources.md), Page(/rectangle.md), Page(/rhombus.md), Page(/single-vs-list.md), Page(/square.md), Page(/trapezoid.md), Page(/trees/_index.md)
.Resources false

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

No Sibling Sections (.Parent.Sections)


Children Sections (.Sections)

PageTitleFile
Page(/clouds/_index.md) Clouds clouds/_index.md
Page(/colors/_index.md) Colors colors/_index.md
Page(/fruit/_index.md) Fruit fruit/_index.md
Page(/letters/_index.md) Letters letters/_index.md
Page(/metals/_index.md) Metals metals/_index.md
Page(/trees/_index.md) Trees trees/_index.md

Children Pages (.Pages)

PageFile
Circle - /circle/ circle/index.md
Clouds - /clouds/ clouds/_index.md
Colors - /colors/ colors/_index.md
Crescent - /crescent/ crescent/index.md
Ellipse - /ellipse/ ellipse/index.md
Fruit - /fruit/ fruit/_index.md
Layout Lookup Order - /layout-lookup/ layout-lookup.md
Letters - /letters/ letters/_index.md
Metals - /metals/ metals/_index.md
Oval - /oval/ oval/index.md
Page Resources - /page-resources/ page-resources.md
Rectangle - /rectangle/ rectangle.md
Rhombus - /rhombus/ rhombus.md
Single vs List - /single-vs-list/ single-vs-list.md
Square - /square/ square.md
Trapezoid - /trapezoid/ trapezoid.md
Trees - /trees/ trees/_index.md

Regular Pages (.RegularPages)

PageFile
Crescent crescent/index.md
Trapezoid trapezoid.md
Rectangle rectangle.md
Single vs List single-vs-list.md
Page Resources page-resources.md
Oval oval/index.md
Layout Lookup Order layout-lookup.md
Square square.md
Circle circle/index.md
Ellipse ellipse/index.md
Rhombus rhombus.md
Nimbus clouds/nimbus.md
Cirrus clouds/cirrus.md
Yellow Title colors/yellow/index.md
Green Title colors/green.md
Blue Title colors/blue/index.md
Orange Title colors/orange/index.md
Red Title colors/red.md
Limes fruit/citrus/limes.md
Nectarines fruit/stonefruit/nectarines.md
Strawberries fruit/berries/strawberries/index.md
Lemons fruit/citrus/lemons.md
Oranges fruit/citrus/oranges.md
Blackberries fruit/berries/blackberries/index.md
Banana fruit/banana.md
Plums fruit/stonefruit/plums.md
Raspberries fruit/berries/raspberries.md
Apricots fruit/stonefruit/apricots.md
Blueberries fruit/berries/blueberries/index.md
B letters/b.md
A letters/a.md
Silver metals/silver.md
Gold metals/gold.md
Pine trees/pine.md
Fig trees/fig.md
Acacia trees/acacia.md
Mahogany trees/mahogany.md

No Page Resources