{{if !empty( $albums ) }}

{$title}

{{if $orientation == 'horizontal'}}
    {{else}}
      {{endif}} {{foreach $albums as $album}}
    • {{if $album->asNode()->coverPhoto('masked')}} {$album->name} {{endif}} {template="nsfwOverlay" app="gallery" location="front" group="global" params="$album->asNode()->coverPhotoObject()"}

      {$album->name}

      • {lang="byline" sprintf="$album->author()->name"} {datetime="$album->mapped('updated')"}
        {{if $album->use_comments}}
      • {$album->comments}
      • {{endif}} {{if $album->allow_comments}}
      • {$album->count_comments}
      • {{endif}}
      • {$album->count_imgs}
    • {{endforeach}} {{if $orientation == 'vertical'}}
    {{else}}
{{endif}}
{{endif}}