LinkStack/resources/views/layouts/lang.blade.php
Julian Prieber ca86582157 Added support for custom meta tags
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.
2022-06-08 15:43:51 +02:00

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