diff --git a/source/_data/aardwolf.json b/source/_data/aardwolf.json index 22db284..7a930b2 100644 --- a/source/_data/aardwolf.json +++ b/source/_data/aardwolf.json @@ -19,6 +19,7 @@ "devTutorials": "https://github.com/BanjoFox/aardwolf/blob/master/INSTALL.md", "notable": "", "communities": "", + "donate": "https://liberapay.com/Aardwolf", "tracker": "https://github.com/BanjoFox/aardwolf/issues", "bounty": "", "translating": "" diff --git a/source/_data/mastodon.json b/source/_data/mastodon.json index 24662cc..a1e2695 100644 --- a/source/_data/mastodon.json +++ b/source/_data/mastodon.json @@ -93,6 +93,7 @@ } ], "communities": "https://github.com/distributopia/masto-world-overview", + "donate": "https://liberapay.com/Mastodon", "tracker": "https://github.com/tootsuite/mastodon/issues", "bounty": "", "translating": "https://github.com/tootsuite/documentation/blob/master/Contributing-to-Mastodon/Translating.md" diff --git a/themes/starter/layout/_partial/contributing.ejs b/themes/starter/layout/_partial/contributing.ejs index c3bebf9..b489cd2 100644 --- a/themes/starter/layout/_partial/contributing.ejs +++ b/themes/starter/layout/_partial/contributing.ejs @@ -23,7 +23,7 @@ <%- __('optionOne2') %>
  • - <% if (data.devTutorials !== "") { %> + <% if (data.devTutorials) { %> <%- __('setUp') %> <%- __('optionTwo') %> <% } else { %> <%- __('setUp') %> <%- __('optionTwo') %> @@ -32,14 +32,14 @@
  • <%- __('optionThree') %>
  • <%- __('optionFour1') %> <%- __('issue') %>. <%- __('optionFour2') %> - <% if (data.bounty !== "") { %> + <% if (data.bounty) { %> <%- __('bounty') %>. <% } else { %> <%- __('bounty') %>. <% } %>
  • <%- __('help') %> - <% if (data.translating !== "") { %> + <% if (data.translating) { %> <%- __('translating') %>. <% } else { %> <%- __('translating') %>. @@ -53,6 +53,6 @@

    <%- __('note') %>

    - [1], [2]<% if (numbers.activeUsers !== "") { %>, [3] <% } %> - updated regularly, latest update - <%= update %> + [1], [2]<% if (numbers.activeUsers) { %>, [3] <% } %> - updated regularly, latest update - <%= update %>

    diff --git a/themes/starter/layout/_partial/generalinfo.ejs b/themes/starter/layout/_partial/generalinfo.ejs index aeaf045..fc4fc84 100644 --- a/themes/starter/layout/_partial/generalinfo.ejs +++ b/themes/starter/layout/_partial/generalinfo.ejs @@ -39,7 +39,7 @@ <% } %> - <% if (data.wiki !== "") { %> + <% if (data.wiki) { %>

    <%- __('wiki') %>

    <%- __('resources') %>
    diff --git a/themes/starter/layout/_partial/world.ejs b/themes/starter/layout/_partial/world.ejs index 6bf8ad2..6a9962c 100644 --- a/themes/starter/layout/_partial/world.ejs +++ b/themes/starter/layout/_partial/world.ejs @@ -13,14 +13,14 @@

    <%- __('total') %> ~ <%= numbers.population %><%- __('accounts') %>[1]

    - <% if (numbers.activeUsers !== "") { %> + <% if (numbers.activeUsers) { %>

    <%- __('active') %> ~ <%= numbers.activeUsers %><%- __('people') %>[2]

    <% } %>

    <%- __('servers') %> > <%= numbers.podsNum %><%- __('instances') %> - <% if (numbers.activeUsers !== "") { %>[3] <% } else { %> [2] <% } %> + <% if (numbers.activeUsers) { %>[3] <% } else { %> [2] <% } %>

    @@ -41,7 +41,7 @@

    <%- __('communities') %>

    - <% if (data.communities !== "") { %> + <% if (data.communities) { %> <%= world.communities %> <% } else { %> <%- __('soon') %> @@ -52,7 +52,7 @@

    <%= world.descr %>

    -<% if (stars !== "") { %> +<% if (stars) { %>

    <%- __('stars') %>

      @@ -65,7 +65,7 @@
    <% } %> -<% if (reading !== "") { %> +<% if (reading) { %>

    <%- __('reading') %>