Use a DISPLAY_NAME variable for titles
This commit is contained in:
parent
ca3dcf33fb
commit
187d387234
15 changed files with 18 additions and 17 deletions
|
@ -42,6 +42,7 @@ APP_SHORTURL=examp.le
|
||||||
|
|
||||||
ADMIN_USER=admin # pick something better, this is used for `/admin`
|
ADMIN_USER=admin # pick something better, this is used for `/admin`
|
||||||
ADMIN_PASS=password
|
ADMIN_PASS=password
|
||||||
|
DISPLAY_NAME='Joe Bloggs' # This is used for example in the header and titles
|
||||||
|
|
||||||
TWITTER_CONSUMER_KEY=
|
TWITTER_CONSUMER_KEY=
|
||||||
TWITTER_CONSUMER_SECRET=
|
TWITTER_CONSUMER_SECRET=
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
@extends('master')
|
@extends('master')
|
||||||
|
|
||||||
@section('title')
|
@section('title')
|
||||||
Notes « Jonny Barnes
|
Notes «
|
||||||
@stop
|
@stop
|
||||||
|
|
||||||
@section('content')
|
@section('content')
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
@extends('master')
|
@extends('master')
|
||||||
|
|
||||||
@section('title')
|
@section('title')
|
||||||
Places « Jonny Barnes
|
Places «
|
||||||
@stop
|
@stop
|
||||||
|
|
||||||
@section('content')
|
@section('content')
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
@extends('master')
|
@extends('master')
|
||||||
@section('title')Colophon for Jonny Barnes.uk @stop
|
@section('title')Colophon for @stop
|
||||||
|
|
||||||
@section('content')
|
@section('content')
|
||||||
<h2>Colophon</h2>
|
<h2>Colophon</h2>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
@extends('master')
|
@extends('master')
|
||||||
|
|
||||||
@section('title')
|
@section('title')
|
||||||
Contacts « Jonny Barnes
|
Contacts «
|
||||||
@stop
|
@stop
|
||||||
|
|
||||||
@section('content')
|
@section('content')
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
@extends('master')
|
@extends('master')
|
||||||
|
|
||||||
@section('title')
|
@section('title')
|
||||||
Contacts « Jonny Barnes
|
Contacts «
|
||||||
@stop
|
@stop
|
||||||
|
|
||||||
@section('content')
|
@section('content')
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
<html lang="en-GB">
|
<html lang="en-GB">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<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">
|
<meta name="viewport" content="width=device-width">
|
||||||
<link rel="stylesheet" href="/assets/frontend/normalize.css">
|
<link rel="stylesheet" href="/assets/frontend/normalize.css">
|
||||||
<link rel="stylesheet" href="/assets/css/app.css">
|
<link rel="stylesheet" href="/assets/css/app.css">
|
||||||
<link rel="openid.server" href="https://indieauth.com/openid">
|
<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="authorization_endpoint" href="https://indieauth.com/auth">
|
||||||
<link rel="token_endpoint" href="{{ config('app.url') }}/api/token">
|
<link rel="token_endpoint" href="{{ config('app.url') }}/api/token">
|
||||||
<link rel="micropub" href="{{ config('app.url') }}/api/post">
|
<link rel="micropub" href="{{ config('app.url') }}/api/post">
|
||||||
|
@ -18,7 +18,7 @@
|
||||||
<body>
|
<body>
|
||||||
<header id="topheader">
|
<header id="topheader">
|
||||||
<a rel="author" href="/">
|
<a rel="author" href="/">
|
||||||
<h1>Jonny Barnes</h1>
|
<h1>{{ env('DISPLAY_NAME') }}</h1>
|
||||||
</a>
|
</a>
|
||||||
<nav>
|
<nav>
|
||||||
<a href="/blog">Articles</a>
|
<a href="/blog">Articles</a>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
@extends('master')
|
@extends('master')
|
||||||
|
|
||||||
@section('title')
|
@section('title')
|
||||||
New Note « Jonny Barnes
|
New Note «
|
||||||
@stop
|
@stop
|
||||||
|
|
||||||
@section('content')
|
@section('content')
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
@extends('master')
|
@extends('master')
|
||||||
|
|
||||||
@section('title')
|
@section('title')
|
||||||
Articles « Jonny Barnes
|
Articles «
|
||||||
@stop
|
@stop
|
||||||
|
|
||||||
@section('content')
|
@section('content')
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
@extends('master')
|
@extends('master')
|
||||||
|
|
||||||
@section('title')
|
@section('title')
|
||||||
Search « Jonny Barnes
|
Search «
|
||||||
@stop
|
@stop
|
||||||
|
|
||||||
@section('content')
|
@section('content')
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
@extends('master')
|
@extends('master')
|
||||||
|
|
||||||
@section('title')
|
@section('title')
|
||||||
{{ strip_tags($note->note) }} « Notes « Jonny Barnes
|
{{ strip_tags($note->note) }} « Notes «
|
||||||
@stop
|
@stop
|
||||||
|
|
||||||
@section('content')
|
@section('content')
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
@extends('master')
|
@extends('master')
|
||||||
|
|
||||||
@section('title')
|
@section('title')
|
||||||
{{ $place->name }} « Places « Jonny Barnes
|
{{ $place->name }} « Places «
|
||||||
@stop
|
@stop
|
||||||
|
|
||||||
@section('content')
|
@section('content')
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
@extends('master')
|
@extends('master')
|
||||||
|
|
||||||
@section('title')
|
@section('title')
|
||||||
{{ strip_tags($article->title) }} <?php echo html_entity_decode("«"); ?> Jonny Barnes
|
{{ strip_tags($article->title) }} «
|
||||||
@stop
|
@stop
|
||||||
|
|
||||||
@section('content')
|
@section('content')
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
@extends('master')
|
@extends('master')
|
||||||
|
|
||||||
@section('title')
|
@section('title')
|
||||||
Notes <?php echo html_entity_decode('«'); ?> Jonny Barnes
|
Tagged Notes «
|
||||||
@stop
|
@stop
|
||||||
|
|
||||||
@section('content')
|
@section('content')
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
@extends('master')
|
@extends('master')
|
||||||
|
|
||||||
@section('title')
|
@section('title')
|
||||||
WebMentions « Jonny Barnes
|
WebMentions «
|
||||||
@stop
|
@stop
|
||||||
|
|
||||||
@section('content')
|
@section('content')
|
||||||
|
|
Loading…
Add table
Reference in a new issue