Use Google Fonts subsets for localizations
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
|
||||
<title>{{ $page_title or $site_title }}</title>
|
||||
|
||||
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,700" rel="stylesheet" type="text/css">
|
||||
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,700&subset={{ $font_subset }}" rel="stylesheet" type="text/css">
|
||||
<link rel="stylesheet" href="{{ elixir('dist/css/all.css') }}">
|
||||
@yield('css')
|
||||
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
|
||||
<title>{{ $site_title }}</title>
|
||||
|
||||
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,700" rel="stylesheet" type="text/css">
|
||||
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,700&subset={{ $font_subset }}" rel="stylesheet" type="text/css">
|
||||
<link rel="stylesheet" href="{{ elixir('dist/css/all.css') }}">
|
||||
|
||||
@include('partials.stylesheet')
|
||||
|
||||
@@ -102,9 +102,9 @@
|
||||
<label>{{ trans('forms.setup.site_locale') }}</label>
|
||||
<select name="settings[app_locale]" class="form-control" required>
|
||||
<option value="">Select Language</option>
|
||||
@foreach($langs as $lang => $name)
|
||||
<option value="{{ $lang }}" @if(Binput::old('settings.app_locale') == $lang || $user_language == $lang) selected @endif>
|
||||
{{ $name }}
|
||||
@foreach($langs as $key => $lang)
|
||||
<option value="{{ $key }}" @if(Binput::old('settings.app_locale') == $key || $user_language == $key) selected @endif>
|
||||
{{ $lang['name'] }}
|
||||
</option>
|
||||
@endforeach
|
||||
</select>
|
||||
|
||||
Reference in New Issue
Block a user