mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 01:32:36 +02:00
fix browse display
This commit is contained in:
parent
b2aacfe34d
commit
2125c49aea
1 changed files with 8 additions and 17 deletions
|
@ -1,20 +1,11 @@
|
||||||
<div class="content single-Col">
|
<div class="content single-Col">
|
||||||
|
<ul class="row website-Gallery">
|
||||||
<% count = 0 %>
|
<% @sites.each do |site| %>
|
||||||
<% @sites.each_with_index do |site,i| %>
|
<li>
|
||||||
<% if count == 0 %>
|
<a href="http://<%= site.username %>.neocities.org" target="_blank">
|
||||||
<div class="row">
|
<img src="http://neocities.org/site_screenshots/<%= site.username %>.jpg" />
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% count += 1 %>
|
</ul>
|
||||||
|
|
||||||
<div class="col col-25">
|
|
||||||
DERPIE PIKACHU
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<% if count == 4 || @sites.length-1 == i %>
|
|
||||||
</div>
|
|
||||||
<% count = 0 %>
|
|
||||||
<% end %>
|
|
||||||
<% end %>
|
|
||||||
|
|
||||||
</div> <!-- end .content -->
|
</div> <!-- end .content -->
|
Loading…
Add table
Reference in a new issue