50 lines
1.7 KiB
Plaintext
50 lines
1.7 KiB
Plaintext
{{ define "footer" }}
|
|
<footer>
|
|
<div>
|
|
<img src="/assets/pic/footer.webp?v={{ .version }}" width="100%" height="100%">
|
|
</div>
|
|
<div>
|
|
<p>
|
|
and also you can subscribe to my <a href="https://t.me/lolistack" target="_blank">telegram channel </a> with pictures!
|
|
</p>
|
|
</div>
|
|
<div>
|
|
<p>
|
|
<strong>some system information</strong>:
|
|
</p>
|
|
<ul>
|
|
<li>unix timestamp of page rendering: <code>{{ .renderingTimestamp }}</code></li>
|
|
<li><code>curl -X LIMINAL https://hikan.ru</code> - what do you know about liminal spaces?</li>
|
|
<li>this site code repository - <a href="https://git.hikan.ru/serr/hikan.ru" target="_blank">git.hikan.ru/serr/hikan.ru</a></li>
|
|
<li>24-hour server request count (<code>curl -X COUNT https://hikan.ru</code>):</li>
|
|
</ul>
|
|
<p class="count">
|
|
<img src="/assets/pic/0.gif?v={{ .version }}">
|
|
<img src="/assets/pic/0.gif?v={{ .version }}">
|
|
<img src="/assets/pic/0.gif?v={{ .version }}">
|
|
<img src="/assets/pic/0.gif?v={{ .version }}">
|
|
</p>
|
|
</div>
|
|
<div>
|
|
<p>
|
|
this site is written in Go, hosting is <a href="https://htk.ge" target="_blank">hostetski</a>, domain bought for the price of a can of beer
|
|
</p>
|
|
<p>
|
|
<code>2024 - now</code>
|
|
</p>
|
|
</div>
|
|
</footer>
|
|
<script>
|
|
fetch('/', {method: 'COUNT'})
|
|
.then(r => r.text())
|
|
.then(num => num.trim())
|
|
.then(number => {
|
|
if (number.length > 0) {
|
|
document.querySelector('p.count').innerHTML =
|
|
[...number].map(d => `<img src="/assets/pic/${d}.gif?v={{ .version }}">`).join('');
|
|
}
|
|
})
|
|
.catch(console.error);
|
|
</script>
|
|
{{ end }}
|