mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-26 00:03:16 +00:00
Update instance config, add optional public hashtags
This commit is contained in:
parent
db49f5e052
commit
f90cf7f6f7
1 changed files with 19 additions and 7 deletions
|
@ -1,21 +1,33 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
return [
|
return [
|
||||||
'email' => env('INSTANCE_CONTACT_EMAIL'),
|
|
||||||
|
|
||||||
'contact' => [
|
|
||||||
'enabled' => env('INSTANCE_CONTACT_FORM', false),
|
|
||||||
'max_per_day' => env('INSTANCE_CONTACT_MAX_PER_DAY', 1),
|
|
||||||
],
|
|
||||||
|
|
||||||
'announcement' => [
|
'announcement' => [
|
||||||
'enabled' => env('INSTANCE_ANNOUNCEMENT_ENABLED', true),
|
'enabled' => env('INSTANCE_ANNOUNCEMENT_ENABLED', true),
|
||||||
'message' => env('INSTANCE_ANNOUNCEMENT_MESSAGE', 'Example announcement message.<br><span class="font-weight-normal">Something else here</span>')
|
'message' => env('INSTANCE_ANNOUNCEMENT_MESSAGE', 'Example announcement message.<br><span class="font-weight-normal">Something else here</span>')
|
||||||
],
|
],
|
||||||
|
|
||||||
|
'contact' => [
|
||||||
|
'enabled' => env('INSTANCE_CONTACT_FORM', false),
|
||||||
|
'max_per_day' => env('INSTANCE_CONTACT_MAX_PER_DAY', 1),
|
||||||
|
],
|
||||||
|
|
||||||
|
'discover' => [
|
||||||
|
'loops' => [
|
||||||
|
'enabled' => false
|
||||||
|
],
|
||||||
|
'tags' => [
|
||||||
|
'is_public' => env('INSTANCE_PUBLIC_HASHTAGS', false)
|
||||||
|
],
|
||||||
|
],
|
||||||
|
|
||||||
|
'email' => env('INSTANCE_CONTACT_EMAIL'),
|
||||||
|
|
||||||
'timeline' => [
|
'timeline' => [
|
||||||
'local' => [
|
'local' => [
|
||||||
'is_public' => env('INSTANCE_PUBLIC_LOCAL_TIMELINE', false)
|
'is_public' => env('INSTANCE_PUBLIC_LOCAL_TIMELINE', false)
|
||||||
]
|
]
|
||||||
]
|
],
|
||||||
|
|
||||||
|
|
||||||
];
|
];
|
Loading…
Reference in a new issue