diff --git a/config.toml b/config.toml index 884b5b126..dabe513d1 100644 --- a/config.toml +++ b/config.toml @@ -2,6 +2,8 @@ baseURL = "https://quartz.jzhao.xyz/" languageCode = "en-us" googleAnalytics = "G-XYFD95KB4J" pygmentsUseClasses = true +relativeURLs = true +disablePathToLower = true ignoreFiles = [ "/content/templates/*", "/content/private/*", diff --git a/layouts/partials/graph.html b/layouts/partials/graph.html index d5a995b13..0e9684d6d 100644 --- a/layouts/partials/graph.html +++ b/layouts/partials/graph.html @@ -126,7 +126,7 @@ .attr("fill", color) .style("cursor", "pointer") .on("click", (_, d) => { - window.location.href = d.id; + window.location.href = {{.Site.BaseURL}} + d.id; }) .on("mouseover", function (_, d) { d3.selectAll(".node")