diff --git a/src/invidious/config.cr b/src/invidious/config.cr index b1f90cb7..93444fa5 100644 --- a/src/invidious/config.cr +++ b/src/invidious/config.cr @@ -82,6 +82,8 @@ class Config @[YAML::Field(converter: Preferences::URIConverter)] property public_url : URI = URI.parse("") + + property note : String = "" end # Number of threads to use for crawling videos from channels (for updating subscriptions) diff --git a/src/invidious/views/template.ecr b/src/invidious/views/template.ecr index a28e2e90..d934d892 100644 --- a/src/invidious/views/template.ecr +++ b/src/invidious/views/template.ecr @@ -117,7 +117,7 @@ <% CONFIG.invidious_companion.each_with_index do | backend, index | %> <% if current_backend == index %> - Backend<%= HTML.escape((index+1).to_s) %> + Backend<%= HTML.escape((index+1).to_s) %> <%= HTML.escape(backend.note) %> <% else %> - Backend<%= HTML.escape((index+1).to_s) %> + Backend<%= HTML.escape((index+1).to_s) %> <%= HTML.escape(backend.note) %>