Merge branch 'feature/configdb-mix-tasks' into 'develop'
[akkoma] / docs / configuration / static_dir.md
index 8e7eea7fb21d7f941c85ac549093f2bd83b18308..8ac07b725f6bc34799981cea904af68780984e5c 100644 (file)
@@ -4,15 +4,19 @@ Static frontend files are shipped with pleroma. If you want to overwrite or upda
 
 You can find the location of the static directory in the [configuration](../cheatsheet/#instance).
 
-```elixir tab="OTP"
-config :pleroma, :instance,
-  static_dir: "/var/lib/pleroma/static/",
-```
+=== "OTP"
 
-```elixir tab="From Source"
-config :pleroma, :instance,
-  static_dir: "instance/static/",
-```
+    ```elixir
+    config :pleroma, :instance,
+      static_dir: "/var/lib/pleroma/static/"
+    ```
+
+=== "From Source"
+
+    ```elixir
+    config :pleroma, :instance,
+    static_dir: "instance/static/"
+    ```
 
 Alternatively, you can overwrite this value in your configuration to use a different static instance directory.
 
@@ -26,7 +30,7 @@ There's a mix tasks to [generate a new robot.txt](../../administration/CLI_tasks
 
 For more complex things, you can write your own robots.txt to `$static_dir/robots.txt`.
 
-E.g. if you want to block all crawerls except for [fediverse.newtork](https://fediverse.network/about) you can use
+E.g. if you want to block all crawlers except for [fediverse.network](https://fediverse.network/about) you can use
 
 ```
 User-Agent: *
@@ -45,7 +49,7 @@ Add `$static_dir/instance/thumbnail.jpeg` with your selfie or other neat picture
 
 ## Instance-specific panel
 
-Create and Edit your file on `$static_dir/instance/panel.html`.
+Create and Edit your file at `$static_dir/instance/panel.html`.
 
 ## Background