Commit Graph

52 Commits

Author SHA1 Message Date
9c549acc0a Update AGENTS.md after Gitea migration + Hugo 0.151 template fixes
All checks were successful
Deploy / deploy (push) Successful in 6s
- Deploy section now describes the Gitea Actions workflow rather than
  the legacy rsync-from-laptop flow.
- Fix backwards claim about modern vs deprecated Hugo language keys:
  locale/label are the deprecated custom params; languageCode/languageName
  are the canonical ones.
- Add a cheat sheet for the Hugo 0.123+ template fields that were
  removed (site.Locale, .Language.Label, plus the theme's invalid
  hugo.Data reference) and document each layouts/ override we now ship.
- cspell: allow baseof, hreflang, gitea/Gitea.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-23 18:45:18 +02:00
fd763f7d13 Fix RSS template: .Site.Language.Locale -> .Site.LanguageCode
All checks were successful
Deploy / deploy (push) Successful in 6s
Missed this one in the earlier sweep. RSS <language> wants a BCP47 code,
which is exactly what .Site.LanguageCode returns now.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-23 18:33:57 +02:00
e01675dc4d Override theme social-icons partial: hugo.Data -> site.Data
Some checks failed
Deploy / deploy (push) Failing after 5s
The upstream anubis2 theme references hugo.Data.social.social_icons,
but `hugo` is a build-info namespace (hugo.Version, etc.) and has no
.Data field — Hugo errors with "can't evaluate field Data in type
interface {}". Theme data files live under site.Data, so this override
swaps the access path. Submodule left untouched.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-23 18:32:17 +02:00
53059c2db7 Update custom layouts for Hugo 0.123+ and bump Hugo to 0.151.0
Some checks failed
Deploy / deploy (push) Failing after 5s
site.Language.Locale and .Language.Label were removed from Hugo's
template API in 0.123 / 0.124. The theme already uses the new names;
only our overrides in layouts/ still referenced the old ones.

- layouts/_default/baseof.html: site.Language.Locale -> site.LanguageCode
- layouts/_default/sitemap.xml: .Language.Label -> .Language.LanguageCode
  (hreflang expects a BCP47 code, not a display name)
- layouts/partials/language-switcher.html: .Language.Label -> .Language.LanguageName
  (display name for the switcher UI)

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-23 18:30:15 +02:00
d5605b302e Pin Hugo to 0.121.2 for anubis2 theme compatibility
Some checks failed
Deploy / deploy (push) Failing after 6s
The theme uses site.Locale (removed in 0.123) and .Language.Label
(removed in 0.124). Pinning to 0.121.2, the last pre-deprecation
stable release.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-23 18:06:47 +02:00
227fbe202c Add Gitea Actions deploy workflow
Some checks failed
Deploy / deploy (push) Failing after 5s
Builds Hugo and writes the output to /srv/www/blog on push to main.
Runs in a node:20-bookworm container with /srv/www bind-mounted from
the shinobi host (allowed via the gitea-runner's valid_volumes config).
Caddy on the host serves /srv/www/blog directly.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-23 18:01:02 +02:00
fb6395efc5 Minor fixes for deprecated Hugo API calls 2026-05-10 14:00:25 +02:00
9a998f4ac9 Update AGENTS.md with new information 2026-05-09 23:09:44 +02:00
72e1a8d447 Add checks before deploy to server, also small fixes on content. 2026-05-09 23:05:54 +02:00
4c61829556 Multiple small fixes and upgrades 2026-05-09 22:34:02 +02:00
60d5b995b1 Fix images 2025-10-12 14:15:13 +02:00
c617a1caed Add new post about shrinking ESXi VMDK disks 2025-10-12 14:10:04 +02:00
810bab523a Minor fix. 2025-09-14 11:57:56 +02:00
6831d98239 Add post about Slurm 2025-09-14 11:53:17 +02:00
64dd5d0ea6 Fixes for new version of Hugo 2025-09-14 10:19:18 +02:00
a2778009b5 Fix minor markdown syntax errors. 2024-11-03 11:16:56 -03:00
8735ceb930 Spell check 2024-11-03 11:11:21 -03:00
41abe8d19b Fix iptables link. 2024-11-01 00:00:58 -03:00
18c641c1c9 Minor fix. 2024-10-31 23:57:15 -03:00
9f81069fe0 Add pt-br translation for netcat post. 2024-10-31 23:56:53 -03:00
64ff151082 Add tags for netcat post. 2024-10-31 23:36:56 -03:00
f566acb86f Change widget... 2024-10-31 23:35:40 -03:00
efbade126b Add kofi image. 2024-10-31 23:28:50 -03:00
1e8fec9af6 Add new post netcat 2024-10-31 23:03:43 -03:00
4cb8e928fe Add description 2024-10-27 22:16:38 -03:00
1dff9a5c46 Add canonical links 2024-10-27 20:55:30 -03:00
fb0092bbfa Add git info. 2024-10-27 20:55:23 -03:00
18b61b5b8c Add humans.txt 2024-10-27 17:41:10 -03:00
0f9eb14e44 Fix Apple favicon 2024-10-27 16:25:32 -03:00
4b6678512d Add robots.txt file 2024-10-27 14:53:10 -03:00
3e4b180492 Minor fixes. 2024-10-26 21:45:30 -03:00
06019f657c Add SSH hardening pt-br translation 2024-10-26 21:44:49 -03:00
6c4b9a16b5 Minor fixes. 2024-10-26 21:30:27 -03:00
1981cebade Add pt-br translation for fail2ban basics. 2024-10-26 21:30:16 -03:00
375eaca157 Add tags for SSH Hardening post 2024-10-26 21:14:42 -03:00
118fd7192c Add SSH Hardening post. 2024-10-26 21:12:44 -03:00
2ca711567b Add fail2ban post 2024-10-23 21:52:12 -03:00
b9afa3a7d4 Change analytics to umami 2024-10-23 21:52:02 -03:00
2028b8398a Add pt-br translation for the iptables post. 2024-10-21 22:49:24 -03:00
1bbf47295b Improve default archetype 2024-10-21 22:49:06 -03:00
6a84eb77f4 Publish iptables post. 2024-10-20 15:54:18 -03:00
ed8603552f Add iptables post. 2024-10-20 15:22:16 -03:00
9308821577 Add First post pt-BR translation 2024-10-20 13:22:23 -03:00
2e24f03244 Add Matomo tracking code 2024-10-20 11:00:47 -03:00
662f7ddad8 Add meta description 2024-10-20 10:18:33 -03:00
067b178905 Add favicon images... 2024-10-19 23:38:36 -03:00
3b7bcbcca3 Add .DS_Store git ignore... 2024-10-19 23:38:21 -03:00
ef5541dd98 Remove ignored files... 2024-10-19 23:31:18 -03:00
48ba7f7e73 Remove draft status... 2024-10-19 23:28:06 -03:00
31ad9de7ae First post 2024-10-19 23:24:05 -03:00