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": "forUsers":
[ [
{"id": "0", "url": "https://bridge.joinmastodon.org"}, {"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": "tutorials":
[ [

View file

@ -17,6 +17,10 @@
"wiki": "", "wiki": "",
"servers": "http://distsn.org/pleroma-instances.html", "servers": "http://distsn.org/pleroma-instances.html",
"mobile": "", "mobile": "",
"forUsers":
[
{"id": "0", "url": "https://vinayaka.distsn.org"}
],
"tutorials": "tutorials":
[ [
{"id": "0", "url": "https://i2p.rocks/blog/the-magical-world-of-pleroma-setting-up-your-instance.html"}, {"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 contributing: contributing
note: note note: note
soon: coming soon soon: coming soon
uMatch: Find users similar to you by their vocabulary
# diaspora page # diaspora page
proxy: proxy proxy: proxy

View file

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

View file

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