1
0
mirror of https://git.feneas.org/feneas/fediverse.git synced 2024-12-22 22:58:06 +01:00

Update Mastodon page

This commit is contained in:
lostinlight 2018-05-06 00:43:55 +03:00
parent 3df80fdb5d
commit 9ed09daacd
3 changed files with 17 additions and 0 deletions

View File

@ -46,6 +46,10 @@
{"id": "0", "url": "https://masto.host"},
{"id": "1", "url": "https://maastodon.net"}
],
"forks":
[
{"id": "0", "url": "https://github.com/glitch-soc/mastodon"}
],
"utilities":
[
{"id": "0", "url": "https://www.mastofeed.com"},

View File

@ -64,6 +64,7 @@ mobapp: mobile app
mobapps: mobile apps
tuts: tutorials
utilities: utilities
forks: forks
total: population
servers: servers
accounts: accounts
@ -102,6 +103,7 @@ mastofeed: Mastofeed
crossposting: Mastodon-Twitter crossposting
mastoGallery: Artodon gallery
feedPreview: Instance timeline preview
glitchSoc: glitch-soc - fork with experimental features
#GNU Social page
timeline: Timeline for website

View File

@ -10,10 +10,12 @@ layout: layout
const metrics = data.metrics;
const services = data.services;
const utilities = data.utilities;
const forks = data.forks;
const tuts = [__('intro'), __('howto'), __('guide')];
const stats = [__('dashboards'), __('stats'), __('graphs')];
const tools = [__('mastoPreinstalled'), __('mastoHosting')];
const utils = [__('mastofeed'), __('crossposting'), __('feedPreview'), __('mastoGallery'), __('webmentions')];
const forkTitles = [__('glitchSoc')];
%>
<%- partial('_partial/heroheader') %>
@ -94,6 +96,15 @@ layout: layout
</li>
<% } %>
</ul>
<ul class="section-list">
<% for (item in forks) { %>
<% let b = forks[item].id %>
<li class="u-inline">
<a href="<%= forks[item].url %>"><%= forkTitles[b] %></a><span>&nbsp/&nbsp;</span>
</li>
<% } %>
</ul>
</div>
</div>
</div>