fix(*): corrects a number of html validation issues
This commit is contained in:
parent
4cefdee788
commit
a614abb09b
14 changed files with 30 additions and 28 deletions
|
@ -125,6 +125,6 @@ schema: artist
|
|||
$htmlMin->doRemoveComments(true);
|
||||
$htmlMin->doSumUpWhitespace(true);
|
||||
$htmlMin->doRemoveWhitespaceAroundTags(true);
|
||||
$htmlMin->doOptimizeViaHtmlDomParser(true);
|
||||
$htmlMin->doOptimizeViaHtmlDomParser(false);
|
||||
echo $htmlMin->minify($html);
|
||||
?>
|
||||
|
|
|
@ -74,6 +74,6 @@ schema: book
|
|||
$htmlMin->doRemoveComments(true);
|
||||
$htmlMin->doSumUpWhitespace(true);
|
||||
$htmlMin->doRemoveWhitespaceAroundTags(true);
|
||||
$htmlMin->doOptimizeViaHtmlDomParser(true);
|
||||
$htmlMin->doOptimizeViaHtmlDomParser(false);
|
||||
echo $htmlMin->minify($html);
|
||||
?>
|
||||
|
|
|
@ -52,6 +52,6 @@ schema: genre
|
|||
$htmlMin->doRemoveComments(true);
|
||||
$htmlMin->doSumUpWhitespace(true);
|
||||
$htmlMin->doRemoveWhitespaceAroundTags(true);
|
||||
$htmlMin->doOptimizeViaHtmlDomParser(true);
|
||||
$htmlMin->doOptimizeViaHtmlDomParser(false);
|
||||
echo $htmlMin->minify($html);
|
||||
?>
|
||||
|
|
|
@ -70,6 +70,6 @@ schema: movie
|
|||
$htmlMin->doRemoveComments(true);
|
||||
$htmlMin->doSumUpWhitespace(true);
|
||||
$htmlMin->doRemoveWhitespaceAroundTags(true);
|
||||
$htmlMin->doOptimizeViaHtmlDomParser(true);
|
||||
$htmlMin->doOptimizeViaHtmlDomParser(false);
|
||||
echo $htmlMin->minify($html);
|
||||
?>
|
||||
|
|
|
@ -67,6 +67,6 @@ schema: show
|
|||
$htmlMin->doRemoveComments(true);
|
||||
$htmlMin->doSumUpWhitespace(true);
|
||||
$htmlMin->doRemoveWhitespaceAroundTags(true);
|
||||
$htmlMin->doOptimizeViaHtmlDomParser(true);
|
||||
$htmlMin->doOptimizeViaHtmlDomParser(false);
|
||||
echo $htmlMin->minify($html);
|
||||
?>
|
||||
|
|
|
@ -45,6 +45,6 @@ schema: tags
|
|||
$htmlMin->doRemoveComments(true);
|
||||
$htmlMin->doSumUpWhitespace(true);
|
||||
$htmlMin->doRemoveWhitespaceAroundTags(true);
|
||||
$htmlMin->doOptimizeViaHtmlDomParser(true);
|
||||
$htmlMin->doOptimizeViaHtmlDomParser(false);
|
||||
echo $htmlMin->minify($html);
|
||||
?>
|
||||
|
|
|
@ -29,7 +29,10 @@ permalink: "/posts/{% if pagination.pageNumber > 0 %}{{ pagination.pageNumber }}
|
|||
{% render "blocks/tags.liquid",
|
||||
tags:post.tags
|
||||
%}
|
||||
<p>{{ post.description | markdown }}</p>
|
||||
{% assign description = post.description | strip_newlines | strip %}
|
||||
{% if description != '' %}
|
||||
{{ description | markdown }}
|
||||
{% endif %}
|
||||
</article>
|
||||
{% endfor %}
|
||||
{% render "nav/paginator.liquid",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue