remove stats option

This commit is contained in:
yggverse 2025-08-05 19:40:06 +03:00
parent a4ce8e29d5
commit 5c167f4852
3 changed files with 0 additions and 7 deletions

View file

@ -32,10 +32,6 @@ pub struct Config {
#[arg(long)]
pub link: Option<Url>,
/// Optional reference to the [Aquatic](https://github.com/greatest-ape/aquatic) stats page
#[arg(long)]
pub stats: Option<Url>,
/// Display following tracker(s) in the header, append also to the magnet links
#[arg(long)]
pub tracker: Option<Vec<Url>>,

View file

@ -24,7 +24,6 @@ pub struct Meta {
pub canonical: Option<Url>,
pub description: Option<String>,
pub format_time: String,
pub stats: Option<Url>,
pub title: String,
/// * use vector to keep the order from the arguments list
pub trackers: Option<Vec<Url>>,
@ -123,7 +122,6 @@ fn rocket() -> _ {
canonical: config.link,
description: config.description,
format_time: config.format_time,
stats: config.stats,
title: config.title,
trackers: config.tracker,
})

View file

@ -168,7 +168,6 @@
{% block content %}{% endblock content %}
</main>
<footer>
{% if meta.stats %}<a href="{meta.stats}">Stats</a> |{% endif %}
<a href="/rss">RSS</a> |
<a href="https://github.com/YGGverse/YGGtracker">GitHub</a>
</footer>