Website Summary Files Commits Branches @commit @diff @stats
path: root / website / layouts / partials
diff options
context:
space:
mode:
Commit3245f1f1404785d92c21eb381c08dee5a4be6bb7 (patch)
Author
 Dimitar Trendafilov <dimitar@coherent-labs.com>
2018-09-04 09:08:41 +0300
Committer
 Dimitar Trendafilov <dimitar@coherent-labs.com>
2018-09-04 09:08:41 +0300
Files3c245582fb5a2a9eaf8518f7272c03a6aaa2f635 /website/layouts/partials
IPL-3245f1f1404785d92c21eb381c08dee5a4be6bb7.tar
IPL-3245f1f1404785d92c21eb381c08dee5a4be6bb7.tar.gz
IPL-3245f1f1404785d92c21eb381c08dee5a4be6bb7.zip
Parentae12c0a482298e4da9b816137ceb6131c7d4b9e4 (diff)
Moved site to website folder
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 @@
+<!-- override this partial to add content before the body tag closes --> \ 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 @@
+<!-- override this partial to add content before the head tag closes --> \ 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 @@
+<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 -}}
+ <!-- Remove the <hr /> tag generated by blackfriday for footnotes -->
+ {{- $content := replace .Content "<div class=\"footnotes\">\n\n<hr />" "<div class=\"footnotes\">" -}}
+ <!-- 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> \ No newline at end of file