diff options
Diffstat (limited to 'layouts/shortcodes/work-projects.html')
-rw-r--r-- | layouts/shortcodes/work-projects.html | 9 |
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> |