diff --git a/.eleventy.js b/.eleventy.js index 30057a4a..4ed8c195 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 83494dbb..bde39c25 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,6 @@ 2.0.10.dev0 * #1161: Fix a traceback (TypeError) in the "check" action with Python 3.14. + * 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 81300bae..82b4e32b 100644 --- a/docs/_includes/layouts/main.njk +++ b/docs/_includes/layouts/main.njk @@ -11,7 +11,7 @@ headerClass: elv-header-default {% set navPages = collections.all | eleventyNavigation %} {% macro renderNavListItem(entry) -%} - {{ entry.title }} + {{ entry.title }} {%- if entry.children.length -%}