From 444ce9ae7aa97b39f12c809bcb12720e84bf78f8 Mon Sep 17 00:00:00 2001 From: Francis Date: Tue, 4 May 2021 17:32:58 +0200 Subject: [PATCH] change tags in blog preview --- layouts/partials/_blog_preview.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/partials/_blog_preview.erb b/layouts/partials/_blog_preview.erb index 9c705aa..8ca3f92 100644 --- a/layouts/partials/_blog_preview.erb +++ b/layouts/partials/_blog_preview.erb @@ -12,8 +12,8 @@
<% post[:tags]&.each do |tag| %> - > - <%= tag %> + > + <%= tag.split.map(&:capitalize).join(' ') %> <% end %>