summaryrefslogtreecommitdiff
path: root/layouts/shortcodes/work-projects.html
diff options
context:
space:
mode:
authorRoger Gonzalez <roger@rogs.me>2023-01-14 13:44:20 -0300
committerRoger Gonzalez <roger@rogs.me>2023-01-14 13:44:20 -0300
commit97b4dd36c3962e3eba96810ba4d825606569a08a (patch)
treee949fec302d702e0bbd8ecc4aac0c5c35707abd0 /layouts/shortcodes/work-projects.html
parentca4fd9e21f0eaa7f726c6cbd82b9c9a324fa35cf (diff)
Changed projects shortcodes
Diffstat (limited to 'layouts/shortcodes/work-projects.html')
-rw-r--r--layouts/shortcodes/work-projects.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/layouts/shortcodes/work-projects.html b/layouts/shortcodes/work-projects.html
new file mode 100644
index 0000000..537673f
--- /dev/null
+++ b/layouts/shortcodes/work-projects.html
@@ -0,0 +1,9 @@
+{{- $client := .Get "client" -}}
+<dl>
+ {{- range $index, $key := .Site.Params.Projects.Work -}}
+ {{- if eq $client $key.client -}}
+ <dt><a href="{{ $key.url }}">{{ $key.name }}</a></dt>
+ <dd>{{ $key.description }}</dd>
+ {{- end -}}
+ {{- end -}}
+</dl>