Add second argument to union for section list layout

This commit is contained in:
dzello 2018-04-26 22:16:27 -07:00
parent 90807c2d09
commit cf355d22d8

View file

@ -3,7 +3,7 @@
<!-- Any section element inside of this container is displayed as a slide -->
<div class="slides">
<!-- Find all pages inside of this section -->
{{ range union (slice .Page) }}
{{ range union (slice .Page) .Pages }}
<!-- Don't process empty content files -->
{{ if ne (len .Content) 0 }}
<!-- Split the processed content by <hr /> tag -->