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']
|
donate_url = podcast_properties['funding']['url']
|
||||||
podcast_str += \
|
podcast_str += \
|
||||||
'<p><span itemprop="funding"><a href="' + donate_url + \
|
'<p><span itemprop="funding"><a href="' + donate_url + \
|
||||||
'"><button class="donateButton">' + translate['Donate'] + \
|
'" rel="donation"><button class="donateButton">' + \
|
||||||
'</button></a></span></p>\n'
|
translate['Donate'] + '</button></a></span></p>\n'
|
||||||
|
|
||||||
if podcast_properties['categories']:
|
if podcast_properties['categories']:
|
||||||
tags_str = ''
|
tags_str = ''
|
||||||
|
|
|
@ -882,7 +882,8 @@ def html_profile(signing_priv_key_pem: str,
|
||||||
donate_section += ' <center>\n'
|
donate_section += ' <center>\n'
|
||||||
if donate_url and not is_system_account(nickname):
|
if donate_url and not is_system_account(nickname):
|
||||||
donate_section += \
|
donate_section += \
|
||||||
' <p><a href="' + donate_url + '" tabindex="1">' + \
|
' <p><a href="' + donate_url + \
|
||||||
|
'" tabindex="1" rel="donation">' + \
|
||||||
'<button class="donateButton">' + translate['Donate'] + \
|
'<button class="donateButton">' + translate['Donate'] + \
|
||||||
'</button></a></p>\n'
|
'</button></a></p>\n'
|
||||||
if website_url:
|
if website_url:
|
||||||
|
|
Loading…
Reference in New Issue