correct default option spelling and more fields to be hidden for not

extended reports
This commit is contained in:
2021-04-06 05:42:43 +03:00
parent 21c5eae97d
commit 134cdea7f6
3 changed files with 17 additions and 13 deletions

View File

@ -27,7 +27,7 @@ target =
[email]
template_path = /usr/share/ahriman/repo-index.jinja2
use_tls = no
ssl = disabled
[html]
template_path = /usr/share/ahriman/repo-index.jinja2

View File

@ -5,15 +5,17 @@
{% include "style.jinja2" %}
{% include "sorttable.jinja2" %}
{% include "search.jinja2" %}
{% if extended_report %}
{% include "sorttable.jinja2" %}
{% include "search.jinja2" %}
{% endif %}
</head>
<body>
<div class="root">
<h1>Archlinux user repository</h1>
{% if extended_report %}
<h1>Archlinux user repository</h1>
{% if include_pacman_conf %}
<section class="element">
{% 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 }}&fingerprint=on&op=index" title="key search">{{ pgp_key|e }}</a> by default.</p>
@ -52,13 +54,15 @@
</table>
</section>
<footer>
<ul class="navigation">
{% if homepage is not none %}
<li><a href="{{ homepage|e }}" title="homepage">Homepage</a></li>
{% endif %}
</ul>
</footer>
{% if extended_report %}
<footer>
<ul class="navigation">
{% if homepage is not none %}
<li><a href="{{ homepage|e }}" title="homepage">Homepage</a></li>
{% endif %}
</ul>
</footer>
{% endif %}
</div>
</body>
</html>