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

57 lines
1.4 KiB
Plaintext
Raw Normal View History

2018-03-12 20:31:14 +01:00
---
layout: layout
network: true
2018-03-12 20:31:14 +01:00
---
<%
const data = site.data.hubzilla.data;
const tutorials = data.tutorials;
const cheatsheets = data.cheatsheets;
2019-03-23 11:06:00 +01:00
const tuts = [__('userGuide'), __('devGuide'), __('channel')];
const sheets = [__('permissions')];
2018-03-12 20:31:14 +01:00
%>
<%- partial('_partial/heroheader') %>
<main class="contents">
2018-03-12 20:31:14 +01:00
<%- partial('_partial/header') %>
<div class="section-wrapper">
<%- partial('_partial/generalinfo') %>
<section class="column">
<div class="section u-block inline-items">
2018-03-12 20:31:14 +01:00
<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-12 20:31:14 +01:00
</li>
<% } %>
</ul>
</div>
<div class="section u-block inline-items">
<h4><%- __('cheatsheets') %></h4>
<ul class="section-list">
<% for (item in cheatsheets) { %>
<% let n = cheatsheets[item].id %>
<li class="u-inline">
2018-05-28 02:05:57 +02:00
<a href="<%= cheatsheets[item].url %>"><%= sheets[n] %></a><span>&nbsp;/&nbsp;</span>
</li>
<% } %>
</ul>
</div>
2018-03-12 20:31:14 +01:00
</section>
</div>
<%- partial('_partial/world') %>
<br>
<%- partial('_partial/contributing') %>
<%- partial('_partial/buttons') %>
</main>