diff --git a/.eleventy.js b/.eleventy.js index 12543f7c..f6d95fa1 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -21,7 +21,7 @@ module.exports = function(eleventyConfig) { if (process.env.NODE_ENV == "production") { return link; } - return link.replace('https://torsion.org/borgmatic/', 'http://localhost:8080/'); + return link.replace('https://torsion.org/', 'http://localhost:8080/'); } }; let markdownItAnchorOptions = { diff --git a/NEWS b/NEWS index e8fbbae4..c1e20f03 100644 --- a/NEWS +++ b/NEWS @@ -4,6 +4,7 @@ https://torsion.org/borgmatic/ * #1161: Fix a traceback (TypeError) in the "check" action with Python 3.14. * Add documentation search. + * Change the URL of the local documentation development server to be more like the production URL. 2.0.9 * #1105: More accurately collect Btrfs subvolumes to snapshot. As part of this, the Btrfs hook no diff --git a/docs/_includes/layouts/main.njk b/docs/_includes/layouts/main.njk index b2c6a064..4391aa10 100644 --- a/docs/_includes/layouts/main.njk +++ b/docs/_includes/layouts/main.njk @@ -10,7 +10,7 @@ headerClass: elv-header-default {% if page.url != '/search/' %}