Indicate donation links

main
Bob Mottram 2023-07-09 10:24:46 +01:00
parent 5915d3ddb5
commit 3327960baf
2 changed files with 4 additions and 3 deletions

View File

@ -434,8 +434,8 @@ def html_podcast_episode(translate: {},
donate_url = podcast_properties['funding']['url']
podcast_str += \
'<p><span itemprop="funding"><a href="' + donate_url + \
'"><button class="donateButton">' + translate['Donate'] + \
'</button></a></span></p>\n'
'" rel="donation"><button class="donateButton">' + \
translate['Donate'] + '</button></a></span></p>\n'
if podcast_properties['categories']:
tags_str = ''

View File

@ -882,7 +882,8 @@ def html_profile(signing_priv_key_pem: str,
donate_section += ' <center>\n'
if donate_url and not is_system_account(nickname):
donate_section += \
' <p><a href="' + donate_url + '" tabindex="1">' + \
' <p><a href="' + donate_url + \
'" tabindex="1" rel="donation">' + \
'<button class="donateButton">' + translate['Donate'] + \
'</button></a></p>\n'
if website_url: