Re-structure note lists

Signed-off-by: hossainemruz <hossainemruz@gmail.com>
This commit is contained in:
hossainemruz 2021-04-01 01:39:23 +06:00
parent fc5656c937
commit 063a8256e2
6 changed files with 88 additions and 21 deletions

View file

@ -4,15 +4,15 @@
{{/* ignore search.md file*/}}
{{ else }}
{{$id := .Params.Menu.Notes.Identifier }}
<h4 class="note-collection-title" id="{{ $id }}">
<a href="#{{ $id }}" title="{{ .Title }}"># {{ .Title }}</a>
<!-- <h4 class="note-collection-title" id="{{ $id }}">
<a href="#{{ $id }}"># {{ .Title }}</a>
{{$badges:= split .File.Dir "/"}}
{{ range after 1 $badges }}
<span class="badge btn-info note-badge">{{ . }}</span>
{{ end }}
</h4>
<div class="note-collection">
{{ .Content }}
</div>
</h4> -->
{{ .Content }}
<!-- <div class="note-collection">
</div> -->
{{ end }}
{{ end }}