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": "0", "url": "https://masto.host"},
{"id": "1", "url": "https://maastodon.net"} {"id": "1", "url": "https://maastodon.net"}
], ],
"forks":
[
{"id": "0", "url": "https://github.com/glitch-soc/mastodon"}
],
"utilities": "utilities":
[ [
{"id": "0", "url": "https://www.mastofeed.com"}, {"id": "0", "url": "https://www.mastofeed.com"},

View file

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

View file

@ -10,10 +10,12 @@ layout: layout
const metrics = data.metrics; const metrics = data.metrics;
const services = data.services; const services = data.services;
const utilities = data.utilities; const utilities = data.utilities;
const forks = data.forks;
const tuts = [__('intro'), __('howto'), __('guide')]; const tuts = [__('intro'), __('howto'), __('guide')];
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'), __('mastoGallery'), __('webmentions')];
const forkTitles = [__('glitchSoc')];
%> %>
<%- partial('_partial/heroheader') %> <%- partial('_partial/heroheader') %>
@ -94,6 +96,15 @@ layout: layout
</li> </li>
<% } %> <% } %>
</ul> </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> </div>
</div> </div>