1
0
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:
David Sevilla Martín
2017-02-03 17:09:22 -05:00
committed by Franz Liedke
parent 01eba18164
commit fcfc1b2a37
2 changed files with 48 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
<!doctype html>
<html>
<html dir="{{ $direction }}" lang="{{ $language }}">
<head>
<meta charset="utf-8">
<title>{{ $title }}</title>