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/_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 --------- 5 files changed, 99 deletions(-) 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 (limited to 'themes/terrassa/layouts/_default') 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 }} -- cgit v1.2.3