PaperMod's author.html expects params.author to be a string, but
our config uses a map with name and email (needed for RSS). Add a
reflect.IsMap check to extract .name for display, matching how the
updated PaperMod RSS template already handles the map format.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Three issues prevented Mermaid diagrams from rendering:
1. Render hook was in layouts/_defaults/ (with 's') instead of
layouts/_default/ — Hugo never found it
2. The .Store.Set approach in the render hook couldn't communicate
with extend_footer because PaperMod caches the footer partial
via partialCached, so per-page state is lost
3. Moved Mermaid JS loading to extend_head (not cached) using the
same xparams.mermaid front matter flag pattern as KaTeX
Pages opt in with xparams.mermaid: true in front matter. The code
block render hook still converts ```mermaid fences to <pre> tags.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Move reactable demo from content/posts/ to content/demos/ so it
doesn't appear in the posts list. Add demo pages for:
- Mermaid: flowchart, sequence, and state diagrams via code blocks
- KaTeX: inline and display math via the math partial
- Shortcodes: toc, rawhtml, youtube, vimeo
All demos are draft: true and in a dedicated section, so they
build with hugo --buildDrafts but are never published.
Also widen Makefile RMD_SOURCES glob to include content/demos/.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
statdown now inserts CSS/JS dependency tags after the YAML front
matter closing delimiter instead of before it, fixing Hugo's
inability to parse the front matter in rendered widget posts.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Add reactable-demo post exercising the full statdown/depkit
htmlwidget pipeline (two reactable tables with filtering)
- Replace renv::restore() with renv::load() using explicit project
root in Makefile and watch-rmd.sh — renv could not find the
lockfile when cd'd into post subdirectories
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Update PaperMod submodule (v8.0+25 -> v8.0+62), which fixes
the RSS build error from site.Author removal in Hugo 0.159
- Replace deprecated renderhooks.link.enableDefault with
useEmbedded: "fallback" (deprecated since Hugo 0.148)
- Add params.author (name, email) for RSS feed metadata
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Use the pandoc-generated narrative resume HTML, replacing the
handwritten markdown version.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Move Rmd archetype from _default/ to rmarkdown/ so hugo-new.sh's
--kind rmarkdown resolves to the correct archetype instead of
working by accident via file extension fallback
- Replace broad content/*/* glob in .build_sentinel with explicit
find for content (.md, .html, images), layouts, and hugo.yaml
- Fix typo in Makefile comment ("my" -> "by")
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Add DESCRIPTION with explicit dependencies and GitHub remotes
for statdown and depkit
- Switch renv snapshot type from "implicit" to "explicit" so
dependencies are declared, not scanned from source files
- Regenerate renv.lock: adds statdown, depkit, httr2, svglite;
bumps 9 CRAN packages; pins GitHub SHAs for custom packages
- Rename scripts/renv.lock to scripts/install-packages.R (it was
an R install script, not a lockfile)
- Bump renv 1.1.7 -> 1.1.8
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- KaTeX: 0.16.21 -> 0.16.42 with updated SRI hashes
- Mermaid: pin to 11.13.0 (was unpinned, resolving to latest)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Remove hugo.sh (broken draft superseded by hugo-new.sh)
- Remove unused mermaid shortcode and partial (only code-block
rendering via render-codeblock-mermaid.html is used)
- Remove dead xparams.mermaid check from extend_head.html
- Fix watch-rmd.sh to pass shared libs args matching the Makefile
- Fix typos in Makefile ("permsions", "Publising")
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Configure statdown to write CSS/JS dependencies to static/libs/
so they are shared across posts, and ignore that directory in git.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Brings in renv, archetypes, layout partials, shortcodes, gitignore,
and hugo config changes that were committed on the post branch.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>