Attempting to no skip headings.
This commit is contained in:
parent
ebf035ae27
commit
fe88961904
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user