mirror of
https://github.com/YGGverse/btracker.git
synced 2026-03-31 17:15:31 +00:00
remove stats option
This commit is contained in:
parent
a4ce8e29d5
commit
5c167f4852
3 changed files with 0 additions and 7 deletions
|
|
@ -32,10 +32,6 @@ pub struct Config {
|
||||||
#[arg(long)]
|
#[arg(long)]
|
||||||
pub link: Option<Url>,
|
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
|
/// Display following tracker(s) in the header, append also to the magnet links
|
||||||
#[arg(long)]
|
#[arg(long)]
|
||||||
pub tracker: Option<Vec<Url>>,
|
pub tracker: Option<Vec<Url>>,
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,6 @@ pub struct Meta {
|
||||||
pub canonical: Option<Url>,
|
pub canonical: Option<Url>,
|
||||||
pub description: Option<String>,
|
pub description: Option<String>,
|
||||||
pub format_time: String,
|
pub format_time: String,
|
||||||
pub stats: Option<Url>,
|
|
||||||
pub title: String,
|
pub title: String,
|
||||||
/// * use vector to keep the order from the arguments list
|
/// * use vector to keep the order from the arguments list
|
||||||
pub trackers: Option<Vec<Url>>,
|
pub trackers: Option<Vec<Url>>,
|
||||||
|
|
@ -123,7 +122,6 @@ fn rocket() -> _ {
|
||||||
canonical: config.link,
|
canonical: config.link,
|
||||||
description: config.description,
|
description: config.description,
|
||||||
format_time: config.format_time,
|
format_time: config.format_time,
|
||||||
stats: config.stats,
|
|
||||||
title: config.title,
|
title: config.title,
|
||||||
trackers: config.tracker,
|
trackers: config.tracker,
|
||||||
})
|
})
|
||||||
|
|
|
||||||
|
|
@ -168,7 +168,6 @@
|
||||||
{% block content %}{% endblock content %}
|
{% block content %}{% endblock content %}
|
||||||
</main>
|
</main>
|
||||||
<footer>
|
<footer>
|
||||||
{% if meta.stats %}<a href="{meta.stats}">Stats</a> |{% endif %}
|
|
||||||
<a href="/rss">RSS</a> |
|
<a href="/rss">RSS</a> |
|
||||||
<a href="https://github.com/YGGverse/YGGtracker">GitHub</a>
|
<a href="https://github.com/YGGverse/YGGtracker">GitHub</a>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue