mirror of
https://github.com/Threnklyn/reveal-hugo.git
synced 2026-06-07 22:13:31 +02:00
Add second argument to union for section list layout
This commit is contained in:
@@ -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 -->
|
||||||
|
|||||||
Reference in New Issue
Block a user