From a43cf283de6ab2537adda528de17d39313c38a40 Mon Sep 17 00:00:00 2001 From: raoulb Date: Wed, 30 Sep 2020 22:59:30 +0200 Subject: [PATCH] Fix hugo shortcode typo in faq (#12987) * Fix hugo shortcode typo in faq * Switch to using language tags --- docs/content/doc/help/faq.en-us.md | 2 +- .../doc/usage/{fail2ban-setup.md => fail2ban-setup.en-us.md} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename docs/content/doc/usage/{fail2ban-setup.md => fail2ban-setup.en-us.md} (100%) diff --git a/docs/content/doc/help/faq.en-us.md b/docs/content/doc/help/faq.en-us.md index e265793f2..7a7044f61 100644 --- a/docs/content/doc/help/faq.en-us.md +++ b/docs/content/doc/help/faq.en-us.md @@ -162,7 +162,7 @@ At some point, a customer or third party needs access to a specific repo and onl ### Enable Fail2ban -Use [Fail2Ban]({{ relref "doc/usage/fail2ban-setup.md" >}}) to monitor and stop automated login attempts or other malicious behavior based on log patterns +Use [Fail2Ban]({{< relref "doc/usage/fail2ban-setup.en-us.md" >}}) to monitor and stop automated login attempts or other malicious behavior based on log patterns ## How to add/use custom themes Gitea supports two official themes right now, `gitea` and `arc-green` (`light` and `dark` respectively) diff --git a/docs/content/doc/usage/fail2ban-setup.md b/docs/content/doc/usage/fail2ban-setup.en-us.md similarity index 100% rename from docs/content/doc/usage/fail2ban-setup.md rename to docs/content/doc/usage/fail2ban-setup.en-us.md