diff --git a/modules/sticky-till-the-end/assets/hb/modules/docs-sticky-till-the-end/js/index.ts b/modules/sticky-till-the-end/assets/hb/modules/docs-sticky-till-the-end/js/index.ts new file mode 100644 index 00000000..0aed094d --- /dev/null +++ b/modules/sticky-till-the-end/assets/hb/modules/docs-sticky-till-the-end/js/index.ts @@ -0,0 +1,3 @@ +import { attachOn } from '../../footer-observer/js/handler'; + +attachOn ('.hb-docs-nav', '.hb-docs-doc-toc') diff --git a/modules/sticky-till-the-end/go.mod b/modules/sticky-till-the-end/go.mod new file mode 100644 index 00000000..cf163ed5 --- /dev/null +++ b/modules/sticky-till-the-end/go.mod @@ -0,0 +1,3 @@ +module github.com/hbstack/docs/modules/sticky-till-the-end + +go 1.19 diff --git a/modules/sticky-till-the-end/hugo.toml b/modules/sticky-till-the-end/hugo.toml new file mode 100644 index 00000000..12518983 --- /dev/null +++ b/modules/sticky-till-the-end/hugo.toml @@ -0,0 +1,5 @@ +[[module.imports]] +path = "github.com/hbstack/footer/modules/observer" + +[[module.imports]] +path = "github.com/hbstack/docs"