Skip to content

Commit

Permalink
updated jsonld for courses
Browse files Browse the repository at this point in the history
  • Loading branch information
Nilanchal Panigrahy committed Dec 22, 2023
1 parent dd210cb commit a91652a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bloggy/templates/seo/course_jsonld.html
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
{% load custom_widgets %}
<script type="application/ld+json">{"@context":"https://schema.org","@type":"Course","name":"{{ course.title }}","description":"{{ course.excerpt }}","inLanguage":"en","provider":{"@type":"Organization","name":"StackTips","sameAs":"{% get_settings 'SITE_URL' %}{% url 'courses_single' slug=course.slug %}"},"image":["{{course.thumbnail.url}}"],"hasCourseInstance":[{"@type":"CourseInstance","courseMode":"Online","courseWorkload":"P7D","instructor":[{"@type":"Person","name":"{{course.author.get_full_name}}","description":"{{course.author.bio}}","image":"{{course.author.profile_photo.url}}"}]}]}</script>
<script type="application/ld+json">{"@context":"https://schema.org","@type":"Course","name":"{{ course.title }}","description":"{{ course.excerpt }}","inLanguage":"en","provider":{"@type":"Organization","name":"StackTips","sameAs":"{% get_settings 'SITE_URL' %}{% url 'courses_single' slug=course.slug %}"},"image":["{{course.thumbnail.url}}"],"hasCourseInstance":[{"@type":"CourseInstance","courseMode":"Online","courseWorkload":"P7D","instructor":[{"@type":"Person","name":"{{course.author.get_full_name}}","description":"{{course.author.bio}}","image":"{{course.author.profile_photo.url}}"}]}],"offers":[{"@type":"Offer","category":"Free","priceCurrency":"USD","price":0}]}</script>

0 comments on commit a91652a

Please sign in to comment.