37 lines
768 B
Plaintext
37 lines
768 B
Plaintext
|
<% content_for(:html_head) do %>
|
||
|
<!-- Lupines are the best :3 -->
|
||
|
|
||
|
<%= render partial: "yiff_rest/home/head" %>
|
||
|
|
||
|
<!-- JSON-LD markup generated by Google Structured Data Markup Helper. -->
|
||
|
<script type="application/ld+json">
|
||
|
{
|
||
|
"@context": "https://schema.org",
|
||
|
"@type": "WebSite",
|
||
|
"name": "YiffyAPI State",
|
||
|
"alternateName": "Yiffy API State",
|
||
|
"url": "https://state.yiff.rest",
|
||
|
"sameAs": [
|
||
|
"https://v2.yiff.rest/state"
|
||
|
]
|
||
|
}
|
||
|
</script>
|
||
|
<% end %>
|
||
|
|
||
|
<table>
|
||
|
<thead>
|
||
|
<tr>
|
||
|
<th>Category Name</th>
|
||
|
<th>Image Count</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody>
|
||
|
<% @state.each do |state| %>
|
||
|
<tr class="<%= state[:state] %>">
|
||
|
<td><%= state[:name] %></td>
|
||
|
<td><%= state[:count] %></td>
|
||
|
</tr>
|
||
|
<% end %>
|
||
|
</tbody>
|
||
|
</table>
|