Fixing descriptions.
This commit is contained in:
parent
7e17f274cd
commit
1d838f0e5d
|
@ -2,6 +2,7 @@
|
||||||
% my $categories = stash 'categories';
|
% my $categories = stash 'categories';
|
||||||
% my $current_category_slug = stash 'current_category_slug';
|
% my $current_category_slug = stash 'current_category_slug';
|
||||||
% my $description_og = stash 'description_og';
|
% my $description_og = stash 'description_og';
|
||||||
|
% $description_og =~ s/\s+/ /g;
|
||||||
% $description_og = substr $description_og, 0, 300;
|
% $description_og = substr $description_og, 0, 300;
|
||||||
% $description_og =~ s/\s\S+$//;
|
% $description_og =~ s/\s\S+$//;
|
||||||
% $description_og.='...';
|
% $description_og.='...';
|
||||||
|
|
Loading…
Reference in New Issue