From 3245f1f1404785d92c21eb381c08dee5a4be6bb7 Mon Sep 17 00:00:00 2001 From: Dimitar Trendafilov Date: Tue, 4 Sep 2018 09:08:41 +0300 Subject: Moved site to website folder --- website/layouts/partials/reveal-hugo/body.html | 1 + website/layouts/partials/reveal-hugo/head.html | 1 + website/layouts/partials/reveal-hugo/slides.html | 24 ++++++++++++++++++++++++ 3 files changed, 26 insertions(+) create mode 100644 website/layouts/partials/reveal-hugo/body.html create mode 100644 website/layouts/partials/reveal-hugo/head.html create mode 100644 website/layouts/partials/reveal-hugo/slides.html (limited to 'website/layouts/partials') diff --git a/website/layouts/partials/reveal-hugo/body.html b/website/layouts/partials/reveal-hugo/body.html new file mode 100644 index 0000000..f2dd4bf --- /dev/null +++ b/website/layouts/partials/reveal-hugo/body.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/website/layouts/partials/reveal-hugo/head.html b/website/layouts/partials/reveal-hugo/head.html new file mode 100644 index 0000000..ed1e892 --- /dev/null +++ b/website/layouts/partials/reveal-hugo/head.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/website/layouts/partials/reveal-hugo/slides.html b/website/layouts/partials/reveal-hugo/slides.html new file mode 100644 index 0000000..e578882 --- /dev/null +++ b/website/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