Add webring links, plus add counter to home template.

This commit is contained in:
Joe Ardent 2024-03-31 10:35:20 -07:00
parent ef9d7ac9be
commit eadbe5f4d3
3 changed files with 54 additions and 4 deletions

View File

@ -0,0 +1,16 @@
+++
title = "Hitman: another fine essential sundry service from Nebcorp Heavy Industries and Sundries"
slug = "hitman"
date = "2024-03-31"
draft = true
[taxonomies]
tags = ["software", "sundry", "proclamation", "90s", "hitman", "web"]
+++
# Hitman counts your hits, man.
## The dream
## The reality

View File

@ -1,9 +1,9 @@
{% extends "base.html" %}
{% block main_content %}
{% if section.extra.section_path -%}
{% set section = get_section(path=section.extra.section_path) %}
{% endif -%}
{% if section.extra.section_path -%}
{% set section = get_section(path=section.extra.section_path) %}
{% endif -%}
{{ post_macros::page_header(title=section.title) }}
@ -12,5 +12,35 @@
{{ post_macros::list_posts(pages = term.pages) }}
{% endblock main_content %}
<hr>
<script src="/js/footnoter.js"></script>
<div class=hias-footer>
<p>There have been <span id="hitman-count">no</span> views of this page.</p>
<p><a href=https://webring.club/tJiARCf_atDhfvzd/previous></a> - The Constellation Webring - <a
href=https://webring.club/tJiARCf_atDhfvzd/next>→</a> </p>
<hr>
<p>
<script async defer src="https://www.recurse-scout.com/loader.js?t=e38ac183ce767b3800a4b4587c00f3fd"></script>
<div class="rc-scout"></div>
</p>
</div>
<script defer>
const hits = document.getElementById('hitman-count');
fetch("/hit/main-landing-page").then((resp) => {
if (resp.ok) {
return resp.text();
} else {
return "I don't even know how many";
}
}).then((data) => {
hits.innerHTML = data;
});
</script>
{% endblock main_content %}

View File

@ -8,6 +8,10 @@
<script src="/js/footnoter.js"></script>
<div class=hias-footer>
<p>There have been <span id="hitman-count">no</span> views of this page.</p>
<p><a href=https://webring.club/tJiARCf_atDhfvzd/previous></a> - The Constellation Webring - <a
href=https://webring.club/tJiARCf_atDhfvzd/next>→</a> </p>
<hr>
<p>
<script async defer src="https://www.recurse-scout.com/loader.js?t=e38ac183ce767b3800a4b4587c00f3fd"></script>
<div class="rc-scout"></div>