diff options
author | terminaldweller <devi@terminaldweller.com> | 2024-03-16 00:30:28 +0000 |
---|---|---|
committer | terminaldweller <devi@terminaldweller.com> | 2024-03-16 00:30:28 +0000 |
commit | 4f52bb326bcaff4493bee44c3643f988aa64d813 (patch) | |
tree | 4aca6e3bc3d036841f3d3a96cee4cf262e19d8fc /views/index.ejs | |
parent | tag grouppings, WIP (diff) | |
download | blog-4f52bb326bcaff4493bee44c3643f988aa64d813.tar.gz blog-4f52bb326bcaff4493bee44c3643f988aa64d813.zip |
added the tags functionality
Diffstat (limited to 'views/index.ejs')
-rw-r--r-- | views/index.ejs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/views/index.ejs b/views/index.ejs index 606cdbb..9619339 100644 --- a/views/index.ejs +++ b/views/index.ejs @@ -16,8 +16,11 @@ <hr/> <br/> <a class="left-footer">Keywords: </a> - <%- data.keywords %> - <%- data.lastUpdated %> + <% data.keywords.forEach(function(keyword){ %> + <ul> + <li><a href=<%= "/tags/"+ keyword %> target="_self" rel="noreferrer noopener" type="text/html"><%= keyword %></a></li> + </ul> + <% }) %> <br/> <br/> <hr/> |