mirror of
https://github.com/arcan1s/ahriman.git
synced 2025-06-27 14:22:10 +00:00
33 lines
1.1 KiB
Django/Jinja
33 lines
1.1 KiB
Django/Jinja
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<title>{{ repository|e }}</title>
|
|
</head>
|
|
|
|
<body>
|
|
<h1>Archlinux custom repository</h1>
|
|
|
|
{% if pgp_key is not none %}
|
|
<p>This repository is signed with <a href="http://keys.gnupg.net/pks/lookup?search=0x{{ pgp_key|e }}" title="key search">{{ pgp_key|e }}</a>.</p>
|
|
{% endif %}
|
|
|
|
<code>
|
|
$ cat /etc/pacman.conf<br>
|
|
[{{ repository|e }}]<br>
|
|
Server = {{ link_path|e }}<br>
|
|
SigLevel = Database{% if has_repo_signed %}Required{% else %}Never{% endif %} Package{% if has_package_signed %}Required{% else %}Never{% endif %} TrustedOnly
|
|
</code>
|
|
|
|
<p>Packages:</p>
|
|
<ul>
|
|
{% for package, package_url in packages.items() %}
|
|
<li><a href="{{ package_url|e }}" title="{{ package|e }}">{{ package|e }}</a></li>
|
|
{% endfor %}
|
|
</ul>
|
|
|
|
{% if homepage is not none %}
|
|
<footer><a href="{{ homepage|e }}" title="homepage">Homepage</a></footer>
|
|
{% endif %}
|
|
</body>
|
|
</html>
|