Commit Graph
30 Commits
Author SHA1 Message Date
noether 0d24df31ad search: replace Fuse.js with Pagefind (Default UI) + full UI polish
Remove the legacy Fuse.js search from html-head.html (it double-loaded
with the new Pagefind UI; backup kept at html-head.html.bkup) and add a
Pagefind Default-UI partial (search.html) injected into the sidebar via
menu.html.

Index scoping: tag the article element with data-pagefind-body in
baseof.html, term.html, and posts/{single,list}.html so Pagefind indexes
page content only (pages without the tag are skipped; 404.html stays
untagged).

search.html (all overrides #search-scoped, since pagefind-ui.css loads in
<body> after the head CSS):
  - compact input/magnifier/clear-button fitted to the sidebar; clear
    button uses fixed px (not %) because the results drawer is an in-flow
    child of the form, which stretches the form to results height
  - hide the empty .result-thumb placeholder (no images in the index) that
    was pushing result text ~90px right
  - restyle matched-term <mark> from UA yellow to subdued slate
  - keyboard navigation (Pagefind 1.5.2 has none; stock Enter is a silent
    no-op): capture-phase keydown implements ArrowUp/Down highlighting with
    wraparound across top-level hits AND their nested sub-results (each sub
    highlights its own .result-nested row), Enter opens the highlighted
    result (or the top result), and a fingerprint-aware MutationObserver
    keeps the highlight across Pagefind's async re-renders without
    resetting it on every DOM patch
2026-10-11 08:59:18 -06:00
noether 2d8f79b7fd build: replace ad-hoc run with a full make workflow + helper scripts
The old Makefile was a single 'run' target (hugo server + pagefind --serve).
Replace it with documented targets:

  build         hugo --gc -> public/
  index         build + pagefind --site public -> public/pagefind/
  serve / run   index + pagefind's own server on 127.0.0.1:1414 (local)
  serve-lan     static-serve public/ on 0.0.0.0:8090 for other machines
  link-check    offline internal-link scan (lychee --scheme file) -> JSON
  link-fix      comment out confirmed-dead internal links, then rebuild
  external-check network scan of external links (report-only)
  clean / all

Add scripts/:
  serve_lan.py            stdlib static server rooted at public/ (prints LAN IP)
  fix_dead_links.py       idempotent internal dead-link comment-out
  check_external_links.py external link report (drives the daily cron job)

.gitignore: add linkcheck/, resources/_gen/ (regenerable Hugo asset cache),
__pycache__/, and .hermes/.
2026-10-11 08:58:50 -06:00
noether 99b7546fd1 content: fix bare-domain and malformed links
Normalize four links that were missing an https:// scheme (defcad.com,
simplytranslate.org, airbtc.online) and one malformed double-paren
Affiliate Link target in self-hosting.md. Bare-domain hrefs render as
relative file paths and were being mis-read by the dead-link scanner.
2026-10-11 08:58:32 -06:00
jojo ce9810d09e added links to self host tab 2026-08-30 18:54:05 -06:00
jojo 0f0d7a2aec added links to self host tab 2026-08-28 15:50:15 -06:00
jojo b057e82f91 added links to self host tab 2026-08-28 15:45:32 -06:00
jojo bff1dc7849 added links to self host tab 2026-08-28 15:43:20 -06:00
jojo debf4bdbf1 modified cold card info added in 1 link for the health tab 2026-08-28 11:57:49 -06:00
surfninjas ae13223df0 removed build and index script. It doesnt do anything. 2026-07-16 20:01:49 -06:00
surfninjas c4ecd05262 Restore artwork images to all section pages
Commit 235d40d ("huge upgrade to theme and pagefind search bar")
accidentally removed the artwork image reference line from all 19
section markdown files. The image files in content/Images/Artwork/
were never deleted, but without the markdown references Hugo no
longer rendered them.

This restores the ![Horizpontal.jpeg](/Images/Artwork/<name>.jpg)
line to each file at its original position beneath the title banner,
affecting: osint, agorism, hacking, privacy, self-hosting, money,
affiliates, books, covid, deathathletes, defense, education,
frontends, health, job-boards, metrics, organizations,
political-tools, and social-media.
2026-07-16 19:59:48 -06:00
jojo 8013773c8d added 5 links on money, and health mostly 2026-05-23 14:56:14 -06:00
jojo d561b5ffe5 added 1 links 2026-05-23 12:32:12 -06:00
jojo 9b7594dae6 remove 2 links 2026-04-24 16:29:50 -06:00
jojo 34127c8bc6 remove zzzz 2026-04-24 16:19:36 -06:00
surfninjas bb5dad65bf readded hugo-book theme files. 2026-04-24 14:36:57 -06:00
surfninjas 52f57401dc added README and stopped tracking /public. 2026-04-18 01:33:09 -06:00
surfninjas 8a91c27ce9 testing out ssh key. 2026-04-18 01:11:35 -06:00
surfninjas 51d5d912d4 test push to see if username change worked. 2026-04-18 01:05:58 -06:00
surfninjas 596d49ed21 added lemon manuals, commented out gatgpt, added The Big Brother links. 2026-04-18 00:35:42 -06:00
surfninjas 235d40da0b huge upgrade to theme and pagefind search bar. 2026-04-17 13:28:48 -06:00
jojo a6a38f7ea7 Dumb Test MESSAGE2 2026-03-21 21:55:13 -06:00
jojo a8e097d6ea Dumb Test MESSAGE 2026-03-21 21:48:44 -06:00
jojo 203177fd85 JOSH'S AWESOME MESSAGE 2026-03-21 21:27:33 -06:00
surfninjas f43583c88c git pull test from dev to prod. 2026-03-16 23:29:46 +00:00
surfninjas bd8324fad5 pull test from dev to dirac. 2026-03-16 17:28:09 -06:00
tavrin_rust_dev 5e87d9a612 pull test from dev to dev. 2026-03-16 23:26:47 +00:00
surfninjas 89f6f2fe3a prod push test. 2026-03-16 23:24:22 +00:00
surfninjas 4aa92661f3 dirac hugo server test. 2026-03-16 17:20:07 -06:00
tavrin_rust_dev 31a40fe57c added dev test file. 2026-03-16 23:14:36 +00:00
surfninjas 5542e36ddc first commit. From prod. 2026-03-16 23:07:23 +00:00