</div>
<%/if>
- <%include include/browseAlbums.html>
+ <%include include/browseAlbums.html albums=album.albums>
<%if album.sone.local>
<div class="show-create-album hidden toggle-link"><a class="small-link">» <%= View.CreateAlbum.Title|l10n|html></a></div>
<h1><%= Page.ImageBrowser.Sone.Title|l10n|replace needle='{sone}' replacementKey=sone.niceName|html></h1>
- <%include include/browseAlbums.html>
+ <%include include/browseAlbums.html albums=sone.albums>
<%if sone.local>
<div class="show-create-album hidden toggle-link"><a class="small-link">» <%= View.CreateAlbum.Title|l10n|html></a></div>
-<%foreach album.albums album>
+<%foreach albums album>
<%first><h2><%= Page.ImageBrowser.Header.Albums|l10n|html></h2><%/first>
<%if loop.count|mod divisor=3><div class="album-row"><%/if>
<div id="album-<% album.id|html>" class="album">