Make application name configurable and add repo URL
This commit is contained in:
parent
0f1f9b9ede
commit
0b44d10f06
|
@ -1,3 +1,6 @@
|
||||||
|
APP_NAME=pastethingy
|
||||||
|
APP_REPO=https://git.fuwafuwa.moe/lesderid/pastethingy
|
||||||
|
|
||||||
APP_DEBUG=true
|
APP_DEBUG=true
|
||||||
APP_URL=http://pastethingy.app
|
APP_URL=http://pastethingy.app
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,28 @@
|
||||||
|
|
||||||
return [
|
return [
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Application Name
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Global human-readable name for the application.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'name' => env('APP_NAME', 'pastethingy'),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Application Repository URL
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Repository URL for the application.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'repo' => env('APP_REPO', 'https://git.fuwafuwa.moe/lesderid/pastethingy'),
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
| Application Debug Mode
|
| Application Debug Mode
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>pastethingy</title>
|
<title>{{ config('app.name') }}</title>
|
||||||
|
|
||||||
<link href='https://fonts.googleapis.com/css?family=Roboto+Mono:400,300' rel='stylesheet' type='text/css'>
|
<link href='https://fonts.googleapis.com/css?family=Roboto+Mono:400,300' rel='stylesheet' type='text/css'>
|
||||||
|
|
||||||
|
@ -98,7 +98,7 @@
|
||||||
@endif
|
@endif
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<header>pastethingy</header>
|
<header>{{ config('app.name') }}</header>
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
<form action="/paste" method="post">
|
<form action="/paste" method="post">
|
||||||
|
@ -190,6 +190,7 @@
|
||||||
@else
|
@else
|
||||||
<a href="/?js=1">Tab key support (requires JS)</a>
|
<a href="/?js=1">Tab key support (requires JS)</a>
|
||||||
@endif
|
@endif
|
||||||
|
<p>· <a href="{{ config('app.repo') }}">Source code</a></p>
|
||||||
<p>· Dates and times are UTC.</p>
|
<p>· Dates and times are UTC.</p>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
<body>
|
<body>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<div class="title">pastethingy</div>
|
<div class="title">{{ config('app.name') }}</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
Loading…
Reference in New Issue