forked from AkkomaGang/akkoma
Add favicon, frontend docs
This commit is contained in:
parent
0e4c201f8d
commit
cc75b313f3
3 changed files with 31 additions and 2 deletions
|
@ -71,4 +71,3 @@ config :pleroma, :frontend_configurations,
|
|||
```
|
||||
|
||||
If you added it in the back-end configuration file, you'll need to restart your instance for the changes to take effect. If you don't see the changes, it's probably because the browser has cached the previous theme. In that case you'll want to clear browser caches. Alternatively you can use a private/incognito window just to see the changes.
|
||||
|
||||
|
|
|
@ -89,6 +89,13 @@ config :pleroma, :frontend_configurations,
|
|||
|
||||
Terms of Service will be shown to all users on the registration page. It's the best place where to write down the rules for your instance. You can modify the rules by adding and changing `$static_dir/static/terms-of-service.html`.
|
||||
|
||||
## Favicon
|
||||
|
||||
The favicon will display on the frontend, and in the browser tab.
|
||||
|
||||
Place a PNG file at `$static_dir/favicon.png` to change the favicon. Not that this
|
||||
is _one level above_ where the logo is placed, it should be on the same level as
|
||||
the `frontends` directory.
|
||||
|
||||
## Styling rendered pages
|
||||
|
||||
|
|
|
@ -95,3 +95,26 @@ Your situation will likely be unique - you'll need the changes in the
|
|||
[forked pleroma-fe repository](https://akkoma.dev/AkkomaGang/pleroma-fe),
|
||||
and either merge or cherry-pick from there depending on how you've got
|
||||
things.
|
||||
|
||||
## Common issues
|
||||
|
||||
### The frontend doesn't show after installing it
|
||||
|
||||
This may occur if you are using database configuration.
|
||||
|
||||
Sometimes the config in your database will cause akkoma to still report
|
||||
that there's no frontend, even when you've run the install.
|
||||
|
||||
To fix this, run:
|
||||
|
||||
=== "OTP"
|
||||
```sh
|
||||
./bin/pleroma_ctl config delete pleroma frontends
|
||||
```
|
||||
|
||||
=== "From Source"
|
||||
```sh
|
||||
mix pleroma.config delete pleroma frontends
|
||||
```
|
||||
|
||||
which will remove the config from the database. Things should work now.
|
Loading…
Reference in a new issue