Add OG title and description to course about pages

This commit is contained in:
Giulio Gratta
2014-02-03 11:30:32 -08:00
parent 9fd0fbc783
commit 879a849eea

View File

@@ -26,6 +26,11 @@
%>
<%include file="${google_analytics_file}" />
## OG (Open Graph) title and description added below to give social media info to display
## (https://developers.facebook.com/docs/opengraph/howtos/maximizing-distribution-media-content#tags)
<meta property="og:title" content="${get_course_about_section(course, 'title')}" />
<meta property="og:description" content="${get_course_about_section(course, 'short_description')}" />
</%block>
<%block name="js_extra">