From 4d84c2a622929d6ff5ab7f40697bc4e47f76e057 Mon Sep 17 00:00:00 2001 From: Dimitri Staessens Date: Sun, 7 Jul 2019 12:22:18 +0200 Subject: themes: Remove terrassa theme --- themes/terrassa/layouts/partials/cta-btn.html | 4 -- themes/terrassa/layouts/partials/fontawesome.html | 15 ----- themes/terrassa/layouts/partials/footer.html | 66 ---------------------- .../terrassa/layouts/partials/hamburger-menu.html | 18 ------ themes/terrassa/layouts/partials/head.html | 21 ------- themes/terrassa/layouts/partials/header.html | 14 ----- themes/terrassa/layouts/partials/hero.html | 10 ---- themes/terrassa/layouts/partials/menu.html | 13 ----- themes/terrassa/layouts/partials/scripts.html | 8 --- themes/terrassa/layouts/partials/section.html | 6 -- themes/terrassa/layouts/partials/sections.html | 14 ----- themes/terrassa/layouts/partials/separator.html | 3 - themes/terrassa/layouts/partials/styles.html | 11 ---- 13 files changed, 203 deletions(-) delete mode 100644 themes/terrassa/layouts/partials/cta-btn.html delete mode 100644 themes/terrassa/layouts/partials/fontawesome.html delete mode 100644 themes/terrassa/layouts/partials/footer.html delete mode 100644 themes/terrassa/layouts/partials/hamburger-menu.html delete mode 100644 themes/terrassa/layouts/partials/head.html delete mode 100644 themes/terrassa/layouts/partials/header.html delete mode 100644 themes/terrassa/layouts/partials/hero.html delete mode 100644 themes/terrassa/layouts/partials/menu.html delete mode 100644 themes/terrassa/layouts/partials/scripts.html delete mode 100644 themes/terrassa/layouts/partials/section.html delete mode 100644 themes/terrassa/layouts/partials/sections.html delete mode 100644 themes/terrassa/layouts/partials/separator.html delete mode 100644 themes/terrassa/layouts/partials/styles.html (limited to 'themes/terrassa/layouts/partials') diff --git a/themes/terrassa/layouts/partials/cta-btn.html b/themes/terrassa/layouts/partials/cta-btn.html deleted file mode 100644 index 81f63a0..0000000 --- a/themes/terrassa/layouts/partials/cta-btn.html +++ /dev/null @@ -1,4 +0,0 @@ - - {{ $.Site.Params.cta.cta }} - \ No newline at end of file diff --git a/themes/terrassa/layouts/partials/fontawesome.html b/themes/terrassa/layouts/partials/fontawesome.html deleted file mode 100644 index 6cc5fd5..0000000 --- a/themes/terrassa/layouts/partials/fontawesome.html +++ /dev/null @@ -1,15 +0,0 @@ -{{ $version := "5.7.2" }} -{{ $integrity := "sha384-0pzryjIRos8mFBWMzSSZApWtPl/5++eIfzYmTgBBmXYdhvxPc+XcFEk+zJwDgWbP" }} -{{ if and $.Site.Params.fa.version $.Site.Params.fa.integrity }} -{{ $version = $.Site.Params.fa.version }} -{{ $integrity = $.Site.Params.fa.integrity }} -{{ end }} - -{{ $src := printf "%s%s%s" "https://use.fontawesome.com/releases/v" $version "/js/all.js" }} - - diff --git a/themes/terrassa/layouts/partials/footer.html b/themes/terrassa/layouts/partials/footer.html deleted file mode 100644 index b2b27bc..0000000 --- a/themes/terrassa/layouts/partials/footer.html +++ /dev/null @@ -1,66 +0,0 @@ - \ No newline at end of file diff --git a/themes/terrassa/layouts/partials/hamburger-menu.html b/themes/terrassa/layouts/partials/hamburger-menu.html deleted file mode 100644 index 40a9ad8..0000000 --- a/themes/terrassa/layouts/partials/hamburger-menu.html +++ /dev/null @@ -1,18 +0,0 @@ - \ No newline at end of file diff --git a/themes/terrassa/layouts/partials/head.html b/themes/terrassa/layouts/partials/head.html deleted file mode 100644 index 8d0b97f..0000000 --- a/themes/terrassa/layouts/partials/head.html +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - {{ $.Site.Title }} - {{ .Title }} - - - - {{ hugo.Generator }} - - {{ if .Site.GoogleAnalytics }} - {{ template "_internal/google_analytics.html" . }} - {{ end }} - - {{ template "_internal/twitter_cards.html" . }} - {{ template "_internal/opengraph.html" . }} - - - {{ partial "styles.html" . }} - diff --git a/themes/terrassa/layouts/partials/header.html b/themes/terrassa/layouts/partials/header.html deleted file mode 100644 index 212f470..0000000 --- a/themes/terrassa/layouts/partials/header.html +++ /dev/null @@ -1,14 +0,0 @@ -
- - - {{ partial "menu.html" . }} - {{ partial "hamburger-menu.html" . }} -
\ No newline at end of file diff --git a/themes/terrassa/layouts/partials/hero.html b/themes/terrassa/layouts/partials/hero.html deleted file mode 100644 index d3c2a30..0000000 --- a/themes/terrassa/layouts/partials/hero.html +++ /dev/null @@ -1,10 +0,0 @@ -
-
- {{ .Content }} - {{ if $.Site.Params.cta.show }} - {{ partial "cta-btn.html" . }} - {{ end }} -
-
\ No newline at end of file diff --git a/themes/terrassa/layouts/partials/menu.html b/themes/terrassa/layouts/partials/menu.html deleted file mode 100644 index abfb92b..0000000 --- a/themes/terrassa/layouts/partials/menu.html +++ /dev/null @@ -1,13 +0,0 @@ - \ No newline at end of file diff --git a/themes/terrassa/layouts/partials/scripts.html b/themes/terrassa/layouts/partials/scripts.html deleted file mode 100644 index 63e20b1..0000000 --- a/themes/terrassa/layouts/partials/scripts.html +++ /dev/null @@ -1,8 +0,0 @@ -{{ $header := resources.Get "js/header.js" }} -{{ $form := resources.Get "js/form.js" }} -{{ $bundle := slice $header $form | resources.Concat "js/bundle.js" }} -{{ $js := $bundle | resources.Minify | resources.Fingerprint "sha512" }} - - - -{{ partial "fontawesome.html" . }} diff --git a/themes/terrassa/layouts/partials/section.html b/themes/terrassa/layouts/partials/section.html deleted file mode 100644 index ef05877..0000000 --- a/themes/terrassa/layouts/partials/section.html +++ /dev/null @@ -1,6 +0,0 @@ -
-

