Skip to content

Instantly share code, notes, and snippets.

@wvuwebgist
Created January 1, 2020 21:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wvuwebgist/3372728e0d3f110a893a8ccd9a4b5f4f to your computer and use it in GitHub Desktop.
Save wvuwebgist/3372728e0d3f110a893a8ccd9a4b5f4f to your computer and use it in GitHub Desktop.
A profile index CleanSlate CMS template that only outputs a linked name for each child page.
---
layout: default
---
<r:children:each>
<h2> <!-- Outputs each person's name: -->
<a href="<r:page:url />">
<r:page:content name="wvu-profile__name" />
</a>
</h2>
<!-- Probably pull more info here -->
</r:children:each>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment