Attempting to no skip headings.

This commit is contained in:
sergiotarxz 2023-05-03 23:06:20 +02:00
parent ebf035ae27
commit fe88961904
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@
if (defined $post->{image}) {
%><img alt="Portada de <%=$post->{title}%>" src="<%=$post->{image}%>"/><%
}
%><h4><%=$post->{title}%></h4><%
%><h3><%=$post->{title}%></h3><%
my $xml = Mojo::DOM->new($post->{content});
my $text = $xml->all_text;
if (length($text) > 120) {