mirror of
https://github.com/flarum/core.git
synced 2025-07-31 13:40:20 +02:00
Add more attributes in app.blade.php and add a setDescription method. (#1105)
* Added `language` and `direction` properties to WebAppView * Use properties `language` and `direction` in app.blade.php * Added WebAppView::setDescription to set the meta description * Whoops! Changed "ltr" to \'ltr\'. Thanks StyleCI :) * Removed unnecessary `= null` for * Changed `.. ? .. : ..` to `.. ?: ..`. Useful thing right there ;)
This commit is contained in:
committed by
Franz Liedke
parent
01eba18164
commit
fcfc1b2a37
@@ -1,5 +1,5 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<html dir="{{ $direction }}" lang="{{ $language }}">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>{{ $title }}</title>
|
||||
|
Reference in New Issue
Block a user