www

website
got clone ssh://anon@src.dalliard.ch/www
log | files | refs

commit 68ab95d200b95bfda2c3c90e0de41d8db465182c
parent 8582ebbf0e19893d554ed4651de3bd20329fefd4
author: nathanael <nathanael@dalliard.ch>
date:   Mon, 15 Dec 2025 16:49:37 +0000

add training

diffstat:
M.gitignore | 1+
Mcontent/why/_index.md | 3+++
Acontent/why/training/_index.md | 15+++++++++++++++
Acontent/why/training/routine.md | 11+++++++++++
Alayouts/_shortcodes/routine.html | 20++++++++++++++++++++
Areadme | 11+++++++++++
6 files changed, 61 insertions(+), 0 deletions(-)

diff --git a/.gitignore b/.gitignore @@ -1,2 +1,3 @@ .hugo_build.lock +data public diff --git a/content/why/_index.md b/content/why/_index.md @@ -7,6 +7,9 @@ aliases: [bitcoin](/m/) my money +[bwf](/t/) +my training + [h.e.a.l.](/e/) my ethics diff --git a/content/why/training/_index.md b/content/why/training/_index.md @@ -0,0 +1,15 @@ +--- +title: training +url: t +aliases: +- training +--- +bodyweight fitness + +* strength +* control +* mobility +* discipline +* confidence + +my current [routine](/tr/) diff --git a/content/why/training/routine.md b/content/why/training/routine.md @@ -0,0 +1,11 @@ +--- +title: routine +url: tr +aliases: +- routine +--- +my current training routine + +{{< routine >}} + +<small>(based on [bwf primer](https://nick-e.com/primer/))</small> diff --git a/layouts/_shortcodes/routine.html b/layouts/_shortcodes/routine.html @@ -0,0 +1,20 @@ +{{ with .Site.Data.routine }} +<table> +<thead> +<tr> + <th></th> + <th></th> + <th></th> +</tr> +</thead> +<tbody> +{{ range . }} +<tr> + <td><a href="{{ .url }}">{{ .exerc }}</a></td> + <td>{{ .range }}</td> + <td>{{ .rest }}</td> +</tr> +{{ end }} +</tbody> +</table> +{{ end }} diff --git a/readme b/readme @@ -0,0 +1,11 @@ +routine +------- +add a file called `routine.yaml` to the data directory + +$ less data/routine.yaml | head -n4 +- exerc: deadbug + range: 3x6 + rest: 60s + url: https://go.dalliard.ch/deadbug + +this shows just one exercise. add all the exercises in your routine