From 991b19faa9614361ccc3755d15231bd4ec6ebe70 Mon Sep 17 00:00:00 2001 From: lostinlight Date: Tue, 12 Jun 2018 15:35:53 +0300 Subject: [PATCH] Add Pleroma, Mastodon links --- source/_data/mastodon.json | 3 ++- source/_data/pleroma.json | 4 ++++ themes/starter/languages/en.yml | 1 + themes/starter/layout/mastodon.ejs | 2 +- themes/starter/layout/pleroma.ejs | 13 +++++++++++++ 5 files changed, 21 insertions(+), 2 deletions(-) diff --git a/source/_data/mastodon.json b/source/_data/mastodon.json index 9ec916a..68e963e 100644 --- a/source/_data/mastodon.json +++ b/source/_data/mastodon.json @@ -24,7 +24,8 @@ "forUsers": [ {"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": [ diff --git a/source/_data/pleroma.json b/source/_data/pleroma.json index c87fb23..6641754 100644 --- a/source/_data/pleroma.json +++ b/source/_data/pleroma.json @@ -17,6 +17,10 @@ "wiki": "", "servers": "http://distsn.org/pleroma-instances.html", "mobile": "", + "forUsers": + [ + {"id": "0", "url": "https://vinayaka.distsn.org"} + ], "tutorials": [ {"id": "0", "url": "https://i2p.rocks/blog/the-magical-world-of-pleroma-setting-up-your-instance.html"}, diff --git a/themes/starter/languages/en.yml b/themes/starter/languages/en.yml index db5c7cc..65ea4d2 100644 --- a/themes/starter/languages/en.yml +++ b/themes/starter/languages/en.yml @@ -81,6 +81,7 @@ stars: notable accounts contributing: contributing note: note soon: coming soon +uMatch: Find users similar to you by their vocabulary # diaspora page proxy: proxy diff --git a/themes/starter/layout/mastodon.ejs b/themes/starter/layout/mastodon.ejs index 3e7ddb0..2bd5994 100644 --- a/themes/starter/layout/mastodon.ejs +++ b/themes/starter/layout/mastodon.ejs @@ -13,7 +13,7 @@ layout: layout const forks = data.forks; const tuts = [__('intro'), __('howto'), __('guide')]; const ux = data.forUsers; - const uxList = [__('twFriends'), __('mastoGallery')]; + const uxList = [__('twFriends'), __('uMatch'), __('mastoGallery')]; const stats = [__('dashboards'), __('stats'), __('graphs')]; const tools = [__('mastoPreinstalled'), __('mastoHosting')]; const utils = [__('mastofeed'), __('crossposting'), __('feedPreview'), __('webmentions'), __('feed2toot')]; diff --git a/themes/starter/layout/pleroma.ejs b/themes/starter/layout/pleroma.ejs index c3397c2..c75b271 100644 --- a/themes/starter/layout/pleroma.ejs +++ b/themes/starter/layout/pleroma.ejs @@ -7,6 +7,8 @@ layout: layout const data = site.data.pleroma.data; const tutorials = data.tutorials; const tuts = [__('ownInstance'), __('dualQuitter')]; + const ux = data.forUsers; + const uxList = [ __('uMatch')]; %> <%- partial('_partial/heroheader') %> @@ -22,6 +24,17 @@ layout: layout

<%- __('join') %>

<%- __('nodeList') %> +
+

<%- __('users') %>

+ +

<%- __('tuts') %>