mirror of
https://github.com/borgmatic-collective/borgmatic.git
synced 2026-07-30 05:13:01 +02:00
Remove some of the link rewriting to hopefully fix broken docs links.
This commit is contained in:
+2
-3
@@ -14,10 +14,9 @@ module.exports = function(eleventyConfig) {
|
||||
breaks: false,
|
||||
linkify: true,
|
||||
// Replace links to .md files with links to directories. This allows unparsed Markdown links
|
||||
// to work on GitHub, while rendered links elsewhere also work. Also replaced dotted
|
||||
// relative links for the same reason.
|
||||
// to work on GitHub, while rendered links elsewhere also work.
|
||||
replaceLink: function (link, env) {
|
||||
return link.replace(/\.md$/, '/').replace('../..', '../../..');
|
||||
return link.replace(/\.md$/, '/');
|
||||
}
|
||||
};
|
||||
let markdownItAnchorOptions = {
|
||||
|
||||
Reference in New Issue
Block a user