1
0
mirror of https://git.feneas.org/feneas/fediverse.git synced 2024-12-23 03:48:58 +01:00
guida-fediverso/themes/starter/layout/peertube.ejs
2019-09-14 16:24:38 +03:00

65 lines
1.6 KiB
Plaintext

---
layout: layout
network: true
---
<%
const data = site.data.peertube.data;
const tuts = [__('adminGuide')];
const tools = [__('preinstalled')];
const uxList = [ __('userGuide'), __('search')];
%>
<%- partial('_partial/heroheader') %>
<main class="contents">
<%- partial('_partial/header') %>
<div class="section-wrapper">
<%- partial('_partial/generalinfo') %>
<section class="column">
<div class="section u-block">
<h4><%- __('users') %></h4>
<ul class="section-list">
<% for (item in data.forUsers) { %>
<% let n = data.forUsers[item].id %>
<li>
<a href="<%= data.forUsers[item].url %>"><%= uxList[n] %></a>
</li>
<% } %>
</ul>
</div>
<div class="section u-block">
<h4><%- __('techies') %></h4>
<ul class="section-list">
<% for (item in data.services) { %>
<% let b = data.services[item].id %>
<li class="u-inline">
<a href="<%= data.services[item].url %>"><%= tools[b] %></a><span>&nbsp;/&nbsp;</span>
</li>
<% } %>
</ul>
</div>
<div class="section u-block">
<h4><%- __('tuts') %></h4>
<ul class="section-list">
<% for (item in data.tutorials) { %>
<% let n = data.tutorials[item].id %>
<li>
<a href="<%= data.tutorials[item].url %>"><%= tuts[n] %></a>
</li>
<% } %>
</ul>
</div>
</section>
</div>
<%- partial('_partial/world') %>
<br>
<%- partial('_partial/contributing') %>
<%- partial('_partial/buttons') %>
</main>