From 49d4410e0fda6b153395a63ab57093a53bcff0c5 Mon Sep 17 00:00:00 2001 From: Aidan Cornelius-Bell Date: Wed, 14 May 2025 12:55:13 +0930 Subject: [PATCH] Fixed some potentially problematic language in the post template --- app/views/pubview/index.html.erb | 2 +- app/views/pubview/post.html.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/pubview/index.html.erb b/app/views/pubview/index.html.erb index bd22a53..e9b869d 100644 --- a/app/views/pubview/index.html.erb +++ b/app/views/pubview/index.html.erb @@ -22,7 +22,7 @@ ↙︎ - posted <%= item.published_at.strftime('%d/%m/%y') %>, tagged as <%= raw item.format_tags %> + posted <%= item.published_at.strftime('%d/%m/%y') %>, tagged with <%= raw item.format_tags %>
<%= raw item.rendered_content.html_safe %>
diff --git a/app/views/pubview/post.html.erb b/app/views/pubview/post.html.erb index 5b8900a..ea8f512 100644 --- a/app/views/pubview/post.html.erb +++ b/app/views/pubview/post.html.erb @@ -17,7 +17,7 @@ <% end %> -->
-

<% if !@post.short_dispatch?%>About a <%= @reading_time %> minute read, p<% else %>P<% end %>osted <%= @post.published_at.strftime('%B %d, %Y') %> and tagged <%= raw @post.format_tags %>

+

<% if !@post.short_dispatch?%>About a <%= @reading_time %> minute read, p<% else %>P<% end %>osted <%= @post.published_at.strftime('%B %d, %Y') %> and tagged with <%= raw @post.format_tags %>

<% else %>

Aidan Cornelius-Bell’s mind reader:

-- 2.39.5