From f62d11367d0b0e1fc21cbf1caa95f8d70929916a Mon Sep 17 00:00:00 2001 From: iGor milhit Date: Fri, 7 Jun 2024 18:08:13 +0200 Subject: [PATCH] snippets: adapt the running frontmatter - Adapts the frontmatter for running post, as I don't follow any program right now. Co-Authored-by: iGor milhit --- my_snippets/markdown.lua | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/my_snippets/markdown.lua b/my_snippets/markdown.lua index 6e259a6..f52193f 100644 --- a/my_snippets/markdown.lua +++ b/my_snippets/markdown.lua @@ -142,18 +142,12 @@ return { fmt( [[ --- - title: {5} - date: {6} - id: {7} - tags: [préparation marathon, campus, plan 2, {1}] - plan: - - coaching: "campus" - - type: "marathon" - - durée: "24 semaines" + title: {3} + date: {4} + id: {5} + tags: [{1}] séance: - type: "{2}" - - semaine: {3} - - séance: {4} données: - privées: "" - publiques: "" @@ -163,8 +157,8 @@ return { { i(1, "tags"), i(2, "workout type"), - i(3, "week number of the plan"), - i(4, "workout number of the week"), + -- i(3, "week number of the plan"), + -- i(4, "workout number of the week"), f(get_date, {}), f(get_datetime, {}), f(get_id, {})