Fix note organization

Signed-off-by: hossainemruz <hossainemruz@gmail.com>
This commit is contained in:
hossainemruz 2021-03-26 03:30:06 +06:00
parent beea892a20
commit 80f5672f34
10 changed files with 99 additions and 26 deletions

View file

@ -12,9 +12,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">
@ -40,12 +40,9 @@
<section class="content-section" id="content-section">
<div class="content container-fluid" id="content">
<div class="container-fluid note-card-holder" id="note-card-holder">
{{ range .RegularPagesRecursive }}
{{ if .Layout }}
{{ else }}
{{ .Content }}
{{ end }}
{{ end }}
<div class="note-collection">
{{ .Content }}
</div>
</div>
</div>
</section>