mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-22 03:26:22 +00:00
config fixes
This commit is contained in:
parent
2563afe44a
commit
ccec4b30e7
2 changed files with 3 additions and 1 deletions
|
@ -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…
Reference in a new issue