Convert all env() calls to config() calls
This commit is contained in:
parent
e032cd5861
commit
b4df7a1bbb
10 changed files with 61 additions and 14 deletions
|
@ -2,7 +2,7 @@
|
|||
<html lang="en-GB">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>@if (App::environment() == 'local'){!! "[testing] -"!!}@endif @yield('title'){{ env('DISPLAY_NAME') }}</title>
|
||||
<title>@if (App::environment() == 'local'){!! "[testing] -"!!}@endif @yield('title'){{ config('app.display_name') }}</title>
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<link rel="stylesheet" href="/assets/frontend/normalize.css">
|
||||
<link rel="stylesheet" href="/assets/css/app.css">
|
||||
|
@ -18,7 +18,7 @@
|
|||
<body>
|
||||
<header id="topheader">
|
||||
<a rel="author" href="/">
|
||||
<h1>{{ env('DISPLAY_NAME') }}</h1>
|
||||
<h1>{{ config('app.display_name') }}</h1>
|
||||
</a>
|
||||
<nav>
|
||||
<a href="/blog">Articles</a>
|
||||
|
@ -41,7 +41,7 @@
|
|||
<form action="search" method="get">
|
||||
<input type="text" name="terms"><button type="submit">Search</button>
|
||||
</form>
|
||||
<p>The code for <code>{{ env('APP_LONGURL') }}</code> can be found on <a href="https://github.com/jonnybarnes/jonnybarnes.uk">GitHub</a>.</p>
|
||||
<p>The code for <code>{{ config('app.longurl') }}</code> can be found on <a href="https://github.com/jonnybarnes/jonnybarnes.uk">GitHub</a>.</p>
|
||||
<p>Built with love: <a href="/colophon">Colophon</a></p>
|
||||
<p><a href="https://indieweb.org"><img src="/assets/img/iwc.png" alt="Indie Web Camp logo" class="iwc-logo"></a></p>
|
||||
</footer>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue