From 7fa37ec5d548f2272cdc0cde817da97b1e1dace8 Mon Sep 17 00:00:00 2001 From: iGor milhit Date: Mon, 3 Jul 2023 09:36:04 +0200 Subject: [PATCH] snippets: fix the inc front matter - Fixes the front matter for the incremental notes files, removing unnecessary metadata and adding the id. Co-Authored-by: iGor milhit --- my_snippets/markdown.lua | 8 ++++---- spell/en.utf-8.add | 1 + spell/en.utf-8.add.spl | Bin 291 -> 310 bytes 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/my_snippets/markdown.lua b/my_snippets/markdown.lua index 052cf26..6e919ae 100644 --- a/my_snippets/markdown.lua +++ b/my_snippets/markdown.lua @@ -112,9 +112,8 @@ return { [[ --- title: {1} - creation_date: {2} - author: iGor milhit - categories: [inc] + date: {2} + id: {4} tags: [notes, quotidien, {3}] --- @@ -122,7 +121,8 @@ return { { f(get_month_year, {}), f(get_datetime, {}), - f(get_month, {}) + f(get_month, {}), + f(get_id, {}) } ) ), diff --git a/spell/en.utf-8.add b/spell/en.utf-8.add index be24260..bb424bf 100644 --- a/spell/en.utf-8.add +++ b/spell/en.utf-8.add @@ -9,3 +9,4 @@ Réaménagement biodiversité hyperindustrialisés lacto-fermentation +d'engrain diff --git a/spell/en.utf-8.add.spl b/spell/en.utf-8.add.spl index ca7a2bbc6543f3143ac6379e72c70601a512f401..28b361d1f3fa41ea0b3b848b3dbd1bcfcbbcd8b7 100644 GIT binary patch delta 125 zcmZ3?w2et9%+t5HAT=k)=syDk!(Fb#q?Cz*n!@Ugsf>Ay>5N5;iHw7A1^_8CL>@QW=XtN=zp6GHL<`