{{ .Title }}

-
- {{ .Content }} -
-
\ No newline at end of file diff --git a/themes/terrassa/layouts/partials/sections.html b/themes/terrassa/layouts/partials/sections.html deleted file mode 100644 index eda7fd2..0000000 --- a/themes/terrassa/layouts/partials/sections.html +++ /dev/null @@ -1,14 +0,0 @@ -{{ $items := (where $.Site.RegularPages "Type" "sections") }} -{{ $len := (len $items) }} - -{{ range $i, $e := $items }} -{{ partial "section.html" . }} - -{{ if ne (add $i 1) $len }} - -{{ if $.Site.Params.separator.show }} -{{ partial "separator.html" . }} -{{ end }} - -{{ end }} -{{ end}} \ No newline at end of file diff --git a/themes/terrassa/layouts/partials/separator.html b/themes/terrassa/layouts/partials/separator.html deleted file mode 100644 index e890b22..0000000 --- a/themes/terrassa/layouts/partials/separator.html +++ /dev/null @@ -1,3 +0,0 @@ -
- -
\ No newline at end of file diff --git a/themes/terrassa/layouts/partials/styles.html b/themes/terrassa/layouts/partials/styles.html deleted file mode 100644 index cf06c3a..0000000 --- a/themes/terrassa/layouts/partials/styles.html +++ /dev/null @@ -1,11 +0,0 @@ -{{ $reset := resources.Get "css/reset.css" }} -{{ $base := resources.Get "css/base.css" }} -{{ $style := resources.Get "css/style.css" }} -{{ $media := resources.Get "css/media-queries.css" }} -{{ $animations := resources.Get "css/animations.css" }} -{{ $custom := resources.Get "css/custom.css" }} -{{ $bundle := slice $reset $base $style $media $animations $custom | resources.Concat "css/bundle.css" }} - -{{ $css := $bundle | resources.Minify }} - - \ No newline at end of file -- cgit v1.2.3