Skip to content

Commit

Permalink
schema.org extension
Browse files Browse the repository at this point in the history
  • Loading branch information
roman-dvorak committed Jul 9, 2023
1 parent 836d7e6 commit c70a0cf
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/MLABweb/template/modules.detail.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,21 @@
<meta name="robots" content="index,follow">
<meta name="author" content="MLAB team <[email protected]>">
<link rel="canonical" href="https://www.mlab.cz/module/{{module_data['name']}}/">

<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Product",
"description": "{{module_data['description']}}",
"name": "{{module_data['name']}}",
"image": "{{module_data['github_raw']}}/{{module_data['image_title']}}",
"brand": "MLAB.cz",
"manufacturer": "www.ust.cz",
"url": "https://www.mlab.cz/module/{{module_data['name']}}/"
}
</script>

{% end %}
{% block content %}

Expand Down

0 comments on commit c70a0cf

Please sign in to comment.