summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorZlendy <zlendy@proton.me>2025-04-11 22:04:18 +0200
committerZlendy <zlendy@proton.me>2025-04-11 22:56:33 +0200
commitcf260762f4f418b660f9b88f299a8cfc1a08b609 (patch)
treef7048da0b9940946ba8f99bd90e82a668adbc3fa /.config
parentfeat: Allow injection of raw HTML strings inside <head> (diff)
downloadsharkey-cf260762f4f418b660f9b88f299a8cfc1a08b609.tar.gz
sharkey-cf260762f4f418b660f9b88f299a8cfc1a08b609.tar.bz2
sharkey-cf260762f4f418b660f9b88f299a8cfc1a08b609.zip
docs: Add usage example of "customHtml.head" to ".config/example.yml"
Diffstat (limited to '.config')
-rw-r--r--.config/example.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/.config/example.yml b/.config/example.yml
index f3caa0d676..08a5680c41 100644
--- a/.config/example.yml
+++ b/.config/example.yml
@@ -425,3 +425,11 @@ attachLdSignatureForRelays: true
# If you're not using jemalloc, this may cause memory fragmentation and performance issues! (https://www.npmjs.com/package/ws#websocket-compression)
# jemalloc is used by default in the Sharkey Docker image and may be set up manually otherwise: https://github.com/jemalloc/jemalloc/wiki/getting-started
websocketCompression: false
+
+# Inject arbitrary HTML tags to customize Sharkey without having to fork it
+#customHtml:
+# head: |
+# <!-- The possibilities are limitless! -->
+# <script>console.log("Hello, world!")</script>
+# <style>.whatever { color: red; }</style>
+# <link rel="stylesheet" href="https://example.com/styles.css">