diff options
| author | Srxr <10549030+srxr@users.noreply.github.com> | 2021-06-08 21:22:14 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-08 23:22:14 +1000 |
| commit | e743a9a425ee3197649aa2c4996b8566bf75896d (patch) | |
| tree | 3fea1b47e2d180684cecc356b3194e1d8cae7540 /templates/base.html | |
| parent | 7e3d72c24f96d33a89889b0f441b2b76367bd0e7 (diff) | |
Remove proprietary notices about video (#40)
* Make content proprietary configurable
* Update README
* Fixed a few template context bugs
Co-authored-by: James Mills <prologic@shortcircuit.net.au>
Diffstat (limited to 'templates/base.html')
| -rw-r--r-- | templates/base.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/base.html b/templates/base.html index 1b0ab6c..8f30aad 100644 --- a/templates/base.html +++ b/templates/base.html @@ -1,5 +1,6 @@ {{define "base"}}
{{ $playing := .Playing }}
+{{ $config := .Config }}
<!DOCTYPE html>
<html lang="en" prefix="og: https://ogp.me/ns#">
<head>
@@ -37,7 +38,7 @@ </main>
<footer>
<p><a href="https://github.com/prologic/tube">Tube</a> is CopyRight © 2020 <a href="https://github.com/prologic">James Mills / prologic</a>. All Rights Reserved.</p>
- <p>All Content herein Public Domain and User Contributed.</p>
+ {{if .Config.Copyright.Content}}<p>{{ $config.Copyright.Content }}</p>{{end}}
</footer>
</body>
{{ template "scripts" . }}
|
