mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
12 lines
No EOL
536 B
Text
12 lines
No EOL
536 B
Text
<% if (!is_current_site && site.followings_dataset.count > 0) || is_current_site %>
|
|
<h3>Following</h3>
|
|
<div class="following">
|
|
<% if site.followings_dataset.count == 0 %>
|
|
<p>You are not following any sites yet. Add some by <a href="/browse">browsing sites</a> or looking at your tags.
|
|
<% else %>
|
|
<% site.followings.each do |following| %>
|
|
<a href="/site/<%= site.username %>"><img src="<%= site.screenshot_path 'index.html', '37x37' %>" class="avatar"></a>
|
|
<% end %>
|
|
<% end %>
|
|
</div>
|
|
<% end %> |