Skip to content

Commit c5426df

Browse files
committed
Fix deprecation
1 parent 28da541 commit c5426df

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

config/reference.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1877,8 +1877,8 @@
18771877
* }
18781878
* @psalm-type MercureConfig = array{
18791879
* hubs?: array<string, array{ // Default: []
1880-
* url?: scalar|null, // URL of the hub's publish endpoint
1881-
* public_url?: scalar|null, // URL of the hub's public endpoint // Default: null
1880+
* url?: scalar|null, // URL of the hub's publish endpoint // Default: null
1881+
* public_url?: scalar|null, // URL of the hub's public endpoint
18821882
* jwt?: string|array{ // JSON Web Token configuration.
18831883
* value?: scalar|null, // JSON Web Token to use to publish to this hub.
18841884
* provider?: scalar|null, // The ID of a service to call to provide the JSON Web Token.

templates/base.html.twig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
<html lang="{{ app.request.locale }}" data-turbo="false">
33
<head>
44
<meta charset="UTF-8">
5-
<title>{% apply spaceless %}{% block title %}{% endblock %}{% endapply %}{% if app.request.pathInfo != path('homepage') %} | MySpeedPuzzling{% endif %}</title>
5+
<title>{%- block title -%}{%- endblock -%}{% if app.request.pathInfo != path('homepage') %} | MySpeedPuzzling{% endif %}</title>
66

77
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
88

9-
<meta name="description" content="{% apply spaceless %}{% block meta_description %}{% endblock %}{% endapply %}{% if block('meta_description') is empty %}{{ 'homepage.meta.description'|trans }}{% endif %}">
10-
<meta name="keywords" content="{% apply spaceless %}{% block meta_keywords %}{% endblock %}{% endapply %}{% if block('meta_keywords') is empty %}{% set currentPageKey = app.request.attributes.get('_route') %}{% if currentPageKey == 'homepage' %}{{ 'homepage.meta.keywords'|trans }}{% elseif currentPageKey == 'hub' %}{{ 'hub.meta.keywords'|trans }}{% elseif currentPageKey == 'puzzles' %}{{ 'puzzle_overview.meta.keywords'|trans }}{% elseif currentPageKey == 'ladder' %}{{ 'ladder.meta.keywords'|trans }}{% elseif currentPageKey == 'players' %}{{ 'puzzlers.meta.keywords'|trans }}{% elseif currentPageKey == 'events' %}{{ 'events.meta.keywords'|trans }}{% elseif currentPageKey == 'faq' %}{{ 'faq.meta.keywords'|trans }}{% else %}speed puzzling, puzzle times, jigsaw puzzles, speedpuzzling{% endif %}{% endif %}">
9+
<meta name="description" content="{%- block meta_description -%}{%- endblock -%}{% if block('meta_description') is empty %}{{ 'homepage.meta.description'|trans }}{% endif %}">
10+
<meta name="keywords" content="{%- block meta_keywords -%}{%- endblock -%}{% if block('meta_keywords') is empty %}{% set currentPageKey = app.request.attributes.get('_route') %}{% if currentPageKey == 'homepage' %}{{ 'homepage.meta.keywords'|trans }}{% elseif currentPageKey == 'hub' %}{{ 'hub.meta.keywords'|trans }}{% elseif currentPageKey == 'puzzles' %}{{ 'puzzle_overview.meta.keywords'|trans }}{% elseif currentPageKey == 'ladder' %}{{ 'ladder.meta.keywords'|trans }}{% elseif currentPageKey == 'players' %}{{ 'puzzlers.meta.keywords'|trans }}{% elseif currentPageKey == 'events' %}{{ 'events.meta.keywords'|trans }}{% elseif currentPageKey == 'faq' %}{{ 'faq.meta.keywords'|trans }}{% else %}speed puzzling, puzzle times, jigsaw puzzles, speedpuzzling{% endif %}{% endif %}">
1111
<meta name="format-detection" content="telephone=no">
1212
<meta name="turbo-prefetch" content="false">
1313
<meta name="turbo-refresh-method" content="morph">

0 commit comments

Comments
 (0)