Skip to content

Example website demonstrating sub-collections via custom filter plugins

Notifications You must be signed in to change notification settings

ruhoh/sub-collections

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Sample ruhoh website demonstrating the page.filter custom plugin (see plugins folder).

page.filter is the same as collection.filter only it automatically scopes itself to the directory that page is in.

<h3>Track Listings</h3>
<ul>
{{# page.filter.tracks/ }}
  <li>
    <a href="{{ url }}">({{ title }}) {{ url }}</a>
  </li>
{{/ page.filter.tracks/ }}
</ul>

Examples can be seen by running this website and going to:

About

Example website demonstrating sub-collections via custom filter plugins

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages