From e4ee143f6ff3c5adb93c1da5b0c6ea1dbb902794 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wojtek=20Ba=C5=BCant?= Date: Thu, 5 Sep 2019 22:13:54 +0100 Subject: [PATCH] Render tags in the packaged themes like in v0 --- lib/Statocles/resources/theme/bootstrap/blog.html.ep | 7 +++++++ lib/Statocles/resources/theme/default/blog.html.ep | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/lib/Statocles/resources/theme/bootstrap/blog.html.ep b/lib/Statocles/resources/theme/bootstrap/blog.html.ep index 77488e01..548178cd 100644 --- a/lib/Statocles/resources/theme/bootstrap/blog.html.ep +++ b/lib/Statocles/resources/theme/bootstrap/blog.html.ep @@ -7,6 +7,13 @@

{path}" ) %>"><%== $item->{title} %>

+ % if ( $item->{tags} ) { +

Tags: + % for my $tag ( @{$item->{tags}} ) { + " rel="tag"><%== $tag %> + % } +

+ % } + % if ( $item->{tags} ) { +

Tags: + % for my $tag ( @{$item->{tags}} ) { + " rel="tag"><%== $tag %> + % } +

+ % }
% my $sections = sectionize( $item->{html} );