mirror of
https://framagit.org/fiat-tux/hat-softwares/lutim.git
synced 2026-03-28 17:42:54 +01:00
🔀 Merge remote-tracking branch 'nicofrand/master' into development
This commit is contained in:
@@ -129,3 +129,13 @@ function buildMessage(success, msg) {
|
||||
</div>`;
|
||||
}
|
||||
}
|
||||
|
||||
// Overwrite the function to edit the gallery selector: `.container .gallery` instead of `.gallery` as the page name is added
|
||||
// to the body's classnames in this theme.
|
||||
function appendToGallery(url, width, height) {
|
||||
$('.container .gallery').append(`<figure itemprop="associatedMedia" itemscope itemtype="http://schema.org/ImageObject">
|
||||
<a href="${url}" itemprop="contentUrl" data-size="${width}x${height}">
|
||||
<img src="${url}?width=275" itemprop="thumbnail" alt="" class="img-responsive"/>
|
||||
</a>
|
||||
</figure>`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user