Commit Graph

12 Commits

Author SHA1 Message Date
cab796c749 another try 2026-03-28 05:04:01 +00:00
8a57cbf8a5 test include again 2026-03-28 04:59:39 +00:00
f6f8e2fe81 test include 2026-03-28 04:32:56 +00:00
09b40580b0 fixed the include partial and its configuration. The primary issues were the lack of frontmatter stripping and restricted file system access for files outside the Hugo project
root.

  Changes Made:

   1. Improved include.html Partial:
       * Page Support: Now uses .Site.GetPage first, allowing files to be included via Hugo's virtual filesystem (mounts).
       * Frontmatter Stripping: Added a regex-based stripper to ensure that if a raw file is read via readFile, its YAML/TOML frontmatter isn't rendered as text/horizontal rules.
       * Shortcode Processing: Confirmed that RenderString correctly processes shortcodes within included content.

   2. Updated Hugo Configuration:
       * Added [[module.mounts]] to /srv/dev/hugo/wiki/config/_default/hugo.toml to expose your private documentation directory (/srv/docs/private) to Hugo as content/private.
2026-03-28 04:22:29 +00:00
319153c8c2 adding partials for <include> 2026-03-28 02:00:49 +00:00
077aa4b523 updates to wiki for architecture changes 2026-03-25 03:54:30 +00:00
94cf995be0 Refactor: Remove hardcoded edit URL to allow dynamic overrides 2026-03-25 03:11:40 +00:00
dd45ebb165 Add hugo-admonitions submodule correctly 2026-03-25 01:39:33 +00:00
dd446b5522 Add blowfish submodule correctly 2026-03-25 01:29:10 +00:00
2feb0e7e47 Remove broken submodule references 2026-03-25 01:26:36 +00:00
f9db4b5325 Finalize framework: Remove unnecessary root files 2026-03-25 01:00:41 +00:00
0eee1e0771 Finalize framework: Fix submodules and clean artifacts 2026-03-25 00:54:34 +00:00