config fixes

hugo
jackyzha0 3 years ago
parent 2563afe44a
commit ccec4b30e7

@ -2,6 +2,8 @@ baseURL = "https://quartz.jzhao.xyz/"
languageCode = "en-us" languageCode = "en-us"
googleAnalytics = "G-XYFD95KB4J" googleAnalytics = "G-XYFD95KB4J"
pygmentsUseClasses = true pygmentsUseClasses = true
relativeURLs = true
disablePathToLower = true
ignoreFiles = [ ignoreFiles = [
"/content/templates/*", "/content/templates/*",
"/content/private/*", "/content/private/*",

@ -126,7 +126,7 @@
.attr("fill", color) .attr("fill", color)
.style("cursor", "pointer") .style("cursor", "pointer")
.on("click", (_, d) => { .on("click", (_, d) => {
window.location.href = d.id; window.location.href = {{.Site.BaseURL}} + d.id;
}) })
.on("mouseover", function (_, d) { .on("mouseover", function (_, d) {
d3.selectAll(".node") d3.selectAll(".node")

Loading…
Cancel
Save