Browse Source

Add title and OpenGraph tags to certificate default template

Yannick Warnier 9 years ago
parent
commit
7db39d29e7
1 changed files with 5 additions and 1 deletions
  1. 5 1
      main/gradebook/certificate_template/template.html

+ 5 - 1
main/gradebook/certificate_template/template.html

@@ -1,6 +1,10 @@
-<html>
+<html prefix="og: http://ogp.me/ns/article#">
     <head>
         <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+        <title>((course_title)) - ((user_firstname)) ((user_lastname)) - ((date_certificate_no_time))</title>
+        <meta property="og:type" content="article" />
+        <meta property="og:title" content="((course_title)) - Certificate for ((user_firstname)) ((user_lastname))" />
+        <meta property="og:url" content="((certificate_link))" />
     </head>
     <body style="background-color: #fff;">
         <div style="width: 1072px;margin-left: auto;margin-right: auto;">