diff options
author | Medvedev Stanislav <medvedevsa97@gmail.com> | 2024-06-09 22:17:30 +0300 |
---|---|---|
committer | Medvedev Stanislav <medvedevsa97@gmail.com> | 2024-06-09 22:17:30 +0300 |
commit | 2e50db236fa5d922bf18061140e497d6c5d0237c (patch) | |
tree | fb1dd513ca0399126649ca2d43a43291b567e6d6 /templates | |
parent | 71504b8fbf84a02f169f84fc1b782a495ab0d780 (diff) |
client_geo на html странице
Diffstat (limited to 'templates')
-rw-r--r-- | templates/index.html | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/templates/index.html b/templates/index.html index c254629..a2e6d0b 100644 --- a/templates/index.html +++ b/templates/index.html @@ -3,9 +3,15 @@ <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <script src="https://cdn.tailwindcss.com"></script> <title>Document</title> </head> <body> - Привет мир + Привет + {% if 'city' in client_geo %} + <p>{{client_geo['country']}}</p> + <p>{{client_geo['city']}}</p> + <p>{{client_geo['query']}}</p> + {% endif %} </body> </html>
\ No newline at end of file |