diff --git a/layouts/shortcodes/note.html b/layouts/shortcodes/note.html index 3aa9a4e..ffa3663 100644 --- a/layouts/shortcodes/note.html +++ b/layouts/shortcodes/note.html @@ -1,11 +1,10 @@
{{ .Get "title" }}
-
-
{{ .Inner | markdownify }}
- {{ if .Get "footer" }} - - {{end}} -
+ {{ range $idx, $val := split .Inner "---" }} +
+
{{ $val | markdownify }}
+
+ {{ end }}
diff --git a/static/css/layouts/notes.css b/static/css/layouts/notes.css index 5702c0f..28f852c 100644 --- a/static/css/layouts/notes.css +++ b/static/css/layouts/notes.css @@ -60,7 +60,7 @@ width:98%; height:100%; margin-bottom:-26px; - border-bottom:1px solid #248aaa; + border-bottom: 1px solid #248aaa; } .note-card .card-body{