Merge 2b05e4cd45cc310e8562762eced3ebc3cc9c2097 into 7e36cfb6678770db8a55e575caddd981dce2d032

This commit is contained in:
Aural Glow 2026-01-21 17:55:08 +00:00 committed by GitHub
commit 0a5f10e835
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 17 additions and 0 deletions

View File

@ -476,6 +476,16 @@ jobs:
##
#banner:
##
## Custom footer displayed on the bottom of every page.
## Similar to the banner option but at the bottom of the page
## Useful for putting contact info of a/the maintainer for example.
##
## Accepted values: any string. HTML is accepted.
## Default: <none>
##
#footer:
##
## Subscribe to channels using PubSubHub (Google PubSubHubbub service).
## PubSubHub allows Invidious to be instantly notified when a new video

View File

@ -138,6 +138,8 @@ class Config
property cache_annotations : Bool = false
# Optional banner to be displayed along top of page for announcements, etc.
property banner : String? = nil
# Optional footer banner to be displayed along the bottom of the page. Can be used for maintainer contact info, etc.
property footer : String? = nil
# Enables 'Strict-Transport-Security'. Ensure that `domain` and all subdomains are served securely
property hsts : Bool? = true
# Disable proxying server-wide: options: 'dash', 'livestreams', 'downloads', 'local'

View File

@ -170,6 +170,11 @@
</span>
</div>
</div>
<% if CONFIG.footer %>
<div class="h-box v-box" id="footer-info">
<%= CONFIG.footer %>
</div>
<% end %>
</footer>
</div>