From 4d5b65ed4c23fcaa13f192b8672e2b0e5762ec05 Mon Sep 17 00:00:00 2001 From: Felix Wolfsteller Date: Mon, 20 Apr 2020 23:32:57 +0200 Subject: [PATCH] add rather static course ld+json (#17) --- app/views/courses/show.html.haml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/app/views/courses/show.html.haml b/app/views/courses/show.html.haml index 20014ee..2d4199e 100644 --- a/app/views/courses/show.html.haml +++ b/app/views/courses/show.html.haml @@ -1,3 +1,15 @@ +%script{type: "application/ld+json"} + { + "@context": "https://schema.org", + "@type": "Course", + "name": "#{@course.name}", + "provider": { + "@type": "Organization", + "name": "yoga mit véronique", + "sameAs": "https://online.yogamitveronique.de" + } + } + .level .level-left .level-item