Cache bust the favicon

This commit is contained in:
Kevin MacMartin 2018-04-10 16:10:34 -04:00
parent 2bea7127bb
commit b294a9a34e

View file

@ -27,9 +27,9 @@
<meta name="twitter:description" content="{{ env('APP_DESC') }}" /> <meta name="twitter:description" content="{{ env('APP_DESC') }}" />
<meta name="twitter:image" content="{{ asset('/img/logo.png') }}" /> <meta name="twitter:image" content="{{ asset('/img/logo.png') }}" />
<link rel="shortcut icon" href="{{ URL::to('/') }}/favicon.ico" /> <link rel="shortcut icon" href="{{ URL::to('/') }}/favicon.ico?version={{ env('CACHE_BUST') }}" />
<link rel="icon" href="{{ URL::to('/') }}/favicon.ico" type="image/x-icon" /> <link rel="icon" href="{{ URL::to('/') }}/favicon.ico?version={{ env('CACHE_BUST') }}" type="image/x-icon" />
<link rel="icon" href="{{ URL::to('/') }}/favicon.png" type="image/png" /> <link rel="icon" href="{{ URL::to('/') }}/favicon.png?version={{ env('CACHE_BUST') }}" type="image/png" />
<link rel="canonical" href="{{ Request::url() }}" /> <link rel="canonical" href="{{ Request::url() }}" />
@yield('page-includes') @yield('page-includes')