mirror of
https://github.com/flarum/core.git
synced 2025-07-27 19:50:20 +02:00
Don't output empty html tag attributes
From https://discuss.flarum.org/d/17817-meta-description-is-empty/8 ref #1677
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html dir="{{ $direction }}" lang="{{ $language }}">
|
<html @if ($direction) dir="{{ $direction }}" @endif
|
||||||
|
@if ($language) lang="{{ $language }}" @endif>
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>{{ $title }}</title>
|
<title>{{ $title }}</title>
|
||||||
|
Reference in New Issue
Block a user