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 }}">
|
2020-01-20 16:20:43 +00:00
|
|
|
{{ partial "body/breadcrumb" . }}
|
2019-11-04 13:09:44 +00:00
|
|
|
<header class="list__header">
|
2020-01-20 16:20:43 +00:00
|
|
|
<h5 class="list__header--title capitalize h5">{{ .Title }}</h5>
|
2019-11-04 13:09:44 +00:00
|
|
|
</header>
|
2019-12-25 04:28:08 +00:00
|
|
|
|
2019-11-04 13:09:44 +00:00
|
|
|
<div class="list__header--desc p2">
|
|
|
|
{{.Content}}
|
|
|
|
</div>
|
|
|
|
|
2020-02-07 02:08:14 +00:00
|
|
|
<div class="summary__container" data-display="block">
|
2020-02-18 16:28:18 +00:00
|
|
|
{{ range .Paginator.Pages.ByWeight }}
|
2020-01-20 16:20:43 +00:00
|
|
|
{{ .Render "summary" }}
|
2019-11-04 13:09:44 +00:00
|
|
|
{{ end }}
|
2020-02-07 02:08:14 +00:00
|
|
|
{{ partial "pagination/pagination" . }}
|
2019-11-04 13:09:44 +00:00
|
|
|
</div>
|
2020-02-07 02:08:14 +00:00
|
|
|
{{ partial "search/search-result-desktop" . }}
|
2020-01-20 16:20:43 +00:00
|
|
|
</div>
|
2019-11-04 13:09:44 +00:00
|
|
|
|
2020-01-20 16:20:43 +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" }}">
|
2020-01-20 16:20:43 +00:00
|
|
|
{{ partial "sidebar/sidebar-list" . }}
|
|
|
|
</aside>
|
|
|
|
{{ end }}
|
2019-11-04 13:09:44 +00:00
|
|
|
</main>
|
2020-01-20 16:20:43 +00:00
|
|
|
|
2020-03-06 22:52:49 +00:00
|
|
|
{{ partial "script/sidebar-script" . }}
|
2019-11-30 17:28:55 +00:00
|
|
|
{{ partial "script/taxo-script" . }}
|
2019-11-04 13:09:44 +00:00
|
|
|
{{ end }}
|