Trying to change the web.

This commit is contained in:
sergiotarxz 2023-05-03 17:27:54 +02:00
parent 7f52d9931c
commit 2d51fcd281

View File

@ -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>