add trailing slash to posts links

This commit is contained in:
2025-07-26 14:53:46 -04:00
parent 02b5b94779
commit bc8bcfe9b3
2 changed files with 2 additions and 2 deletions

View File

@@ -14,7 +14,7 @@ defmodule MonoTab.IndexLayout do
<ul>
<%= for post <- @posts do %>
<li>
<h2><a href={post.permalink}>{post.title}</a></h2>
<h2><a href={"#{post.permalink}/"}>{post.title}</a></h2>
<%= if post[:date] do %>
<time datetime={post[:date]}>{format_date(post[:date])}</time>
<% end %>