feat: add json data for local business rating to all pages

This commit leaves room for improvements since most of the values are
hardcoded and json data is injected in a data processor.
This commit is contained in:
Björn Fromme
2023-11-22 12:31:47 +01:00
parent 59ff6ffe6d
commit 072230219c
2 changed files with 41 additions and 0 deletions
@@ -187,4 +187,7 @@
{ep:icon(icon: 'chevron-up', class: 'w-8 h-8 text-white')}
</button>
<script type="application/ld+json">
<f:format.raw>{totalRatings.jsonData->f:format.json()}</f:format.raw>
</script>
</html>