themen-hugo-35c3-reveal/layouts/partials/reveal-hugo/slides.html

22 lines
736 B
HTML

<div class="reveal">
<!-- Any section element inside of this container is displayed as a slide -->
<div class="slides">
<!-- Use the array of pages passed as a param -->
{{ range . -}}
<!-- Don't process empty content files -->
{{- if ne (len .Content) 0 -}}
<!-- Split the processed content by <hr /> tag -->
{{- range (split .Content "<hr />") -}}
<!-- Only wrap in <section> tag if not already wrapped by shortcode -->
{{- if in . "data-noprocess" -}}
{{- . | safeHTML -}}
{{- else -}}
<section>
{{ . | safeHTML }}
</section>
{{ end -}}
{{- end -}}
{{- end -}}
{{- end }}
</div>
</div>