phase 5
This commit is contained in:
@@ -1,3 +1,26 @@
|
||||
<!-- Schema.org Structured Data -->
|
||||
<% if (analysis) { %>
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "https://schema.org",
|
||||
"@type": "Review",
|
||||
"itemReviewed": {
|
||||
"@type": "Organization",
|
||||
"name": "<%= service.name %>",
|
||||
"url": "<%= service.url %>"
|
||||
},
|
||||
"reviewRating": {
|
||||
"@type": "Rating",
|
||||
"ratingValue": "<%= 6 - analysis.overall_score.charCodeAt(0) + 64 %>",
|
||||
"bestRating": "5",
|
||||
"worstRating": "1"
|
||||
},
|
||||
"reviewBody": "<%= analysis.summary ? analysis.summary.replace(/"/g, '\\"') : 'Privacy policy analysis for ' + service.name %>",
|
||||
"datePublished": "<%= analysis.created_at %>"
|
||||
}
|
||||
</script>
|
||||
<% } %>
|
||||
|
||||
<!-- Breadcrumb -->
|
||||
<nav aria-label="Breadcrumb" class="breadcrumb">
|
||||
<ol>
|
||||
|
||||
Reference in New Issue
Block a user