From 87a54649efee1f7564cabbaf835eb9581295856b Mon Sep 17 00:00:00 2001 From: Andreas <andreasv@fsmpi.rwth-aachen.de> Date: Sat, 6 May 2017 13:26:50 +0200 Subject: [PATCH] fixing thumbnail in meta tags, closes #290 --- templates/lecture.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/lecture.html b/templates/lecture.html index a5e0a07..c7d38a3 100644 --- a/templates/lecture.html +++ b/templates/lecture.html @@ -13,7 +13,7 @@ {% block header %} {{ super() }} - <meta property="og:image" content="{{ config.VIDEOPREFIX }}/{{ lecture['titlefile'] }}" /> + <meta property="og:image" content="{{ config.VIDEOPREFIX }}/thumbnail/l_{{lecture.id}}.jpg" /> <meta property="og:title" content="{{ course.title }}: {{ lecture.title}}" /> <meta property="og:description" content="{{ lecture.comment }}" /> {% endblock %} -- GitLab