Skip to content

Commit cacb918

Browse files
committed
title-section partial modified
1 parent 4aa2fa3 commit cacb918

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/App/templates/partial/title-section.html.twig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
{% set page_title = article.title|default(title|default('')) %}
2-
{% set author_github = article.author.github|default(author_github|default(false)) %}
1+
{% set page_title = article.title ?? (title ?? '') %}
2+
{% set author_github = article.author.github ?? (author.github ?? '') %}
33
<div class="wrap">
44
<div class="post-hero-v2">
55
{% if back_href is defined %}

0 commit comments

Comments
 (0)