mirror of
https://github.com/iv-org/invidious.git
synced 2024-11-08 13:42:27 +05:30
Merge 2b05e4cd45
into 4782a67038
This commit is contained in:
commit
b1aca73d29
@ -415,6 +415,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
|
||||
|
@ -104,6 +104,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'
|
||||
|
@ -152,6 +152,11 @@
|
||||
<span><%= translate(locale, "Current version: ") %> <%= CURRENT_VERSION %>-<%= CURRENT_COMMIT %> @ <%= CURRENT_BRANCH %></span>
|
||||
</div>
|
||||
</div>
|
||||
<% if CONFIG.footer %>
|
||||
<div class="h-box v-box" id="footer-info">
|
||||
<%= CONFIG.footer %>
|
||||
</div>
|
||||
<% end %>
|
||||
</footer>
|
||||
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user