From 957e26a6f30d40e2bff042d76a327d0a2cfbabae Mon Sep 17 00:00:00 2001 From: Adin Scannell Date: Mon, 18 Nov 2019 13:40:27 -0800 Subject: Move website to a simpler jekyll-based template This will allow us to merge the site into the main repository. This merge allows the documentation to be kept up-to-date and synchronized with the main project. Builds will be triggered on any update, removing the need for the cron-based reploy. --- layouts/shortcodes/blocks/cover.html | 56 ---------------------------------- layouts/shortcodes/blocks/feature.html | 10 ------ layouts/shortcodes/blocks/lead.html | 11 ------- layouts/shortcodes/blocks/section.html | 12 -------- 4 files changed, 89 deletions(-) delete mode 100644 layouts/shortcodes/blocks/cover.html delete mode 100644 layouts/shortcodes/blocks/feature.html delete mode 100644 layouts/shortcodes/blocks/lead.html delete mode 100644 layouts/shortcodes/blocks/section.html (limited to 'layouts/shortcodes/blocks') diff --git a/layouts/shortcodes/blocks/cover.html b/layouts/shortcodes/blocks/cover.html deleted file mode 100644 index 367d93b69..000000000 --- a/layouts/shortcodes/blocks/cover.html +++ /dev/null @@ -1,56 +0,0 @@ -{{ $blockID := printf "td-cover-block-%d" .Ordinal }} -{{ $promo_image := (.Page.Resources.ByType "image").GetMatch "**background*" }} -{{ $logo_image := (.Page.Resources.ByType "image").GetMatch "**logo*" }} -{{ $col_id := .Get "color" | default "dark" }} -{{ $image_anchor := .Get "image_anchor" | default "smart" }} -{{ $logo_anchor := .Get "logo_anchor" | default "smart" }} -{{/* Height can be one of: auto, min, med, max, full. */}} -{{ $height := .Get "height" | default "max" }} -{{ with $promo_image }} -{{ $promo_image_big := (.Fill (printf "1920x1080 %s" $image_anchor)) }} -{{ $promo_image_small := (.Fill (printf "960x540 %s" $image_anchor)) }} - - - -{{ end }} -
-
-
-
- - - {{ with .Get "title" }}

{{ $title := . }}{{ with $logo_image }}{{ $logo_image_resized := (.Fit (printf "70x70 %s" $logo_anchor)) }}{{ end }}{{ $title | html }}

{{ end }} - {{ with .Get "subtitle" }}

{{ . | html }}

{{ end }} -
- {{ .Inner }} -
-
-
-
-
diff --git a/layouts/shortcodes/blocks/feature.html b/layouts/shortcodes/blocks/feature.html deleted file mode 100644 index f0b4b37c8..000000000 --- a/layouts/shortcodes/blocks/feature.html +++ /dev/null @@ -1,10 +0,0 @@ -{{ $icon := .Get "icon" | default "fa-lightbulb" }} -{{ $url_text := .Get "url_text" }} -
-
- -
-

{{ .Get "title" | markdownify }}

-
{{ .Inner }}
- {{ with .Get "url" }}

{{ with $url_text }}{{ $url_text }}{{ else }}{{ T "ui_read_more" }}{{ end }} …

{{ end }} -
diff --git a/layouts/shortcodes/blocks/lead.html b/layouts/shortcodes/blocks/lead.html deleted file mode 100644 index 7825eac70..000000000 --- a/layouts/shortcodes/blocks/lead.html +++ /dev/null @@ -1,11 +0,0 @@ -{{ $col_id := .Get "color" | default .Ordinal }} -{{ $height := .Get "height" | default "auto" }} -{{/* Height can be one of: auto, min, med, max, full. */}} - -
-
- - {{ .Inner }} - -
-
diff --git a/layouts/shortcodes/blocks/section.html b/layouts/shortcodes/blocks/section.html deleted file mode 100644 index de7e6c8f1..000000000 --- a/layouts/shortcodes/blocks/section.html +++ /dev/null @@ -1,12 +0,0 @@ -{{ $col_id := .Get "color" | default .Ordinal }} -{{ $height := .Get "height" | default "auto" }} - -
-
-
-
- {{ .Inner }} -
-
-
-
-- cgit v1.2.3