config fixes

This commit is contained in:
jackyzha0 2021-07-22 15:27:38 -04:00
parent 2563afe44a
commit ccec4b30e7
2 changed files with 3 additions and 1 deletions

View file

@ -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/*",

View file

@ -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")