diff --git a/layouts/collection/list.html b/layouts/collection/list.html deleted file mode 100755 index 85fe8db..0000000 --- a/layouts/collection/list.html +++ /dev/null @@ -1,147 +0,0 @@ -{{- define "main" }} - -{{- if (and site.Params.profileMode.enabled .IsHome) }} -{{- partial "index_profile.html" . }} -{{- else }} {{/* if not profileMode */}} - -{{- if not .IsHome | and .Title }} - -{{- end }} - - - - -{{- if .Content }} -
- {{- if not (.Param "disableAnchoredHeadings") }} - {{- partial "anchored_headings.html" .Content -}} - {{- else }}{{ .Content }}{{ end }} -
-{{- end }} - - -
- {{- range .Pages }} - - - - {{- $isHidden := (.Param "cover.hiddenInList") | default (.Param "cover.hidden") | default false }} - {{- partial "cover.html" (dict "cxt" . "IsSingle" false "isHidden" $isHidden) }} -
-

- {{ .Title }} -

-
- - -
- {{- end }} -
- - -{{- $pages := union .RegularPages .Sections }} - -{{- if .IsHome }} -{{- $pages = where site.RegularPages "Type" "in" site.Params.mainSections }} -{{- $pages = where $pages "Params.hiddenInHomeList" "!=" "true" }} -{{- end }} - -{{- $paginator := .Paginate $pages }} - -{{- if and .IsHome site.Params.homeInfoParams (eq $paginator.PageNumber 1) }} -{{- partial "home_info.html" . }} -{{- end }} - -{{- $term := .Data.Term }} -{{- range $index, $page := $paginator.Pages }} - -{{- $class := "post-entry" }} - -{{- $user_preferred := or site.Params.disableSpecial1stPost site.Params.homeInfoParams }} -{{- if (and $.IsHome (eq $paginator.PageNumber 1) (eq $index 0) (not $user_preferred)) }} -{{- $class = "first-entry" }} -{{- else if $term }} -{{- $class = "post-entry tag-entry" }} -{{- end }} - - -{{- end }} - -{{- if gt $paginator.TotalPages 1 }} - -{{- end }} - -{{- end }}{{/* end profileMode */}} - -{{- end }}{{- /* end main */ -}} diff --git a/layouts/livres/list.html b/layouts/livres/list.html deleted file mode 100755 index 6fba86e..0000000 --- a/layouts/livres/list.html +++ /dev/null @@ -1,163 +0,0 @@ -{{- define "main" }} - -{{- if (and site.Params.profileMode.enabled .IsHome) }} -{{- partial "index_profile.html" . }} -{{- else }} {{/* if not profileMode */}} - -{{- if not .IsHome | and .Title }} - -{{- end }} - - - -{{- if .Content }} -
- {{- if not (.Param "disableAnchoredHeadings") }} - {{- partial "anchored_headings.html" .Content -}} - {{- else }}{{ .Content }}{{ end }} -
-{{- end }} - -
- {{- range .Pages }} - - {{- $isHidden := (.Param "cover.hiddenInList") | default (.Param "cover.hidden") | default false }} - {{- partial "cover.html" (dict "cxt" . "IsSingle" false "isHidden" $isHidden) }} -
- {{ .Date.Format "2006-01-02" }} - -

- {{ .Title }} -

- {{ .Params.bookdata.author }} - {{ if isset .Params.bookdata "stargrade" }} - {{ $stargrade := .Params.bookdata.stargrade }} -
- {{ range seq 1 $stargrade }} - - - - {{ end }} - {{ if ne $stargrade 5 }} - {{ range seq 1 (sub 5 $stargrade) }} - - - - {{ end }} - {{ end }} -
- {{ end }} - - -
-
- {{- end }} -
- - -{{- $pages := union .RegularPages .Sections }} - -{{- if .IsHome }} -{{- $pages = where site.RegularPages "Type" "in" site.Params.mainSections }} -{{- $pages = where $pages "Params.hiddenInHomeList" "!=" "true" }} -{{- end }} - -{{- $paginator := .Paginate $pages }} - -{{- if and .IsHome site.Params.homeInfoParams (eq $paginator.PageNumber 1) }} -{{- partial "home_info.html" . }} -{{- end }} - -{{- $term := .Data.Term }} -{{- range $index, $page := $paginator.Pages }} - -{{- $class := "post-entry" }} - -{{- $user_preferred := or site.Params.disableSpecial1stPost site.Params.homeInfoParams }} -{{- if (and $.IsHome (eq $paginator.PageNumber 1) (eq $index 0) (not $user_preferred)) }} -{{- $class = "first-entry" }} -{{- else if $term }} -{{- $class = "post-entry tag-entry" }} -{{- end }} - - -{{- end }} - -{{- if gt $paginator.TotalPages 1 }} - -{{- end }} - -{{- end }}{{/* end profileMode */}} - -{{- end }}{{- /* end main */ -}}