Skip to content

Commit

Permalink
feat: add the sticky-till-the-end module (#746)
Browse files Browse the repository at this point in the history
  • Loading branch information
razonyang committed Apr 2, 2024
1 parent 022abde commit afd9d49
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { attachOn } from '../../footer-observer/js/handler';

attachOn('.hb-blog-sidebar', '.hb-blog-post-toc')
3 changes: 3 additions & 0 deletions modules/sticky-till-the-end/go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module github.com/hbstack/blog/modules/sticky-till-the-end

go 1.19
5 changes: 5 additions & 0 deletions modules/sticky-till-the-end/hugo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[[module.imports]]
path = "github.com/hbstack/footer/modules/observer"

[[module.imports]]
path = "github.com/hbstack/blog"

0 comments on commit afd9d49

Please sign in to comment.