Site settings

Settings used by the public site.

@if (session('status'))
{{ session('status') }}
@endif @if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@csrf @method('PUT') {{-- Sharing a name makes the sections an accordion: opening one closes the others. --}}
hasAny(['site_name', 'contact_email', 'site_logo', 'site_favicon'])) open @endif >

Site

Name, contact email and branding shown on the public site.

Shown on the Contact, DMCA and Privacy Policy pages.

@foreach ([ 'site_logo' => ['label' => 'Logo', 'types' => 'PNG, JPG, WebP, GIF or SVG, up to 2 MB. Saved as WebP, max 170px wide.', 'accept' => '.png,.jpg,.jpeg,.webp,.gif,.svg', 'preview' => 'h-12 max-w-full'], 'site_favicon' => ['label' => 'Favicon', 'types' => 'ICO, PNG or SVG, up to 512 KB. PNGs larger than 64x64 are scaled down.', 'accept' => '.ico,.png,.svg', 'preview' => 'h-8 w-8'], ] as $key => $image)
@if ($settings[$key])
Current {{ strtolower($image['label']) }}
@endif

{{ $image['types'] }} @if ($settings[$key]) Leave blank to keep the current one. @endif

@endforeach
has('google_analytics_id')) open @endif >

Google Analytics

{{ $settings['google_analytics_id'] ?: 'Not set. Tracking is off.' }}

Adds the Google tag to every page of the public site. Page meta data is under SEO.

Found in Google Analytics under Admin → Data streams. Leave blank to turn tracking off.