Trying to change the web.
This commit is contained in:
parent
7f52d9931c
commit
2d51fcd281
@ -9,7 +9,7 @@
|
|||||||
% my $description_og = '<div>'.$post->{content}.'</div>';
|
% my $description_og = '<div>'.$post->{content}.'</div>';
|
||||||
% $description_og = Mojo::DOM->new($description_og)->all_text;
|
% $description_og = Mojo::DOM->new($description_og)->all_text;
|
||||||
% my $base_url = config 'base_url';
|
% my $base_url = config 'base_url';
|
||||||
% layout 'default', current_category_slug => $current_category->{slug}, categories => $categories, description_og => $description_og, ogimage => "$base_url/posts/$post->{slug}-preview.png";
|
% layout 'default', current_category_slug => $current_category->{slug}, categories => $categories, description_og => $description_og, ogimage => "$base_url/posts/$post->{slug}-preview.png?v=4";
|
||||||
% title $post->{title};
|
% title $post->{title};
|
||||||
<div class="description">
|
<div class="description">
|
||||||
<h1><%= $post->{title} %></h1>
|
<h1><%= $post->{title} %></h1>
|
||||||
|
Loading…
Reference in New Issue
Block a user