summaryrefslogtreecommitdiff
path: root/soupault.toml
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2022-07-19 13:14:38 +0100
committerDaniil Baturin <daniil@baturin.org>2022-07-19 13:14:38 +0100
commit30eec393bacc165b6c51c658fb9f95a7711a2f2c (patch)
tree3dc178c01f4fe59a42329fae7c68e80ae9a41636 /soupault.toml
parentd91b59c9ee8365b38ea5eb3c0e504159c4b41e90 (diff)
downloadcommunity.vyos.net-30eec393bacc165b6c51c658fb9f95a7711a2f2c.tar.gz
community.vyos.net-30eec393bacc165b6c51c658fb9f95a7711a2f2c.zip
Use a pre-rendered Trustpilot widgets (thanks to Nazar Pelekh)
Diffstat (limited to 'soupault.toml')
-rw-r--r--soupault.toml6
1 files changed, 6 insertions, 0 deletions
diff --git a/soupault.toml b/soupault.toml
index c17e5ca..f22b0b9 100644
--- a/soupault.toml
+++ b/soupault.toml
@@ -42,6 +42,12 @@
selector = "main"
action = "insert_before"
+# Inserts the banner in main page only
+[widgets.insert-trustpilot-widget]
+ widget = "include"
+ file = "templates/trustpilot.html"
+ selector = "#trustpilot-widget"
+
# Inserts a scary warning banner in preview versions
[widgets.insert-staging-warning]
widget = "include"