fix 500 error

pull/136/head
Aevann 2023-03-03 23:36:29 +02:00
parent 9e0be4620c
commit 90c10e76e7
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@
{% endmacro %}
{% macro page_meta(title=none) %}
{% if 'post/' in request.path and p %}
{% if 'post/' in request.path and p and p.author_name %}
{% if not v_forbid_deleted -%}
{% set image = p.thumb_url if p.has_thumb %}
{% set image = p.realurl(v) if p.is_image %}