Skip to content

Commit

Permalink
Fixed undefined title/description
Browse files Browse the repository at this point in the history
  • Loading branch information
michalv8 committed Aug 23, 2023
1 parent 5ba2d19 commit 22be938
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions resources/views/forum/topics.twig
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,19 @@
{% set current_tag = renderParams.tagName|default(null) %}

{% block title %}
{{ current_tag }} | Problemy i Porady :: 4programmers.net
{% if current_tag %}
{{ current_tag }} | Problemy i Porady :: 4programmers.net
{% else %}
{{ parent() }}
{% endif %}
{% endblock %}

{% block description %}
Dowiedz się więcej o {{ current_tag }}. Znajdziesz tu informacje dla początkujących i zaawansowanych użytkowników. Sprawdź więcej.
{% if current_tag %}
Dowiedz się więcej o {{ current_tag }}. Znajdziesz tu informacje dla początkujących i zaawansowanych użytkowników. Sprawdź więcej.
{% else %}
{{ parent() }}
{% endif %}
{% endblock %}

{% block mainbar %}
Expand Down

0 comments on commit 22be938

Please sign in to comment.