diff --git a/config.toml b/config.toml
index 884b5b1..dabe513 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 d5a995b..0e9684d 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")