HTML Base - Configuration

Configure your path prefix

2025-05-23

ITADS

Eleventy LibDoc includes the base plugin. By default, settings.htmlBasePathPrefix is an empty string. If your build is not deployed to a domain root and you need to add a prefix after domain name.

If website is pushed into a sub directory of the domain name (for example on Github Pages), just add slashes before and after directory name.

{
    "htmlBasePathPrefix": "/repository-name/"
}