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 --- layouts/_default/baseof.reveal.html | 87 -------------------------------- layouts/_default/index.reveal.html | 3 -- layouts/_default/list.reveal.html | 3 -- layouts/_default/single.reveal.html | 0 layouts/partials/reveal-hugo/body.html | 1 - layouts/partials/reveal-hugo/head.html | 1 - layouts/partials/reveal-hugo/slides.html | 24 --------- layouts/shortcodes/frag.html | 4 -- layouts/shortcodes/fragment.html | 4 -- layouts/shortcodes/markdown.html | 8 --- layouts/shortcodes/note.html | 1 - layouts/shortcodes/section.html | 3 -- layouts/shortcodes/slide.html | 48 ------------------ 13 files changed, 187 deletions(-) delete mode 100644 layouts/_default/baseof.reveal.html delete mode 100644 layouts/_default/index.reveal.html delete mode 100644 layouts/_default/list.reveal.html delete mode 100644 layouts/_default/single.reveal.html delete mode 100644 layouts/partials/reveal-hugo/body.html delete mode 100644 layouts/partials/reveal-hugo/head.html delete mode 100644 layouts/partials/reveal-hugo/slides.html delete mode 100644 layouts/shortcodes/frag.html delete mode 100644 layouts/shortcodes/fragment.html delete mode 100644 layouts/shortcodes/markdown.html delete mode 100644 layouts/shortcodes/note.html delete mode 100644 layouts/shortcodes/section.html delete mode 100644 layouts/shortcodes/slide.html (limited to 'layouts') diff --git a/layouts/_default/baseof.reveal.html b/layouts/_default/baseof.reveal.html deleted file mode 100644 index 1e3868b..0000000 --- a/layouts/_default/baseof.reveal.html +++ /dev/null @@ -1,87 +0,0 @@ - -{{- $reveal_cdn := "https://cdnjs.cloudflare.com/ajax/libs/reveal.js/3.6.0" -}} -{{- $highlight_cdn := "https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0" -}} - - - - {{ or .Page.Title .Site.Title }} - - - - - - - - {{- $theme := or .Page.Params.reveal_hugo.theme .Site.Params.reveal_hugo.theme .Site.Data.reveal_hugo.defaults.theme "black" -}} - {{- $custom_theme := or .Page.Params.reveal_hugo.custom_theme .Site.Params.reveal_hugo.custom_theme -}} - {{- if $custom_theme -}} - - {{ else -}} - - {{- end -}} - - {{- $highlight_theme := or .Page.Params.reveal_hugo.highlight_theme .Site.Params.reveal_hugo.highlight_theme .Site.Data.reveal_hugo.defaults.highlight_theme "default" -}} - - - - - {{- partial "reveal-hugo/head" . -}} - - - {{- block "main" . -}}{{- end -}} - - - - - - - - - {{ partial "reveal-hugo/body" . }} - - diff --git a/layouts/_default/index.reveal.html b/layouts/_default/index.reveal.html deleted file mode 100644 index 8faa735..0000000 --- a/layouts/_default/index.reveal.html +++ /dev/null @@ -1,3 +0,0 @@ -{{ define "main" }} - {{ partial "reveal-hugo/slides" (union (slice .Page) (where .Data.Pages "Type" "home")) }} -{{ end }} diff --git a/layouts/_default/list.reveal.html b/layouts/_default/list.reveal.html deleted file mode 100644 index 6c3c470..0000000 --- a/layouts/_default/list.reveal.html +++ /dev/null @@ -1,3 +0,0 @@ -{{ define "main" }} - {{ partial "reveal-hugo/slides" (union (slice .Page) .Pages) }} -{{ end }} diff --git a/layouts/_default/single.reveal.html b/layouts/_default/single.reveal.html deleted file mode 100644 index e69de29..0000000 diff --git a/layouts/partials/reveal-hugo/body.html b/layouts/partials/reveal-hugo/body.html deleted file mode 100644 index f2dd4bf..0000000 --- a/layouts/partials/reveal-hugo/body.html +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/layouts/partials/reveal-hugo/head.html b/layouts/partials/reveal-hugo/head.html deleted file mode 100644 index ed1e892..0000000 --- a/layouts/partials/reveal-hugo/head.html +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/layouts/partials/reveal-hugo/slides.html b/layouts/partials/reveal-hugo/slides.html deleted file mode 100644 index e578882..0000000 --- a/layouts/partials/reveal-hugo/slides.html +++ /dev/null @@ -1,24 +0,0 @@ -
- -
- - {{ 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 diff --git a/layouts/shortcodes/frag.html b/layouts/shortcodes/frag.html deleted file mode 100644 index c1de8c8..0000000 --- a/layouts/shortcodes/frag.html +++ /dev/null @@ -1,4 +0,0 @@ - - {{ .Get "c" }} - \ No newline at end of file diff --git a/layouts/shortcodes/fragment.html b/layouts/shortcodes/fragment.html deleted file mode 100644 index dc41e03..0000000 --- a/layouts/shortcodes/fragment.html +++ /dev/null @@ -1,4 +0,0 @@ - - {{ .Inner }} - \ No newline at end of file diff --git a/layouts/shortcodes/markdown.html b/layouts/shortcodes/markdown.html deleted file mode 100644 index f5effbc..0000000 --- a/layouts/shortcodes/markdown.html +++ /dev/null @@ -1,8 +0,0 @@ -
- -
\ No newline at end of file diff --git a/layouts/shortcodes/note.html b/layouts/shortcodes/note.html deleted file mode 100644 index 5d28fce..0000000 --- a/layouts/shortcodes/note.html +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/layouts/shortcodes/section.html b/layouts/shortcodes/section.html deleted file mode 100644 index 43611a4..0000000 --- a/layouts/shortcodes/section.html +++ /dev/null @@ -1,3 +0,0 @@ -
-{{ .Inner }} -
\ No newline at end of file diff --git a/layouts/shortcodes/slide.html b/layouts/shortcodes/slide.html deleted file mode 100644 index 7bb41ec..0000000 --- a/layouts/shortcodes/slide.html +++ /dev/null @@ -1,48 +0,0 @@ -{{- $scratch := .Scratch -}} -{{- $scratch.Set "slides" slice -}} -{{- if len .Inner -}} - {{- $scratch.Add "slides" .Inner -}} -{{- end -}} -{{- $content := .Get "content" -}} -{{- if $content -}} - {{- $lookup := split $content "." }} - {{- $html := index .Page.Site.Data (index $lookup 0) (index $lookup 1) | markdownify -}} - {{- $slides := split $html "
" -}} - {{- range $slides -}} - {{- $scratch.Add "slides" . -}} - {{- end -}} -{{- end -}} -{{- $params := . -}} -{{- $noPrefix := slice "id" "class" -}} -{{- $noOutput := slice "content" "template" -}} -{{- range $scratch.Get "slides" }} -
- {{ . | safeHTML }} -
-{{- end -}} \ No newline at end of file -- cgit v1.3.1-26-gb76a