From d36fb862c8f0d14bd70d702fec3c7e17ff1cf205 Mon Sep 17 00:00:00 2001 From: Bilel Medimegh Date: Fri, 16 Oct 2020 00:21:49 +0200 Subject: Added opengraphs (https://ogp.me/) tags to support embedding, #24 (#25) * Added opengraphs (https://ogp.me/) tags to support embedding, #24 * Edited AUTHORS --- templates/base.html | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'templates/base.html') diff --git a/templates/base.html b/templates/base.html index 1584526..1b0ab6c 100644 --- a/templates/base.html +++ b/templates/base.html @@ -1,6 +1,7 @@ {{define "base"}} +{{ $playing := .Playing }} - + @@ -10,6 +11,18 @@ + {{if $playing.ID}} + + + + + + + + + + {{end}} + {{ template "stylesheets" . }} {{ template "css" . }} Tube -- cgit v1.2.3