George S. Baugh %!s(int64=5) %!d(string=hai) anos
pai
achega
8b2a27e6a5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lib/Trog/Routes/HTML.pm

+ 1 - 1
lib/Trog/Routes/HTML.pm

@@ -252,7 +252,7 @@ sub index ($query,$render_cb, $content = '', $i_styles = []) {
 
     # Handle link "unfurling" correctly
     my $default_tags = $Theme::default_tags;
-    $default_tags .= ','.join(',',$query->{primary_post}->{tags}) if $default_tags && $query->{primary_post}->{tags};
+    $default_tags .= ','.join(',',@{$query->{primary_post}->{tags}}) if $default_tags && $query->{primary_post}->{tags};
 
     my $meta_desc  = $query->{primary_post}{data} // $Theme::description // "tCMS Site";
     $meta_desc = Trog::Utils::strip_and_trunc($meta_desc);