Merge branch '1189-fdroid-link' into 'master'

Switch to generating fdroid.link links

Closes #1189

See merge request fdroid/fdroidserver!1459
This commit is contained in:
Hans-Christoph Steiner 2024-04-03 13:55:08 +00:00
commit d20e0adab4
2 changed files with 6 additions and 3 deletions

View File

@ -195,10 +195,10 @@ def make_website(apps, repodir, repodict):
<kbd>
{number_of_apps}
</kbd>
apps. To add it to your F-Droid client, scan the QR code (click it to enlarge) or use this URL:
apps. To add it to your F-Droid app, scan the QR code (click it to enlarge) or use this link:
</p>
<p class="center" style="margin-top:.5em">
<a href="{link_fingerprinted}">
<a href="https://fdroid.link/#{link_fingerprinted}">
<code style="color:#000000;font-weight:bold;">
{link}
</code>

View File

@ -306,7 +306,10 @@ def main():
readme = '''
# {repo_git_base}
[![{repo_url}]({repo_url}/icons/icon.png)]({repo_url})
This is an app repository for nightly versions.
You can use it with the [F-Droid](https://f-droid.org/) Android app.
[![{repo_url}]({repo_url}/icons/icon.png)](https://fdroid.link/#{repo_url})
Last updated: {date}'''.format(repo_git_base=repo_git_base,
repo_url=repo_url,