blog/templates/page.html

36 lines
1 KiB
HTML
Raw Permalink Normal View History

{% extends "base.html" %}
{% block main_content %}
{{ post_macros::content(page=page) }}
2023-01-11 05:57:37 +00:00
<hr>
{{ post_macros::tags(page=page, short=true) }}
2023-01-15 07:22:30 +00:00
<hr>
2023-01-21 23:53:58 +00:00
<script src="/js/footnoter.js"></script>
2023-01-15 07:26:12 +00:00
<div class=hias-footer>
2024-03-30 20:15:52 +00:00
<p>There have been <span id="hitman-count">no</span> views of this page.</p>
2024-03-31 18:37:04 +00:00
<p><a href=https://webring.club/tJiARCf_atDhfvzd/previous></a> - The <a
href=https://webring.club/random>Constellation</a> Webring - <a
href=https://webring.club/tJiARCf_atDhfvzd/next>→</a> </p>
<hr>
2024-03-30 20:15:52 +00:00
<p>
2023-01-15 07:22:30 +00:00
<script async defer src="https://www.recurse-scout.com/loader.js?t=e38ac183ce767b3800a4b4587c00f3fd"></script>
2024-03-30 20:15:52 +00:00
<div class="rc-scout"></div>
</p>
2023-01-15 07:26:12 +00:00
</div>
2024-03-30 20:15:52 +00:00
<script defer>
const hits = document.getElementById('hitman-count');
fetch("/hit/{{ page.slug }}").then((resp) => {
2024-03-30 23:23:17 +00:00
if (resp.ok) {
return resp.text();
} else {
2024-03-30 23:49:22 +00:00
return "I don't even know how many";
2024-03-30 23:23:17 +00:00
}
2024-03-30 20:15:52 +00:00
}).then((data) => {
hits.innerHTML = data;
});
</script>
2024-03-30 23:23:17 +00:00
{% endblock main_content %}