{{?typeof galleries !== "undefined"}}
    {{#galleries}}
        <div class="gallery-element">
            <div class="list-image adjusted-background" data-path="{{this.path}}" style="background-image: url('{{this.images[0].contentURI}}')">
                <div class="caption">{{this.name}} ({{this.images.length}})</div>
            </div>
        </div>
    {{/galleries}}
{{/typeof galleries !== "undefined"}}
