fediparty/themes/starter/layout/pleroma.ejs

55 lines
1.3 KiB
Plaintext
Raw Normal View History

2018-03-12 19:31:14 +00:00
---
layout: layout
network: true
2018-03-12 19:31:14 +00:00
---
<%
const data = site.data.pleroma.data;
2018-03-24 21:59:14 +00:00
const tutorials = data.tutorials;
2021-01-26 19:59:31 +00:00
const tuts = [__('linuxInstall'), __('ownInstance')];
2018-06-12 12:35:53 +00:00
const ux = data.forUsers;
2020-04-08 18:32:38 +00:00
const uxList = [__('halcyon')];
2018-03-12 19:31:14 +00:00
%>
<%- partial('_partial/heroheader') %>
<main class="contents">
2018-03-12 19:31:14 +00:00
<%- partial('_partial/header') %>
<div class="section-wrapper">
<%- partial('_partial/generalinfo') %>
2018-03-13 20:47:45 +00:00
<section class="column">
<div class="section u-block inline-items">
2018-06-12 12:35:53 +00:00
<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>
<div class="section u-block inline-items">
2018-03-24 21:59:14 +00:00
<h4><%- __('tuts') %></h4>
<ul class="section-list">
<% for (item in tutorials) { %>
<% let n = tutorials[item].id %>
2019-03-01 15:17:56 +00:00
<li>
<a href="<%= tutorials[item].url %>"><%= tuts[n] %></a>
2018-03-24 21:59:14 +00:00
</li>
<% } %>
</ul>
</div>
2018-03-13 20:47:45 +00:00
</section>
2018-03-12 19:31:14 +00:00
</div>
<%- partial('_partial/world') %>
<br>
<%- partial('_partial/contributing') %>
<%- partial('_partial/buttons') %>
</main>