1
0
mirror of https://git.feneas.org/feneas/fediverse.git synced 2024-12-23 03:38:01 +01:00
guida-fediverso/themes/starter/layout/_partial/generalinfo.ejs

45 lines
1.3 KiB
Plaintext
Raw Normal View History

2018-03-12 20:31:14 +01:00
<%
const network = page.network;
const data = site.data[network].data;
%>
<section class="column">
<div class="section">
2018-08-24 00:18:07 +02:00
<h4><%- __('category') %></h4><span><%= data.category %></span>
2018-03-12 20:31:14 +01:00
</div>
<div class="section">
2018-08-24 00:18:07 +02:00
<h4><%- __('type') %></h4><span><%= data.type %></span>
2018-03-12 20:31:14 +01:00
</div>
<div class="section">
<h4><%- __('created') %></h4><span><%= data.created %></span>
</div>
<div class="section">
<h4><%- __('official') %></h4><span><a href="<%= data.official %>"><%= stripHTTPS(data.official) %></a></span>
2018-03-12 20:31:14 +01:00
</div>
<div class="section">
<h4><%- __('license') %></h4><span><%= data.license %></span>
</div>
<div class="section">
2018-03-14 20:02:50 +01:00
<h4><%- __('code') %></h4><span><a href="<%= data.repo %>"><%- __('repo') %></a></span>
2018-03-12 20:31:14 +01:00
</div>
<div class="section">
<h4><%- __('language') %></h4><span><%= data.language %></span>
</div>
<div class="section">
<h4><%- __('protocols') %></h4>
<ul class="section-list">
2018-08-24 00:18:07 +02:00
<% for (item in data.protocols) { %>
2018-03-12 20:31:14 +01:00
<li class="u-inline">
2018-08-24 00:18:07 +02:00
<a href="<%= data.protocols[item].url %>"><%= data.protocols[item].title %></a><span>,&nbsp;&nbsp;</span>
2018-03-12 20:31:14 +01:00
</li>
<% } %>
</ul>
</div>
<% if (data.wiki) { %>
2018-03-12 20:31:14 +01:00
<div class="section">
2018-03-14 20:02:50 +01:00
<h4><%- __('wiki') %></h4><span><a href="<%= data.wiki %>"><%- __('resources') %></a></span>
2018-03-12 20:31:14 +01:00
</div>
<% } %>
</section>