Add Mastodon links

This commit is contained in:
lostinlight 2018-06-09 21:55:48 +03:00
parent 3a43818cda
commit a99b17ab6b
3 changed files with 29 additions and 10 deletions

View file

@ -21,7 +21,11 @@
{"num": "2", "url": "https://mnm.social/instances"} {"num": "2", "url": "https://mnm.social/instances"}
], ],
"mobile": "https://github.com/tootsuite/documentation/blob/master/Using-Mastodon/Apps.md#mobile-clients", "mobile": "https://github.com/tootsuite/documentation/blob/master/Using-Mastodon/Apps.md#mobile-clients",
"twFriends": "https://bridge.joinmastodon.org", "forUsers":
[
{"id": "0", "url": "https://bridge.joinmastodon.org"},
{"id": "1", "url": "https://elenq.gitlab.io/artodon"}
],
"tutorials": "tutorials":
[ [
{"id": "0", "url": "https://medium.com/@GinnyMcQueen/toot-how-to-intro-to-mastodon-e5655bfa87d2"}, {"id": "0", "url": "https://medium.com/@GinnyMcQueen/toot-how-to-intro-to-mastodon-e5655bfa87d2"},
@ -47,15 +51,17 @@
], ],
"forks": "forks":
[ [
{"id": "0", "url": "https://github.com/glitch-soc/mastodon"} {"id": "0", "url": "https://github.com/glitch-soc/mastodon"},
{"id": "1", "url": "https://github.com/beatrix-bitrot/ephemeral.glitch.social"}
], ],
"utilities": "utilities":
[ [
{"id": "0", "url": "https://www.mastofeed.com"}, {"id": "0", "url": "https://www.mastofeed.com"},
{"id": "1", "url": "https://crossposter.masto.donte.com.br"}, {"id": "1", "url": "https://crossposter.masto.donte.com.br"},
{"id": "2", "url": "http://www.unmung.com/mastoview"}, {"id": "2", "url": "http://www.unmung.com/mastoview"},
{"id": "3", "url": "https://elenq.gitlab.io/artodon"},
{"id": "4", "url": "https://fed.brid.gy"} {"id": "4", "url": "https://fed.brid.gy"},
{"id": "5", "url": "https://gitlab.com/chaica/feed2toot"}
], ],
"notable": "notable":
[ [

View file

@ -64,7 +64,7 @@ mobapp: mobile app
mobapps: mobile apps mobapps: mobile apps
tuts: tutorials tuts: tutorials
utilities: utilities utilities: utilities
forks: forks forks: forks / modifications
cheatsheets: cheat sheets cheatsheets: cheat sheets
total: population total: population
servers: servers servers: servers
@ -103,7 +103,9 @@ mastofeed: Mastofeed
crossposting: Mastodon-Twitter crossposting crossposting: Mastodon-Twitter crossposting
mastoGallery: Artodon gallery mastoGallery: Artodon gallery
feedPreview: Instance timeline preview feedPreview: Instance timeline preview
feed2toot: RSS to Mastodon bot
glitchSoc: glitch-soc - fork with experimental features glitchSoc: glitch-soc - fork with experimental features
mastoEphemeral: ephemeral Mastodon with disappearing toots
#GNU Social page #GNU Social page
timeline: Timeline for website timeline: Timeline for website

View file

@ -12,10 +12,12 @@ layout: layout
const utilities = data.utilities; const utilities = data.utilities;
const forks = data.forks; const forks = data.forks;
const tuts = [__('intro'), __('howto'), __('guide')]; const tuts = [__('intro'), __('howto'), __('guide')];
const ux = data.forUsers;
const uxList = [__('twFriends'), __('mastoGallery')];
const stats = [__('dashboards'), __('stats'), __('graphs')]; const stats = [__('dashboards'), __('stats'), __('graphs')];
const tools = [__('mastoPreinstalled'), __('mastoHosting')]; const tools = [__('mastoPreinstalled'), __('mastoHosting')];
const utils = [__('mastofeed'), __('crossposting'), __('feedPreview'), __('mastoGallery'), __('webmentions')]; const utils = [__('mastofeed'), __('crossposting'), __('feedPreview'), __('webmentions'), __('feed2toot')];
const forkTitles = [__('glitchSoc')]; const forkTitles = [__('glitchSoc'), __('mastoEphemeral')];
%> %>
<%- partial('_partial/heroheader') %> <%- partial('_partial/heroheader') %>
@ -42,7 +44,14 @@ layout: layout
</div> </div>
<div class="section u-block"> <div class="section u-block">
<h4><%- __('users') %></h4> <h4><%- __('users') %></h4>
<span><a href="<%= data.twFriends %>"><%- __('twFriends') %></a></span> <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>
<div class="section u-block"> <div class="section u-block">
<h4><%- __('tuts') %></h4> <h4><%- __('tuts') %></h4>
@ -96,12 +105,14 @@ layout: layout
</li> </li>
<% } %> <% } %>
</ul> </ul>
</div>
<div class="section u-block">
<ul class="section-list"> <ul class="section-list">
<h4><%- __('forks') %></h4>
<% for (item in forks) { %> <% for (item in forks) { %>
<% let b = forks[item].id %> <% let b = forks[item].id %>
<li class="u-inline"> <li class="u-inline">
<a href="<%= forks[item].url %>"><%= forkTitles[b] %></a><span>&nbsp;/&nbsp;</span> <a href="<%= forks[item].url %>"><%= forkTitles[b] %></a>
</li> </li>
<% } %> <% } %>
</ul> </ul>