From ea6082d632122e42ad118d514f87665c34ddf6c8 Mon Sep 17 00:00:00 2001 From: Dimitar Trendafilov Date: Wed, 29 Aug 2018 21:02:12 +0300 Subject: Initial commit - natrium: e006b529af8bee9422e4b2f8af0c6be4e8b41001 - reveal-hugo: 3bd0dbabe99e13a6c4970bbbfea12b0f084a0d1a --- layouts/partials/reveal-hugo/body.html | 1 + layouts/partials/reveal-hugo/head.html | 1 + layouts/partials/reveal-hugo/slides.html | 24 ++++++++++++++++++++++++ 3 files changed, 26 insertions(+) create mode 100644 layouts/partials/reveal-hugo/body.html create mode 100644 layouts/partials/reveal-hugo/head.html create mode 100644 layouts/partials/reveal-hugo/slides.html (limited to 'layouts/partials') diff --git a/layouts/partials/reveal-hugo/body.html b/layouts/partials/reveal-hugo/body.html new file mode 100644 index 0000000..f2dd4bf --- /dev/null +++ b/layouts/partials/reveal-hugo/body.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/layouts/partials/reveal-hugo/head.html b/layouts/partials/reveal-hugo/head.html new file mode 100644 index 0000000..ed1e892 --- /dev/null +++ b/layouts/partials/reveal-hugo/head.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/layouts/partials/reveal-hugo/slides.html b/layouts/partials/reveal-hugo/slides.html new file mode 100644 index 0000000..e578882 --- /dev/null +++ b/layouts/partials/reveal-hugo/slides.html @@ -0,0 +1,24 @@ +
+ +
+ + {{ range . -}} + + {{- if ne (len .Content) 0 -}} + + {{- $content := replace .Content "
\n\n
" "
" -}} + + {{- range (split $content "
") -}} + + {{- if in . "data-noprocess" -}} +{{- . | safeHTML -}} + {{- else }} +
+ {{- . | safeHTML }} +
+ {{- end -}} + {{- end -}} + {{- end -}} + {{- end }} +
+
\ No newline at end of file -- cgit v1.3.1-26-gb76a