mirror of https://gitlab.com/bashrc2/epicyon
Indicate donation links
parent
5915d3ddb5
commit
3327960baf
|
@ -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 = ''
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue