Add second argument to union for section list layout
This commit is contained in:
parent
90807c2d09
commit
cf355d22d8
|
@ -3,7 +3,7 @@
|
||||||
<!-- Any section element inside of this container is displayed as a slide -->
|
<!-- Any section element inside of this container is displayed as a slide -->
|
||||||
<div class="slides">
|
<div class="slides">
|
||||||
<!-- Find all pages inside of this section -->
|
<!-- Find all pages inside of this section -->
|
||||||
{{ range union (slice .Page) }}
|
{{ range union (slice .Page) .Pages }}
|
||||||
<!-- Don't process empty content files -->
|
<!-- Don't process empty content files -->
|
||||||
{{ if ne (len .Content) 0 }}
|
{{ if ne (len .Content) 0 }}
|
||||||
<!-- Split the processed content by <hr /> tag -->
|
<!-- Split the processed content by <hr /> tag -->
|
||||||
|
|
Loading…
Reference in New Issue