5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-16 17:46:21 +00:00

separar las categorías con barras

This commit is contained in:
f 2021-05-18 11:22:09 -03:00
parent 0a23fe1edd
commit 4609ab21b2

View file

@ -110,6 +110,7 @@
- post.front_matter['categories'].each do |category|
= link_to site_posts_path(@site, **@filter_params.merge(category: category)) do
%span{ lang: post.locale, dir: dir }= category
= '/' unless post.front_matter['categories'].last == category
%td
= post.created_at.strftime('%F')