Use a DISPLAY_NAME variable for titles

This commit is contained in:
Jonny Barnes 2016-12-10 11:48:17 +00:00
parent ca3dcf33fb
commit 187d387234
15 changed files with 18 additions and 17 deletions

View file

@ -2,12 +2,12 @@
<html lang="en-GB">
<head>
<meta charset="UTF-8">
<title>@if (App::environment() == 'local'){!! "[testing] -"!!}@endif @yield('title')</title>
<title>@if (App::environment() == 'local'){!! "[testing] -"!!}@endif @yield('title'){{ env('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">
<link rel="openid.server" href="https://indieauth.com/openid">
<link rel="openid.delegate" href="https://jonnybarnes.uk">
<link rel="openid.delegate" href="{{ config('app.url') }}">
<link rel="authorization_endpoint" href="https://indieauth.com/auth">
<link rel="token_endpoint" href="{{ config('app.url') }}/api/token">
<link rel="micropub" href="{{ config('app.url') }}/api/post">
@ -18,7 +18,7 @@
<body>
<header id="topheader">
<a rel="author" href="/">
<h1>Jonny Barnes</h1>
<h1>{{ env('DISPLAY_NAME') }}</h1>
</a>
<nav>
<a href="/blog">Articles</a>