Set default panel
This commit is contained in:
parent
1d595813a1
commit
87e28b1c19
2 changed files with 7 additions and 1 deletions
6
priv/static/instance/panel.html
Normal file
6
priv/static/instance/panel.html
Normal file
|
@ -0,0 +1,6 @@
|
|||
<div style="margin-left:12px; margin-right:12px">
|
||||
<p>Welcome to <a href="https://akkoma.dev" target="_blank">Akkoma</a>!</p>
|
||||
|
||||
<a href="/about">About this instance</a>
|
||||
<hr />
|
||||
</div>
|
|
@ -7,7 +7,7 @@ defmodule Pleroma.Web.AdminAPI.InstanceDocumentControllerTest do
|
|||
import Pleroma.Factory
|
||||
|
||||
@dir "test/tmp/instance_static"
|
||||
@default_instance_panel ~s(<p>Welcome to <a href="https://pleroma.social" target="_blank">Pleroma!</a></p>)
|
||||
@default_instance_panel ~s(<p>Welcome to <a href="https://akkoma.dev" target="_blank">Akkoma</a>!</p>)
|
||||
|
||||
setup do
|
||||
File.mkdir_p!(@dir)
|
||||
|
|
Loading…
Reference in a new issue