2019-12-01 11:58:24 +00:00
|
|
|
<div class="reveal">
|
2019-12-02 09:46:53 +00:00
|
|
|
<div class="slides">
|
|
|
|
|
|
|
|
{{ range $.Params.reveal }}
|
2019-12-02 16:34:00 +00:00
|
|
|
<section>
|
|
|
|
{{ range $k, $v := . }}
|
|
|
|
|
|
|
|
{{ if eq $k "main" }}
|
|
|
|
{{ range $v }}
|
|
|
|
{{ range .sub }}
|
|
|
|
<section data-markdown>
|
|
|
|
<textarea data-template>
|
|
|
|
{{ . }}
|
|
|
|
</textarea>
|
|
|
|
</section>
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ else if eq $k "fragment" }}
|
|
|
|
|
|
|
|
{{ $result := "" }}
|
|
|
|
{{ range $v }}
|
|
|
|
{{ range .sub }}
|
|
|
|
{{ $result = (print $result "<span class='fragment'>" (. | markdownify) "</span>") }}
|
|
|
|
{{ end }}
|
2019-12-02 09:46:53 +00:00
|
|
|
{{ end }}
|
2019-12-02 16:34:00 +00:00
|
|
|
|
|
|
|
<section data-markdown>
|
|
|
|
<textarea data-template>
|
|
|
|
{{ $result }}
|
|
|
|
</textarea>
|
|
|
|
</section>
|
|
|
|
{{ end }}
|
|
|
|
|
2019-12-02 09:46:53 +00:00
|
|
|
{{ end }}
|
|
|
|
</section>
|
|
|
|
{{ end }}
|
2019-12-02 16:34:00 +00:00
|
|
|
|
2019-12-02 09:46:53 +00:00
|
|
|
</div>
|
2019-12-01 11:58:24 +00:00
|
|
|
</div>
|
|
|
|
|
2019-11-30 17:28:55 +00:00
|
|
|
{{ partial "script/pt-script" . }}
|