diff --git a/config.example.py b/config.example.py index 6904e4b..014e0e8 100644 --- a/config.example.py +++ b/config.example.py @@ -231,3 +231,6 @@ CACHE_THRESHOLD = 8192 # To actually make this work across multiple worker processes, use redis # RATELIMIT_STORAGE_URL="redis://host:port" RATELIMIT_KEY_PREFIX="nyaaratelimit_" + +# Use this to show the commit hash in the footer (see layout.html) +# COMMIT_HASH="[enter your commit hash here]"; \ No newline at end of file diff --git a/nyaa/templates/layout.html b/nyaa/templates/layout.html index 029b1e3..96462d3 100644 --- a/nyaa/templates/layout.html +++ b/nyaa/templates/layout.html @@ -331,7 +331,7 @@