chore: only add page summary if it exists
This commit is contained in:
parent
95c40400c0
commit
6cbe0a532b
@ -6,7 +6,9 @@
|
||||
{% endblock title %}
|
||||
|
||||
{% block description %}
|
||||
{% if page.summary %}
|
||||
<meta name="description" content="{{ page.summary | striptags }}">
|
||||
{% endif %}
|
||||
|
||||
{% if page.extra.tags %}
|
||||
<meta name="keywords" content="{{ config.extra.keywords ~ ', ' ~ page.extra.tags }}">
|
||||
|
Loading…
Reference in New Issue
Block a user