Sha256: 2d2c2ef8b8ea8d330460724384dcda3daa58eb77835fb5c7e7bd2c5e6dc9a75e

Contents?: true

Size: 869 Bytes

Versions: 5

Compression:

Stored size: 869 Bytes

Contents

{% assign dataArr = site.data.[page.folderName][lang][file] %}
{% assign dataToShow = dataArr %}
{% assign description = dataToShow.META | replace:"$variable", page.value | default: site.description %}
{%- assign tool = page.tool -%}
{%- assign data = site.data.rating.rating.tools -%}
{%- for item in data -%}
{%- if item.name ==tool -%}
{%- assign name = item.name -%}
{%- assign rating = item.rating -%}
{%- assign votes = item.votes -%}
{%- endif -%}
{%- endfor -%}
<script type="application/ld+json">
  {
    "@context": "http://schema.org",
    "@type": "Product",
    "brand": "{{site.name}}",
    "name": "{{name}}",
    "description": "{{description}}",
    "category": "Productivity",
    "aggregateRating": {
      "@type": "AggregateRating",
      "ratingValue": "{{rating}}",
      "ratingCount": "{{votes}}"
    }
  }
</script>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
appscms-tools-theme-0.6.1 _includes/Rating/structureddata.html
appscms-tools-theme-0.6.0 _includes/Rating/structureddata.html
appscms-tools-theme-0.5.9 _includes/Rating/structureddata.html
appscms-tools-theme-0.5.8 _includes/Rating/structureddata.html
appscms-tools-theme-0.5.7 _includes/Rating/structureddata.html