mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 01:32:36 +02:00
fix for global activity
This commit is contained in:
parent
10a6e1634f
commit
2bd0d8d35b
1 changed files with 14 additions and 12 deletions
|
@ -10,8 +10,9 @@
|
|||
<script src="/js/news/event.js"></script>
|
||||
<script src="/js/news/site.js"></script>
|
||||
|
||||
<% follow_events = site.newest_follows %>
|
||||
<% unless follow_events.empty? %>
|
||||
<% if defined?(site) %>
|
||||
<% follow_events = site.newest_follows %>
|
||||
<% unless follow_events.empty? %>
|
||||
<div class="news-item follow">
|
||||
<div class="icon"><a href="/site/<%= site.username %>" title="<%= site.username %>" class="avatar" style="background-image: url(<%= site.screenshot_url 'index.html', '50x50' %>);"></a></div>
|
||||
|
||||
|
@ -25,6 +26,7 @@
|
|||
<% end %>
|
||||
</div>
|
||||
</div>
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
||||
<% events.each do |event| %>
|
||||
|
|
Loading…
Add table
Reference in a new issue