diff options
-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/> |