change telegram default index to telegram-index

This commit is contained in:
2022-04-08 04:06:38 +03:00
parent f01af5f54a
commit fb7275f9dd
8 changed files with 13 additions and 14 deletions

View File

@ -46,7 +46,7 @@ ssl = disabled
template_path = /usr/share/ahriman/templates/repo-index.jinja2
[telegram]
template_path = /usr/share/ahriman/templates/telegram.jinja2
template_path = /usr/share/ahriman/templates/telegram-index.jinja2
[upload]
target =

View File

@ -1,10 +1,5 @@
{#simplified version of full report, now in markdown#}
## {{ repository }} update
{#simplified version of full report#}
<b>{{ repository }} update</b>
{% for package in packages %}
* [{{ package.name }}]({{ link_path }}/{{ package.filename }}) {{ package.version }} at {{ package.build_date }}
{% endfor %}
{% if homepage is not none %}
[Repository]({{ homepage }})
{% endif %}
<a href="{{ link_path }}/{{ package.filename }}">{{ package.name }}</a> {{ package.version }} at {{ package.build_date }}
{% endfor %}