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_URL=http://pastethingy.app
|
||||
|
||||
|
|
|
@ -2,6 +2,28 @@
|
|||
|
||||
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
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<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'>
|
||||
|
||||
|
@ -98,7 +98,7 @@
|
|||
@endif
|
||||
</head>
|
||||
<body>
|
||||
<header>pastethingy</header>
|
||||
<header>{{ config('app.name') }}</header>
|
||||
|
||||
<section>
|
||||
<form action="/paste" method="post">
|
||||
|
@ -190,6 +190,7 @@
|
|||
@else
|
||||
<a href="/?js=1">Tab key support (requires JS)</a>
|
||||
@endif
|
||||
<p>· <a href="{{ config('app.repo') }}">Source code</a></p>
|
||||
<p>· Dates and times are UTC.</p>
|
||||
</div>
|
||||
</footer>
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
<body>
|
||||
<div class="container">
|
||||
<div class="content">
|
||||
<div class="title">pastethingy</div>
|
||||
<div class="title">{{ config('app.name') }}</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
|
Loading…
Reference in New Issue