Skip to content

Commit

Permalink
Merge pull request #41 from StackTipsLab/bugfix/fix-course-breadcrumb
Browse files Browse the repository at this point in the history
Bugfix/fix course breadcrumb
  • Loading branch information
nilandev authored Dec 22, 2023
2 parents 2aa6f3b + dd210cb commit 2c0a53b
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.description }}","provider":{"@type":"Organization","name":"StackTips","sameAs":"{% get_settings 'SITE_URL' %}{% url 'courses_single' slug=course.slug %}"}}</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}}"}]}]}</script>

0 comments on commit 2c0a53b

Please sign in to comment.