diff --git a/modules/sticky-till-the-end/assets/hb/modules/blog-sticky-till-the-end/js/index.ts b/modules/sticky-till-the-end/assets/hb/modules/blog-sticky-till-the-end/js/index.ts new file mode 100644 index 00000000..5e2b769c --- /dev/null +++ b/modules/sticky-till-the-end/assets/hb/modules/blog-sticky-till-the-end/js/index.ts @@ -0,0 +1,3 @@ +import { attachOn } from '../../footer-observer/js/handler'; + +attachOn('.hb-blog-sidebar', '.hb-blog-post-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..062b3504 --- /dev/null +++ b/modules/sticky-till-the-end/go.mod @@ -0,0 +1,3 @@ +module github.com/hbstack/blog/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..c1821dbe --- /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/blog"