{lang="gallery_title"}

{{if \IPS\gallery\Category::canOnAny('add')}} {{endif}}
{{if !empty( $featured )}} {{endif}} {{$clubNodes = settings.club_nodes_in_apps ? \IPS\gallery\Category::clubNodes() : array();}} {{if $rootCategories = \IPS\gallery\Category::roots()}}

{{if $clubNodes}}{lang="community_image_categories"}{{else}}{lang="gallery_categories"}{{endif}} {lang="gallery_view_all_categories"}

{template="categoryGrid" group="browse" app="gallery" params="$rootCategories"}
{{endif}} {{if settings.club_nodes_in_apps and $clubNodes = \IPS\gallery\Category::clubNodes()}}
{{if $rootCategories}}

{lang="club_node_gallery"}

{{endif}}
{template="categoryGrid" group="browse" app="gallery" params="$clubNodes"}
{{endif}} {{if \count( $recentlyUpdatedAlbums )}}

{lang="gallery_recently_updated_albums"}

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

    {$album->name}

    • {$album->count_imgs}
    • {{if $album->use_comments && $album->comments > 0}}
    • {$album->comments}
    • {{endif}} {{if $album->allow_comments && $album->count_comments > 0}}
    • {$album->count_comments}
    • {{endif}}
  • {{endforeach}}
{{endif}} {{if !empty( $new )}}

{lang="new_images"}

{{endif}}