DEV: Add hidden option to disable the lazy-yt plugin (#19448)
This commit is contained in:
parent
6f9843803d
commit
bbfc300345
|
@ -0,0 +1,3 @@
|
|||
en:
|
||||
site_settings:
|
||||
lazy_yt_enabled: "Enable the LazyYT plugin"
|
|
@ -0,0 +1,5 @@
|
|||
plugins:
|
||||
lazy_yt_enabled:
|
||||
default: true
|
||||
client: false
|
||||
hidden: true
|
|
@ -7,6 +7,7 @@
|
|||
# url: https://github.com/discourse/discourse/tree/main/plugins/lazy-yt
|
||||
|
||||
hide_plugin if self.respond_to?(:hide_plugin)
|
||||
enabled_site_setting :lazy_yt_enabled
|
||||
|
||||
require "onebox"
|
||||
|
||||
|
|
Loading…
Reference in New Issue