From 003000620058fca757f15cf4d8a8bcb14a5264e6 Mon Sep 17 00:00:00 2001 From: Dimitar Trendafilov Date: Sun, 16 Aug 2020 08:36:54 +0300 Subject: Remove project copy of reveal-hugo theme files --- website/layouts/shortcodes/frag.html | 4 --- website/layouts/shortcodes/fragment.html | 4 --- website/layouts/shortcodes/markdown.html | 8 ------ website/layouts/shortcodes/note.html | 1 - website/layouts/shortcodes/section.html | 3 -- website/layouts/shortcodes/slide.html | 48 -------------------------------- 6 files changed, 68 deletions(-) delete mode 100644 website/layouts/shortcodes/frag.html delete mode 100644 website/layouts/shortcodes/fragment.html delete mode 100644 website/layouts/shortcodes/markdown.html delete mode 100644 website/layouts/shortcodes/note.html delete mode 100644 website/layouts/shortcodes/section.html delete mode 100644 website/layouts/shortcodes/slide.html (limited to 'website/layouts/shortcodes') diff --git a/website/layouts/shortcodes/frag.html b/website/layouts/shortcodes/frag.html deleted file mode 100644 index c1de8c8..0000000 --- a/website/layouts/shortcodes/frag.html +++ /dev/null @@ -1,4 +0,0 @@ - - {{ .Get "c" }} - \ No newline at end of file diff --git a/website/layouts/shortcodes/fragment.html b/website/layouts/shortcodes/fragment.html deleted file mode 100644 index dc41e03..0000000 --- a/website/layouts/shortcodes/fragment.html +++ /dev/null @@ -1,4 +0,0 @@ - - {{ .Inner }} - \ No newline at end of file diff --git a/website/layouts/shortcodes/markdown.html b/website/layouts/shortcodes/markdown.html deleted file mode 100644 index f5effbc..0000000 --- a/website/layouts/shortcodes/markdown.html +++ /dev/null @@ -1,8 +0,0 @@ -
- -
\ No newline at end of file diff --git a/website/layouts/shortcodes/note.html b/website/layouts/shortcodes/note.html deleted file mode 100644 index 5d28fce..0000000 --- a/website/layouts/shortcodes/note.html +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/website/layouts/shortcodes/section.html b/website/layouts/shortcodes/section.html deleted file mode 100644 index 43611a4..0000000 --- a/website/layouts/shortcodes/section.html +++ /dev/null @@ -1,3 +0,0 @@ -
-{{ .Inner }} -
\ No newline at end of file diff --git a/website/layouts/shortcodes/slide.html b/website/layouts/shortcodes/slide.html deleted file mode 100644 index 7bb41ec..0000000 --- a/website/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