[support] multiple input in range .Site.Pages.Children
Opened this issue · 1 comments
Deleted user commented
I have this
<ul reversed class="post-list">
{{ range .Site.Pages.Children "Foo/" }}
<li>{{ template "date" .Date }} - <a href="{{ $.Rel .Url }}">{{ .Title }}</a></li>
{{ end }}
</ul>
Can I have this?
<ul reversed class="post-list">
{{ range .Site.Pages.Children "Foo/" "Baa/" }}
<li>{{ template "date" .Date }} - <a href="{{ $.Rel .Url }}">{{ .Title }}</a></li>
{{ end }}
</ul>
piranha commented
That's a nice idea! I'll try to free some time to implement it, or would gladly accept a pull request. :)