Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/hossainemruz/toha.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/list.html')
-rw-r--r--layouts/_default/list.html12
1 files changed, 8 insertions, 4 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index ae014d1..dd0f21b 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -8,9 +8,9 @@
{{ end }}
{{ define "sidebar" }}
- {{ $blogHome:="#" }}
+ {{ $homePage:="#" }}
{{ if site.IsMultiLingual }}
- {{ $blogHome = (path.Join (cond ( eq .Language.Lang "en") "" .Language.Lang) .Type) }}
+ {{ $homePage = (path.Join (cond ( eq .Language.Lang "en") "" .Language.Lang) .Type) }}
{{ end }}
<section class="sidebar-section" id="sidebar-section">
@@ -23,7 +23,7 @@
<ul class="tree" id="tree">
<li id="list-heading"><a href="{{ .Type | relLangURL }}" data-filter="all">{{ i18n .Type }}</a></li>
<div class="subtree">
- {{ partial "navigators/sidebar.html" (dict "menus" site.Menus.sidebar "ctx" .) }}
+ {{ partial "navigators/sidebar.html" (dict "menuName" "sidebar" "menuItems" site.Menus.sidebar "ctx" .) }}
</div>
</ul>
</div>
@@ -38,7 +38,11 @@
<div class="container-fluid post-card-holder" id="post-card-holder">
{{ $paginator := .Paginate .RegularPagesRecursive 12 }}
{{ range $paginator.Pages }}
- {{ partial "cards/post.html" . }}
+ {{ if .Layout }}
+ {{/* ignore the search.md file*/}}
+ {{ else }}
+ {{ partial "cards/post.html" . }}
+ {{ end }}
{{ end }}
</div>
<div class="paginator">