From 63dfc836a743d55f35d1ae10a7080ab6f82a85e9 Mon Sep 17 00:00:00 2001 From: Marcus Noble Date: Thu, 2 Nov 2023 08:40:39 +0000 Subject: [PATCH] Update generated readme Signed-off-by: Marcus Noble --- src/README.md | 35 +++++++++++++++++++++++++---------- 1 file changed, 25 insertions(+), 10 deletions(-) diff --git a/src/README.md b/src/README.md index d4e5bee..a62e022 100644 --- a/src/README.md +++ b/src/README.md @@ -10,16 +10,7 @@ | {{ range .social }}{{ .name | html }} | {{ end }} -## 💻 My Open Source Projects - -All my Open Source projects can be found on my GitHub profile (as well as my personal Gitea instance, GitLab, Codeberg and BitBucket). - -Below are a selection of highlights. - -{{ range .projects }} -[**{{ .name }}**]({{ .url }}) - {{ .description }} [{{ join .languages "name" ", " }}] -{{ end }} - +{{ if gt (len .events) 0 }} ## 🗓 Upcoming Events {{ range .events }} @@ -40,3 +31,27 @@ Below are a selection of highlights. {{- end }} + +{{ end }} + +{{ if gt (len .projects) 0 }} +## 💻 My Open Source Projects + +All my Open Source projects can be found on my GitHub profile (as well as my personal Gitea instance, GitLab, Codeberg and BitBucket). + +Below are a selection of highlights. + +{{ range .projects }} +[**{{ .name }}**]({{ .url }}) - {{ .description }} [{{ join .languages "name" ", " }}] +{{ end }} +{{ end }} + +{{ if gt (len .badges) 0 }} +## 🎖️ Badges + +{{ range .badges }} + + + +{{ end }} +{{ end }}