Skip to content

Latest commit

 

History

History
35 lines (28 loc) · 452 Bytes

README.md

File metadata and controls

35 lines (28 loc) · 452 Bytes

Statamic Aardwolf by Candour

Usage

Example

  • Basic Menu Template
<ul>
  {{ aardwolf slug="primary" }}
    <li>
      {{ title }}
    </li>
  {{ /aardwolf }}
</ul>
  • Basic Recursive Template
<ul>
  {{ aardwolf slug="primary" }}
    <li>
      {{ title }}

      {{ if children }}
        <ul>
          {{*recursive children*}}
        </ul>
      {{ /if }}
    </li>
  {{ /aardwolf }}
</ul>