mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Two new options have been added: - [devel] commit_url - URL including an %s format specifier that can be used to link to a webpage for the commit. - [devel] commit_hash - HEAD's commit hash (produced via `git rev-parse HEAD`) If a `[devel] commit_hash` is configured, a link to the commit based on `[devel] commit_url` will be displayed in the aurweb footer in the form: `HEAD@<commit_hash>`. If no `[devel] commit_url` is configured, a non-linked hash will be displayed. Signed-off-by: Kevin Morris <kevr@0cost.org>
17 lines
692 B
HTML
17 lines
692 B
HTML
<div id="footer">
|
|
<p>
|
|
aurweb <a href="https://git.archlinux.org/aurweb.git/log/?h={{ config.AURWEB_VERSION }}">{{ config.AURWEB_VERSION }}</a>
|
|
{% if commit_hash %}
|
|
-
|
|
{% if commit_url %}
|
|
<a href="{{ commit_url | format(commit_hash) }}">
|
|
HEAD@{{ commit_hash }}
|
|
</a>
|
|
{% else %}
|
|
HEAD@{{ commit_hash }}
|
|
{% endif %}
|
|
{% endif %}
|
|
</p>
|
|
<p>Copyright © 2004-{{ now.strftime("%Y") }} aurweb Development Team.</p>
|
|
<p>{% trans %}AUR packages are user produced content. Any use of the provided files is at your own risk.{% endtrans %}</p>
|
|
</div>
|