hugo-theme-zzo/layouts/_default/taxonomy.html

32 lines
1.1 KiB
HTML
Raw Permalink Normal View History

2019-11-04 13:09:44 +00:00
{{ define "main" }}
2019-12-08 14:29:02 +00:00
2020-01-23 17:46:03 +00:00
<main class="main inner" data-sidebar-position="{{ $.Param "sidebarPosition" }}">
2020-01-31 06:06:30 +00:00
<div class="list__main {{ if $.Param "enableSidebar" }}{{ if eq ($.Param "sidebarPosition") "left" }}mr{{ else }}lm{{ end }}{{ else }}lmr{{ end }}">
{{ partial "body/breadcrumb" . }}
2019-11-04 13:09:44 +00:00
<header class="list__header">
<h5 class="list__header--title capitalize h5">{{ .Title }}</h5>
2019-11-04 13:09:44 +00:00
</header>
2019-11-04 13:09:44 +00:00
<div class="list__header--desc p2">
{{.Content}}
</div>
<div class="summary__container" data-display="block">
{{ range .Paginator.Pages.ByWeight }}
{{ .Render "summary" }}
2019-11-04 13:09:44 +00:00
{{ end }}
{{ partial "pagination/pagination" . }}
2019-11-04 13:09:44 +00:00
</div>
{{ partial "search/search-result-desktop" . }}
</div>
2019-11-04 13:09:44 +00:00
{{ if $.Param "enableSidebar" }}
2020-01-31 06:06:30 +00:00
<aside class="list__sidebar {{ if eq ($.Param "sidebarPosition") "left" }}l{{ else }}r{{ end }}" data-dir="{{ $.Param "languagedir" | default "ltr" }}">
{{ partial "sidebar/sidebar-list" . }}
</aside>
{{ end }}
2019-11-04 13:09:44 +00:00
</main>
2020-03-06 22:52:49 +00:00
{{ partial "script/sidebar-script" . }}
{{ partial "script/taxo-script" . }}
2019-11-04 13:09:44 +00:00
{{ end }}