diff options
Diffstat (limited to 'layouts/shortcodes/projects.html')
-rw-r--r-- | layouts/shortcodes/projects.html | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/layouts/shortcodes/projects.html b/layouts/shortcodes/projects.html new file mode 100644 index 0000000..b9cf8b5 --- /dev/null +++ b/layouts/shortcodes/projects.html | |||
@@ -0,0 +1,12 @@ | |||
1 | {{ $projects := where .Site.RegularPages "Params.categories" "intersect" (slice "projects") }} | ||
2 | |||
3 | <ul> | ||
4 | {{ range $projects }} | ||
5 | <li> | ||
6 | <a href="{{ .Permalink }}">{{ .Title }}</a> | ||
7 | {{ with .Description }} | ||
8 | — {{ . }} | ||
9 | {{ end }} | ||
10 | </li> | ||
11 | {{ end }} | ||
12 | </ul> \ No newline at end of file | ||