guida-fediverso/themes/starter/layout/friendica.ejs

55 lines
1.3 KiB
Plaintext
Raw Normal View History

2018-03-12 20:31:14 +01:00
---
layout: layout
---
<%
const data = site.data.friendica.data;
const dreamhost = 'Dreamhost ' + __('guide');
const tuts = [__('installation'), dreamhost, __('selfhost')];
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><%- __('techies') %></h4>
<ul class="section-list">
2018-08-24 00:18:07 +02:00
<% for (item in data.tutorials) { %>
<% let n = data.tutorials[item].id %>
2018-03-12 20:31:14 +01:00
<li class="u-inline">
2018-08-24 00:18:07 +02:00
<a href="<%= data.tutorials[item].url %>"><%= tuts[n] %></a><span>&nbsp;/&nbsp;</span>
2018-03-12 20:31:14 +01:00
</li>
<% } %>
</ul>
</div>
<div class="section u-block">
<h4><%- __('utilities') %></h4>
<ul class="section-list">
2018-08-24 00:18:07 +02:00
<% for (item in data.utilities) { %>
<% let u = data.utilities[item].id %>
2018-03-12 20:31:14 +01:00
<li>
2018-08-24 00:18:07 +02:00
<a href="<%= data.utilities[item].url %>"><%= utils[u] %></a>
2018-03-12 20:31:14 +01:00
</li>
<% } %>
</ul>
</div>
</section>
</div>
<%- partial('_partial/world') %>
<br>
<%- partial('_partial/contributing') %>
<%- partial('_partial/buttons') %>
</main>