Skip to content

Conversation

@mfw78
Copy link
Member

@mfw78 mfw78 commented Nov 23, 2025

Summary

This PR adds two new features to the website:

1. Plausible Analytics Integration

  • Added Plausible analytics support alongside existing GoatCounter and Umami options
  • Configured to use plausible.nxm.rs with custom script including hash, outbound-links, pageview-props, and tagged-events extensions
  • Can be enabled/disabled via config.toml under [extra.analytics]

2. Author Field Support

  • Posts can now include an author field in their front matter under [extra]
  • Author is displayed in post metadata before the date (e.g., "By mfw78 :: Posted on 2025-05-21")
  • All keycard posts have been updated with author "mfw78"

Files Changed

  • config.toml - Added Plausible analytics configuration
  • templates/partials/header.html - Added Plausible script injection
  • templates/macros/macros.html - Added author display in post metadata
  • content/posts/keycard*.md - Added author field to all keycard posts

Testing

  • ✅ Site builds successfully
  • ✅ Plausible script appears in generated HTML
  • ✅ Author field displays correctly in post pages

- Add Plausible analytics integration with configurable domain and script URL
- Add author field support in post templates (displays before date in metadata)
- Configure all keycard posts with author "mfw78"
- Analytics can be enabled/disabled via config.toml

Analytics configuration supports Plausible alongside existing GoatCounter and Umami options.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants