Skip to content

Commit

Permalink
Fixed invalid value in itemtype field in gallery template
Browse files Browse the repository at this point in the history
  • Loading branch information
pmoreno-rodriguez authored Aug 8, 2024
1 parent caf6473 commit f493657
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/gallery.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
{% set item_desc = item.description %}
{% set thumbnail = item_image.cropZoom(thumb_w, thumb_h).attribute('itemprop','http://schema.org/image').html(item_title,item_title,'gallery_content-image') %}

<div class="gallery_container {{columns}}" itemprop="associatedMedia" itemscope itemtype="MediaObject">
<div class="gallery_container {{columns}}" itemprop="associatedMedia" itemscope itemtype="http://schema.org/MediaObject">
<h3 class="title">{{item_title}}</h3>
<div class="gallery_content">
<a href="{{item_image.url}}" class="glightbox" data-height="{{page.header.height}}" data-width="{{page.header.width}}" data-title="{{item_title}}" data-description="{{item_desc|raw}}" data-desc-position="{{item.descPosition}}" data-zoomable="{{page.header.zoomable}}" data-draggable="{{page.header.draggable}}" data-type="image">
Expand Down

0 comments on commit f493657

Please sign in to comment.