Website Summary Files Commits Branches @commit @diff @stats
path: root / layouts / _default
diff options
context:
space:
mode:
diff --git a/layouts/_default/baseof.reveal.html b/layouts/_default/baseof.reveal.html
new file mode 100644
index 0000000..a25a4d7
--- /dev/null
+++ b/layouts/_default/baseof.reveal.html
@@ -0,0 +1,36 @@
+<!doctype html>
+<html lang="en">
+ <head>
+ {{ partial "layout/head" . }}
+ {{ partial "layout/theme" . }}
+ <!-- To insert markup before the closing head tag for all presentations,
+ create layouts/partials/reveal-hugo/head.html -->
+ {{- partial "reveal-hugo/head" . -}}
+ <!-- To insert markup at the end of the head tag for a specific presentation,
+ create layouts/partials/{section}/reveal-hugo/head.html -->
+ {{- $sectionHeadPartial := printf "%s/reveal-hugo/head" (.Page.Section | default "home") -}}
+ {{- if fileExists (printf "layouts/partials/%s.html" $sectionHeadPartial) -}}{{ partial $sectionHeadPartial . }}{{- end }}
+ </head>
+ <body>
+ <div class="reveal">
+ <div class="slides">
+ {{- block "main" . -}}{{- end -}}
+ </div>
+ <!-- To insert markup at the end of the .reveal tag for all presentations,
+ create layouts/partials/reveal-hugo/end.html -->
+ {{- partial "reveal-hugo/end" . -}}
+ <!-- To insert markup at the end of the .reveal tag for a specific presentation,
+ create layouts/partials/{section}/reveal-hugo/end.html -->
+ {{- $sectionHeadPartial := printf "%s/reveal-hugo/end" (.Page.Section | default "home") -}}
+ {{- if fileExists (printf "layouts/partials/%s.html" $sectionHeadPartial) -}}{{ partial $sectionHeadPartial . }}{{- end }}
+ </div>
+ {{- partial "layout/javascript" . }}
+ <!-- To insert markup before the closing body tag for all presentations,
+ create layouts/partials/reveal-hugo/body.html -->
+ {{- partial "reveal-hugo/body" . }}
+ <!-- To insert markup at the end of the head tag for a specific presentation,
+ create layouts/partials/{section}/reveal-hugo/body.html -->
+ {{- $sectionBodyPartial := printf "%s/reveal-hugo/body" (.Page.Section | default "home") -}}
+ {{- if fileExists (printf "layouts/partials/%s.html" $sectionBodyPartial) -}}{{ partial $sectionBodyPartial . }}{{- end }}
+ </body>
+</html>
diff --git a/layouts/_default/bundle.reveal.html b/layouts/_default/bundle.reveal.html
new file mode 100644
index 0000000..62fb5c8
--- /dev/null
+++ b/layouts/_default/bundle.reveal.html
@@ -0,0 +1,4 @@
+{{ define "main" }}
+ {{ partial "reveal-hugo/slides" (slice .Page) }}
+ {{ partial "reveal-hugo/slides" (.Resources.ByType "page") }}
+{{ end }}
diff --git a/layouts/_default/index.reveal.html b/layouts/_default/index.reveal.html
new file mode 100644
index 0000000..1b4b67c
--- /dev/null
+++ b/layouts/_default/index.reveal.html
@@ -0,0 +1,4 @@
+{{ define "main" }}
+ {{ partial "reveal-hugo/slides" (slice .Page) }}
+ {{ partial "reveal-hugo/slides" (where .Site.RegularPages "Type" "home") }}
+{{ end }}
diff --git a/layouts/_default/list.reveal.html b/layouts/_default/list.reveal.html
new file mode 100644
index 0000000..63e4b9d
--- /dev/null
+++ b/layouts/_default/list.reveal.html
@@ -0,0 +1,4 @@
+{{ define "main" }}
+ {{ partial "reveal-hugo/slides" (slice .Page) }}
+ {{ partial "reveal-hugo/slides" (where .Pages "Kind" "page") }}
+{{ end }}
diff --git a/layouts/_default/single.reveal.html b/layouts/_default/single.reveal.html
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/layouts/_default/single.reveal.html