|
@@ -16,7 +16,7 @@
|
|
<section class="sidebar-section" id="sidebar-section">
|
|
<section class="sidebar-section" id="sidebar-section">
|
|
<div class="sidebar-holder">
|
|
<div class="sidebar-holder">
|
|
<div class="sidebar" id="sidebar">
|
|
<div class="sidebar" id="sidebar">
|
|
- <form class="mx-auto" method="get" action="{{ "search" | absURL }}">
|
|
|
|
|
|
+ <form class="mx-auto" method="get" action="{{ "search" | relLangURL }}">
|
|
<input type="text" name="keyword" value="" placeholder="Search" data-search="" id="search-box" />
|
|
<input type="text" name="keyword" value="" placeholder="Search" data-search="" id="search-box" />
|
|
</form>
|
|
</form>
|
|
<div class="sidebar-tree">
|
|
<div class="sidebar-tree">
|
|
@@ -36,7 +36,8 @@
|
|
<section class="content-section" id="content-section">
|
|
<section class="content-section" id="content-section">
|
|
<div class="content container-fluid" id="content">
|
|
<div class="content container-fluid" id="content">
|
|
<div class="container-fluid post-card-holder" id="post-card-holder">
|
|
<div class="container-fluid post-card-holder" id="post-card-holder">
|
|
- {{ $paginator := .Paginate .RegularPagesRecursive 12 }}
|
|
|
|
|
|
+ {{ $posts := where .RegularPagesRecursive "Layout" "!=" "search" }}
|
|
|
|
+ {{ $paginator := .Paginate $posts 12 }}
|
|
{{ range $paginator.Pages }}
|
|
{{ range $paginator.Pages }}
|
|
{{ if .Layout }}
|
|
{{ if .Layout }}
|
|
{{/* ignore the search.md file*/}}
|
|
{{/* ignore the search.md file*/}}
|