1
0
mirror of https://git.feneas.org/feneas/fediverse.git synced 2024-12-23 09:17:59 +01:00
guida-fediverso/themes/starter/layout/pleroma.ejs

58 lines
1.4 KiB
Plaintext
Raw Normal View History

2018-03-12 20:31:14 +01:00
---
layout: layout
---
<%
const data = site.data.pleroma.data;
2018-03-24 22:59:14 +01:00
const tutorials = data.tutorials;
const tuts = [__('ownInstance'), __('dualQuitter')];
2018-06-12 14:35:53 +02:00
const ux = data.forUsers;
const uxList = [ __('uMatch')];
2018-03-12 20:31:14 +01:00
%>
<%- partial('_partial/heroheader') %>
<main class="contents network">
<%- partial('_partial/header') %>
<div class="section-wrapper">
<%- partial('_partial/generalinfo') %>
2018-03-13 21:47:45 +01:00
<section class="column">
<div class="section u-block">
<h4><%- __('join') %></h4>
<span class="u-block"><a href="<%= data.servers %>"><%- __('nodeList') %></a></span>
</div>
2018-06-12 14:35:53 +02:00
<div class="section u-block">
<h4><%- __('users') %></h4>
<ul class="section-list">
<% for (item in ux) { %>
<% let n = ux[item].id %>
<li>
<a href="<%= ux[item].url %>"><%= uxList[n] %></a>
</li>
<% } %>
</ul>
</div>
2018-03-24 22:59:14 +01:00
<div class="section u-block">
<h4><%- __('tuts') %></h4>
<ul class="section-list">
<% for (item in tutorials) { %>
<% let n = tutorials[item].id %>
<li class="u-inline">
2018-05-28 02:05:57 +02:00
<a href="<%= tutorials[item].url %>"><%= tuts[n] %></a><span>&nbsp;/&nbsp;</span>
2018-03-24 22:59:14 +01:00
</li>
<% } %>
</ul>
</div>
2018-03-13 21:47:45 +01:00
</section>
2018-03-12 20:31:14 +01:00
</div>
<%- partial('_partial/world') %>
<br>
<%- partial('_partial/contributing') %>
<%- partial('_partial/buttons') %>
</main>