From 9ed09daacd72fb426f7c1759cb295a7da245ba7d Mon Sep 17 00:00:00 2001 From: lostinlight Date: Sun, 6 May 2018 00:43:55 +0300 Subject: [PATCH] Update Mastodon page --- source/_data/mastodon.json | 4 ++++ themes/starter/languages/en.yml | 2 ++ themes/starter/layout/mastodon.ejs | 11 +++++++++++ 3 files changed, 17 insertions(+) diff --git a/source/_data/mastodon.json b/source/_data/mastodon.json index c8364b6..b2a79d2 100644 --- a/source/_data/mastodon.json +++ b/source/_data/mastodon.json @@ -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"}, diff --git a/themes/starter/languages/en.yml b/themes/starter/languages/en.yml index a0db79a..662a3db 100644 --- a/themes/starter/languages/en.yml +++ b/themes/starter/languages/en.yml @@ -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 diff --git a/themes/starter/layout/mastodon.ejs b/themes/starter/layout/mastodon.ejs index e1c67d5..f330395 100644 --- a/themes/starter/layout/mastodon.ejs +++ b/themes/starter/layout/mastodon.ejs @@ -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 <% } %> + +