Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: gohugoio/hugo
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0b159f0362ed89d62fb4a408f8dee8b1b6341df2
Choose a base ref
...
head repository: gohugoio/hugo
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 90af7b609101e01ba47212831d3863b26e1aa3e4
Choose a head ref
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on Oct 24, 2025

  1. hugofs: Make node_modules a "special case" mount

    For this and similar mounts in a theme:
    
    ```toml
    [[module.mounts]]
    source = 'node_modules/bootstrap'
    target = 'assets/vendor/bootstrap'
    ```
    
    We first check the theme itself, then the project root.
    
    For backwards compatibility, we also make any `../../node_modules/...` `source` paths into `node_modules/...` paths when defined in themes/modules.
    
    Fixes #14089
    bep committed Oct 24, 2025
    Configuration menu
    Copy the full SHA
    90af7b6 View commit details
    Browse the repository at this point in the history
Loading