mirror of
https://github.com/LinkStackOrg/LinkStack.git
synced 2024-12-13 02:37:24 +01:00
ca86582157
Added support for custom meta tags via a new config file. Custom meta tags will only be active if "CUSTOM_META_TAGS" is set to "true" in the config. Replaced "<html lang="en">" with "@include('layouts.lang')" meaning HTML lang can be changed in the new config, defaults to en if not active or not defined.
5 lines
156 B
PHP
5 lines
156 B
PHP
@if(env('CUSTOM_META_TAGS') == 'true' and Config::get('meta.lang') != '')
|
|
<html lang="{{ Config::get('meta.lang') }}">
|
|
@else
|
|
@include('layouts.lang')
|
|
@endif |