Don't show license icon on news front page

merge-requests/30/head
Bob Mottram 2020-11-24 13:05:44 +00:00
parent c002adccc6
commit 28d57f492b
1 changed files with 7 additions and 5 deletions

View File

@ -627,6 +627,8 @@ def htmlProfile(rssIconAtTop: bool,
bannerFile, bannerFilename = \ bannerFile, bannerFilename = \
getBannerFile(baseDir, nickname, domain) getBannerFile(baseDir, nickname, domain)
licenseStr = ''
if not isSystemAccount(nickname):
licenseStr = \ licenseStr = \
'<a href="https://gitlab.com/bashrc2/epicyon">' + \ '<a href="https://gitlab.com/bashrc2/epicyon">' + \
'<img loading="lazy" class="license" alt="' + \ '<img loading="lazy" class="license" alt="' + \