1
0
mirror of https://gitlab.com/MisterBiggs/brain-quartz.git synced 2025-07-29 01:31:23 +00:00
Files
.github
assets
content
data
layouts
_default
partials
backlinks.html
contact.html
darkmode.html
footer.html
footerIndex.html
github.html
graph.html
head.html
header.html
katex.html
page-list.html
recent.html
search.html
textprocessing.html
toc.html
404.html
index.html
static
.gitignore
.hugo_build.lock
.prettierrc
CODE_OF_CONDUCT.md
LICENSE.txt
Makefile
README.md
config.toml
screenshot.png
brain-quartz/layouts/partials/graph.html
2022-05-03 10:38:41 -07:00

19 lines
550 B
HTML

<script
src="https://cdn.jsdelivr.net/npm/d3@6.7.0/dist/d3.min.js"
integrity="sha256-+7jaYCp29O1JusNWHaYtgUn6EhuP0VaFuswhNV06MyI="
crossorigin="anonymous"
></script>
<h3>Interactive Graph</h3>
<div id="graph-container"></div>
<style>
:root {
--g-node: var(--secondary);
--g-node-active: var(--primary);
--g-node-inactive: var(--visited);
--g-link: var(--outlinegray);
--g-link-active: #5a7282;
}
</style>
{{ $js := resources.Get "js/graph.js" | resources.Fingerprint "md5" }}
<script src="{{ $js.Permalink }}"></script>