mirror of
https://codeberg.org/slatian/service.echoip-slatecave.git
synced 2025-07-17 14:33:27 +02:00
Added a templating helper
This commit is contained in:
@ -1,13 +1,13 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Your IP: {{ ip }}</title>
|
||||
<title>Your IP: {{ data.query.ip }}</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Your IP-Address is: {{ ip }}</h1>
|
||||
<h1>Your IP-Address is: {{ data.query.ip }}</h1>
|
||||
<p>Your requested format was: <b>{{format}}</b></p>
|
||||
{% if hostname %}
|
||||
<p>Hostname: <b>{{hostname}}</b></p>
|
||||
<p>Hostname: <b>{{data.result.hostname}}</b></p>
|
||||
{% endif %}
|
||||
</body>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user