diff options
author | terminaldweller <devi@terminaldweller.com> | 2024-03-16 03:38:22 +0000 |
---|---|---|
committer | terminaldweller <devi@terminaldweller.com> | 2024-03-16 03:38:22 +0000 |
commit | b3177ce282e15dab29f5fefb9ff787583db512f5 (patch) | |
tree | 986cd667d900f621b106f2a7b69e5f491037d66a | |
parent | fixed a weird one-off issue with a line (diff) | |
download | blog-b3177ce282e15dab29f5fefb9ff787583db512f5.tar.gz blog-b3177ce282e15dab29f5fefb9ff787583db512f5.zip |
fixed the tags names that appear for articles, the names are proper now
-rw-r--r-- | README.md | 8 | ||||
-rw-r--r-- | views/tags.ejs | 2 |
2 files changed, 9 insertions, 1 deletions
@@ -5,3 +5,11 @@ It's the source code for my blog.<br/> You find the live instance [here](https://blog.terminaldweller.com)<br/> You also can use the RSS feed to get notified of when there are new posts.<br/> + +## How it works + +The blog post data is being kept in a mongodb instance so if we need anything we get it from there.</br> +The process of adding posts is manual.</br> +The blog has RSS functionality.</br> +You can list all posts that have the same tag.</br> +Our paths are static, we ask express to do the caching instead of something more explicit.</br> diff --git a/views/tags.ejs b/views/tags.ejs index eeb81fb..a23624e 100644 --- a/views/tags.ejs +++ b/views/tags.ejs @@ -14,7 +14,7 @@ <br/> <% data.blogPosts.forEach(function(blogPost){ %> <ul> - <li><a href=<%= "/posts/"+ blogPost.slug %> target="_self" rel="noreferrer noopener" type="text/html"><%= blogPost.slug %></a></li> + <li><a href=<%= "/posts/"+ blogPost.slug %> target="_self" rel="noreferrer noopener" type="text/html"><%= blogPost.title %></a></li> </ul> <% }) %> <br/> |