diff --git a/lua/snippets.lua b/lua/snippets.lua index b8eae9a..19645d0 100644 --- a/lua/snippets.lua +++ b/lua/snippets.lua @@ -19,18 +19,19 @@ ls.add_snippets(nil, { namr = 'Zola blogpost Frontmatter', dscr = 'Frontmatter metadata for Zola markdown blogpost', }, { - text { '---', 'title = ' }, + text { '+++', "title = '" }, insert(1, 'note_title'), - text { '', 'author = Joost Agterhoek' }, - text { '', 'date = ' }, + text { "'" }, + text { '', 'date = "' }, func(date, {}), + text { '"' }, text { '', 'updated = ' }, func(date, {}), text { '', '[taxonomies]' }, text { '', "tags = ['" }, insert(2, ''), text { "']" }, - text { '', '---', '', '' }, + text { '', '+++', '', '' }, insert(0), }), },