From d507897c8a81396fa24888987b394b7556255093 Mon Sep 17 00:00:00 2001 From: lostinlight Date: Mon, 31 Aug 2020 01:13:47 +0300 Subject: [PATCH] Show license on Apps cards --- themes/starter/layout/miscellaneous.ejs | 4 ++++ themes/starter/layout/tools.ejs | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/themes/starter/layout/miscellaneous.ejs b/themes/starter/layout/miscellaneous.ejs index 2cab741..faf0912 100644 --- a/themes/starter/layout/miscellaneous.ejs +++ b/themes/starter/layout/miscellaneous.ejs @@ -93,6 +93,10 @@ layout: layout <% } %>

Protocols

<%= apps[item].protocols %>

+ <% if (apps[item].license) { %> +

License

+

<%= apps[item].license %>

+ <% } %> <% if (apps[item].FediAccount) { %>

Contact

<%= apps[item].FediAccount %>

diff --git a/themes/starter/layout/tools.ejs b/themes/starter/layout/tools.ejs index 638b691..fe645fd 100644 --- a/themes/starter/layout/tools.ejs +++ b/themes/starter/layout/tools.ejs @@ -92,6 +92,10 @@ layout: layout <% } %>

Protocols

<%= apps[item].protocols %>

+ <% if (apps[item].license) { %> +

License

+

<%= apps[item].license %>

+ <% } %> <% if (apps[item].FediAccount) { %>

Contact

<%= apps[item].FediAccount %>