Add Pleroma, Mastodon links

This commit is contained in:
lostinlight 2018-06-12 15:35:53 +03:00
parent 3bba5f4ff3
commit 991b19faa9
5 changed files with 21 additions and 2 deletions

View File

@ -24,7 +24,8 @@
"forUsers":
[
{"id": "0", "url": "https://bridge.joinmastodon.org"},
{"id": "1", "url": "https://elenq.gitlab.io/artodon"}
{"id": "1", "url": "https://vinayaka.distsn.org"},
{"id": "2", "url": "https://elenq.gitlab.io/artodon"}
],
"tutorials":
[

View File

@ -17,6 +17,10 @@
"wiki": "",
"servers": "http://distsn.org/pleroma-instances.html",
"mobile": "",
"forUsers":
[
{"id": "0", "url": "https://vinayaka.distsn.org"}
],
"tutorials":
[
{"id": "0", "url": "https://i2p.rocks/blog/the-magical-world-of-pleroma-setting-up-your-instance.html"},

View File

@ -81,6 +81,7 @@ stars: notable accounts
contributing: contributing
note: note
soon: coming soon
uMatch: Find users similar to you by their vocabulary
# diaspora page
proxy: proxy

View File

@ -13,7 +13,7 @@ layout: layout
const forks = data.forks;
const tuts = [__('intro'), __('howto'), __('guide')];
const ux = data.forUsers;
const uxList = [__('twFriends'), __('mastoGallery')];
const uxList = [__('twFriends'), __('uMatch'), __('mastoGallery')];
const stats = [__('dashboards'), __('stats'), __('graphs')];
const tools = [__('mastoPreinstalled'), __('mastoHosting')];
const utils = [__('mastofeed'), __('crossposting'), __('feedPreview'), __('webmentions'), __('feed2toot')];

View File

@ -7,6 +7,8 @@ layout: layout
const data = site.data.pleroma.data;
const tutorials = data.tutorials;
const tuts = [__('ownInstance'), __('dualQuitter')];
const ux = data.forUsers;
const uxList = [ __('uMatch')];
%>
<%- partial('_partial/heroheader') %>
@ -22,6 +24,17 @@ layout: layout
<h4><%- __('join') %></h4>
<span class="u-block"><a href="<%= data.servers %>"><%- __('nodeList') %></a></span>
</div>
<div class="section u-block">
<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">
<h4><%- __('tuts') %></h4>
<ul class="section-list">