Skip to content

Commit

Permalink
Fix failure when description block doesn't exist
Browse files Browse the repository at this point in the history
  • Loading branch information
russss committed Jan 21, 2024
1 parent adb6294 commit b75544b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
{% if self.description() -%}
<meta property="og:type" content="website">
<meta property="og:description" content="{{ self.description()|replace("\n", " ") }}">
<meta name="description" content="{{ self.description()|replace("\n", " ") }}">
<meta name="description" content="{% filter replace("\n", " ") %}{% block description %}{% endblock %}{% endfilter %}">
{% endif -%}
<meta name="theme-color" content="#171123">
<link rel="shortcut icon" type="image/x-icon" href="{{ static_url_for('static', filename='images/favicon.ico') }}">
Expand Down

0 comments on commit b75544b

Please sign in to comment.