Skip to content

Commit

Permalink
Negate condition
Browse files Browse the repository at this point in the history
  • Loading branch information
shaedrich authored Jun 5, 2024
1 parent 1b8a535 commit 9b026cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions overrides/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

{% block extrahead %}
{% set title = config.site_name %}
{% if in page.parent is None}
{% if in page.parent is not None}
{% set title = title ~ " - " ~ page.parent.title %}
{% endif %}
{% if in page.parent.parent is None}
{% if in page.parent.parent is not None}
{% set title = title ~ " - " ~ page.parent.parent.title %}
{% endif %}
{% if page and page.meta and page.meta.title %}
Expand Down

0 comments on commit 9b026cd

Please sign in to comment.