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 <igor@milhit.ch>
main
iGor milhit 2024-06-07 18:08:13 +02:00
parent 8d88251119
commit f62d11367d
Signed by: igor
GPG Key ID: 692D97C3D0228A99
1 changed files with 6 additions and 12 deletions

View File

@ -142,18 +142,12 @@ return {
fmt( fmt(
[[ [[
--- ---
title: {5} title: {3}
date: {6} date: {4}
id: {7} id: {5}
tags: [préparation marathon, campus, plan 2, {1}] tags: [{1}]
plan:
- coaching: "campus"
- type: "marathon"
- durée: "24 semaines"
séance: séance:
- type: "{2}" - type: "{2}"
- semaine: {3}
- séance: {4}
données: données:
- privées: "" - privées: ""
- publiques: "" - publiques: ""
@ -163,8 +157,8 @@ return {
{ {
i(1, "tags"), i(1, "tags"),
i(2, "workout type"), i(2, "workout type"),
i(3, "week number of the plan"), -- i(3, "week number of the plan"),
i(4, "workout number of the week"), -- i(4, "workout number of the week"),
f(get_date, {}), f(get_date, {}),
f(get_datetime, {}), f(get_datetime, {}),
f(get_id, {}) f(get_id, {})