From e4f1c69aed4239494333c3eed67137d1d282ed4c Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Wed, 24 May 2023 00:52:40 +0400 Subject: Added a new user counter --- templates/base.html | 2 +- templates/includes/counter.html | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 templates/includes/counter.html diff --git a/templates/base.html b/templates/base.html index 43437c8..a9edbde 100644 --- a/templates/base.html +++ b/templates/base.html @@ -32,7 +32,7 @@ {% block content %}{% endblock %} - + {% include 'includes/counter.html' %} \ No newline at end of file diff --git a/templates/includes/counter.html b/templates/includes/counter.html new file mode 100644 index 0000000..3467b6f --- /dev/null +++ b/templates/includes/counter.html @@ -0,0 +1,5 @@ +{% set url = current_url | default(value='/') %} + +{% if url is not containing('.onion') %} + +{% endif %} \ No newline at end of file -- cgit v1.2.3