fediparty/themes/starter/layout/friendica.ejs

69 lines
1.8 KiB
Plaintext
Raw Normal View History

2018-03-12 19:31:14 +00:00
---
layout: layout
---
<%
const data = site.data.friendica.data;
const servers = data.servers;
const tutorials = data.tutorials;
const dreamhost = 'Dreamhost ' + __('guide');
const tuts = [__('installation'), dreamhost, __('selfhost')];
const utilities = data.utilities;
const utils = [__('rss2Friendica')];
%>
<%- partial('_partial/heroheader') %>
<main class="contents network">
<%- partial('_partial/header') %>
<div class="section-wrapper">
<%- partial('_partial/generalinfo') %>
<section class="column">
<div class="section u-block">
<h4><%- __('join') %></h4>
<ul class="section-list">
<% for (item in servers) { %>
<li class="u-inline">
2018-05-28 00:05:57 +00:00
<a href="<%= servers[item].url %>"><%- __('nodeList') %> <%= servers[item].num %></a><span>&nbsp;/&nbsp;</span>
2018-03-12 19:31:14 +00:00
</li>
<% } %>
</ul>
<span class="u-block"><a href="<%= data.mobile %>"><%- __('mobapps') %></a></span>
</div>
<div class="section u-block">
<h4><%- __('techies') %></h4>
<ul class="section-list">
<% for (item in tutorials) { %>
<% let n = tutorials[item].id %>
<li class="u-inline">
2018-05-28 00:05:57 +00:00
<a href="<%= tutorials[item].url %>"><%= tuts[n] %></a><span>&nbsp;/&nbsp;</span>
2018-03-12 19:31:14 +00:00
</li>
<% } %>
</ul>
</div>
<div class="section u-block">
<h4><%- __('utilities') %></h4>
<ul class="section-list">
<% for (item in utilities) { %>
<% let u = utilities[item].id %>
<li>
<a href="<%= utilities[item].url %>"><%= utils[u] %></a>
</li>
<% } %>
</ul>
</div>
</section>
</div>
<%- partial('_partial/world') %>
<br>
<%- partial('_partial/contributing') %>
<%- partial('_partial/buttons') %>
</main>