mirror of
https://gitlab.com/octospacc/TelegramIndex-Fork.git
synced 2025-06-05 22:09:12 +02:00
🚸 show the host url in title
This commit is contained in:
@ -15,7 +15,13 @@
|
|||||||
</style>
|
</style>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
var host_url = document.location.host
|
|
||||||
|
window.onload = () => {
|
||||||
|
// set title as host url
|
||||||
|
const titleA = document.getElementById("title-a")
|
||||||
|
titleA.innerHTML = document.location.host
|
||||||
|
}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
@ -29,7 +35,7 @@
|
|||||||
|
|
||||||
<header class="bg-blue-300 text-white mb-2 p-4 w-full shadow">
|
<header class="bg-blue-300 text-white mb-2 p-4 w-full shadow">
|
||||||
<div class="mx-auto flex justify-between content-center max-w-screen-xl">
|
<div class="mx-auto flex justify-between content-center max-w-screen-xl">
|
||||||
<a href="/" class="text-left text-xl lg:text-2xl xl:text-3xl"> tgindex </a>
|
<a href="/" id="title-a" class="text-left text-xl lg:text-2xl xl:text-3xl"> Telegram index </a>
|
||||||
{% if authenticated %} <a href="/logout" class="text-right"> Logout </a> {% else %} {%
|
{% if authenticated %} <a href="/logout" class="text-right"> Logout </a> {% else %} {%
|
||||||
endif %}
|
endif %}
|
||||||
</div>
|
</div>
|
||||||
|
Reference in New Issue
Block a user