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/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 ---------------------------------------- 6 files changed, 68 deletions(-) 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/shortcodes') 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