diff --git a/data/lib.toml b/data/lib.toml index 5dca25b..e1a7651 100644 --- a/data/lib.toml +++ b/data/lib.toml @@ -236,4 +236,8 @@ [d3.d3_contour] sri = "sha256-i10ISq4/JP3k0HZE8gqbakhgaOjQKWn0Pm8oBUUwqNQ=" - url = "https://cdn.jsdelivr.net/npm/d3-contour@2.0.0/dist/d3-contour.min.js" \ No newline at end of file + url = "https://cdn.jsdelivr.net/npm/d3-contour@2.0.0/dist/d3-contour.min.js" + +[d3.d3_cloud] + sri = "" # no sri + url = "https://cdn.jsdelivr.net/npm/d3-cloud@1.2.5/build/d3.layout.cloud.min.js" \ No newline at end of file diff --git a/layouts/partials/script/single-script.html b/layouts/partials/script/single-script.html index daf5a89..26c905f 100644 --- a/layouts/partials/script/single-script.html +++ b/layouts/partials/script/single-script.html @@ -109,6 +109,9 @@ {{ if in .Params.Libraries "d3_contour" }} {{ end }} +{{ if in .Params.Libraries "d3_cloud" }} + +{{ end }} {{ if in .Params.Libraries "mermaid" }}