diff options
author | root <root@vagrantz.xyz> | 2021-04-06 10:57:50 +0000 |
---|---|---|
committer | root <root@vagrantz.xyz> | 2021-04-06 10:57:50 +0000 |
commit | 8170d5bc0544fbc02155b8b57751cd1dec33dd69 (patch) | |
tree | d5cffb086fe6d5585c1e00ea5d5d2d907e6d2cd6 /views/partials/categories.ejs |
Diffstat (limited to 'views/partials/categories.ejs')
-rw-r--r-- | views/partials/categories.ejs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/views/partials/categories.ejs b/views/partials/categories.ejs new file mode 100644 index 0000000..638b2bb --- /dev/null +++ b/views/partials/categories.ejs @@ -0,0 +1,8 @@ +<div class='cats'> + <h4>Categories</h4> + <ul> + <% cats.map(c => { %> + <li><a href='/categories/<%= c.toLowerCase() %>'><%= c %></a></li> + <% }) %> + </ul> +</div>
\ No newline at end of file |