From e743a9a425ee3197649aa2c4996b8566bf75896d Mon Sep 17 00:00:00 2001 From: Srxr <10549030+srxr@users.noreply.github.com> Date: Tue, 8 Jun 2021 21:22:14 +0800 Subject: Remove proprietary notices about video (#40) * Make content proprietary configurable * Update README * Fixed a few template context bugs Co-authored-by: James Mills --- templates/base.html | 3 ++- templates/upload.html | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'templates') 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 }} @@ -37,7 +38,7 @@ {{ template "scripts" . }} diff --git a/templates/upload.html b/templates/upload.html index 2967416..54c2ccd 100644 --- a/templates/upload.html +++ b/templates/upload.html @@ -36,6 +36,6 @@ {{end}} {{define "scripts"}} - + {{end}} -- cgit v1.2.3