Re-structure note lists
Signed-off-by: hossainemruz <hossainemruz@gmail.com>
This commit is contained in:
parent
fc5656c937
commit
063a8256e2
6 changed files with 88 additions and 21 deletions
|
@ -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 }}
|
Loading…
Add table
Add a link
Reference in a new issue