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/404.html | 5 -- themes/terrassa/layouts/_default/baseof.html | 11 ---- themes/terrassa/layouts/_default/card.html | 28 --------- themes/terrassa/layouts/_default/list.html | 11 ---- themes/terrassa/layouts/_default/single.html | 37 ------------ themes/terrassa/layouts/_default/tags.html | 12 ---- themes/terrassa/layouts/contact/list.html | 46 --------------- themes/terrassa/layouts/index.html | 4 -- 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 ---- 21 files changed, 357 deletions(-) delete mode 100644 themes/terrassa/layouts/404.html delete mode 100644 themes/terrassa/layouts/_default/baseof.html delete mode 100644 themes/terrassa/layouts/_default/card.html delete mode 100644 themes/terrassa/layouts/_default/list.html delete mode 100644 themes/terrassa/layouts/_default/single.html delete mode 100644 themes/terrassa/layouts/_default/tags.html delete mode 100644 themes/terrassa/layouts/contact/list.html delete mode 100644 themes/terrassa/layouts/index.html 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') diff --git a/themes/terrassa/layouts/404.html b/themes/terrassa/layouts/404.html deleted file mode 100644 index 2384d5a..0000000 --- a/themes/terrassa/layouts/404.html +++ /dev/null @@ -1,5 +0,0 @@ -{{ define "main" }} -
-

404

-
-{{ end }} \ No newline at end of file diff --git a/themes/terrassa/layouts/_default/baseof.html b/themes/terrassa/layouts/_default/baseof.html deleted file mode 100644 index 6e1a936..0000000 --- a/themes/terrassa/layouts/_default/baseof.html +++ /dev/null @@ -1,11 +0,0 @@ - - -{{- partial "head.html" . -}} - - - {{- partial "header.html" . -}} - {{- block "main" . }}{{- end }} - {{- partial "footer.html" . -}} - - - \ No newline at end of file diff --git a/themes/terrassa/layouts/_default/card.html b/themes/terrassa/layouts/_default/card.html deleted file mode 100644 index 6a184f1..0000000 --- a/themes/terrassa/layouts/_default/card.html +++ /dev/null @@ -1,28 +0,0 @@ -
-
-

- - {{ .Title }} - -

- {{ if ne .Type "page" }} - {{ if and $.Site.Params.posts.showDate $.Site.Params.posts.showAuthor }} -

- {{ dateFormat $.Site.Params.posts.dateFormat .Date }} By {{ $.Params.author }}. -

- {{ else if $.Site.Params.posts.showDate }} -

{{ dateFormat $.Site.Params.posts.dateFormat .Date }}

- {{ else if $.Site.Params.posts.showAuthor }} -

By {{ $.Params.author }}.

- {{ end }} - {{ end }} -
- -
- {{ .Content | truncate 480 }} -
- -
- {{ .Render "tags" }} -
-
\ No newline at end of file diff --git a/themes/terrassa/layouts/_default/list.html b/themes/terrassa/layouts/_default/list.html deleted file mode 100644 index 06390f4..0000000 --- a/themes/terrassa/layouts/_default/list.html +++ /dev/null @@ -1,11 +0,0 @@ -{{ define "main" }} -
- {{ $paginator := .Paginate (where .Data.Pages.ByDate.Reverse "Type" "posts") }} - - {{ range $paginator.Pages }} - {{ .Render "card" }} - {{ end }} - - {{ template "_internal/pagination.html" . }} -
-{{ end }} diff --git a/themes/terrassa/layouts/_default/single.html b/themes/terrassa/layouts/_default/single.html deleted file mode 100644 index 9f108f7..0000000 --- a/themes/terrassa/layouts/_default/single.html +++ /dev/null @@ -1,37 +0,0 @@ -{{ define "main" }} -
-
-

{{ .Title }}

- {{ if .Description }} -

{{ .Description }}

- {{ end }} - {{ if ne .Type "page" }} - {{ if and $.Site.Params.posts.showDate $.Site.Params.posts.showAuthor }} - - {{ else if $.Site.Params.posts.showDate }} - - {{ else if $.Site.Params.posts.showAuthor }} - - {{ end }} - {{ end }} -
- - {{ if ne .Type "page" }} -
- {{ .Content }} -
- {{ else }} -
- {{ .Content }} -
- {{ end }} - - {{ if ne .Type "page" }} -
- {{ .Render "tags" }} -
- {{ end }} -
-{{ end }} \ No newline at end of file diff --git a/themes/terrassa/layouts/_default/tags.html b/themes/terrassa/layouts/_default/tags.html deleted file mode 100644 index 4618ae3..0000000 --- a/themes/terrassa/layouts/_default/tags.html +++ /dev/null @@ -1,12 +0,0 @@ -{{ if and $.Site.Params.posts.showTags .Params.Tags }} - -{{ end }} diff --git a/themes/terrassa/layouts/contact/list.html b/themes/terrassa/layouts/contact/list.html deleted file mode 100644 index 83b7402..0000000 --- a/themes/terrassa/layouts/contact/list.html +++ /dev/null @@ -1,46 +0,0 @@ -{{ define "main" }} -
-

{{ .Title }}

-

{{ .Description }}

- - {{ if $.Site.Params.form.netlify }} -
- {{ else }} - - {{ end }} - - -
- - -
- - - - - -
- - -
- - -
- -
- -
-
-{{ end }} \ No newline at end of file diff --git a/themes/terrassa/layouts/index.html b/themes/terrassa/layouts/index.html deleted file mode 100644 index 8575e89..0000000 --- a/themes/terrassa/layouts/index.html +++ /dev/null @@ -1,4 +0,0 @@ -{{ define "main" }} -{{ partial "hero.html" . }} -{{ partial "sections.html" . }} -{{ end }} \ No newline at end of file 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