diff options
author | wlh233 <wlh233@live.com> | 2020-11-13 18:07:41 +0300 |
---|---|---|
committer | wlh233 <wlh233@live.com> | 2020-11-13 18:07:41 +0300 |
commit | ab9efea0dc0d0eb0202421aab978d8b54b5dac3b (patch) | |
tree | 4e133abd297ba1f7d74696a100af0466a51b1e83 /layouts/partials/anchor.html |
first commit
Diffstat (limited to 'layouts/partials/anchor.html')
-rw-r--r-- | layouts/partials/anchor.html | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/layouts/partials/anchor.html b/layouts/partials/anchor.html new file mode 100644 index 0000000..038babd --- /dev/null +++ b/layouts/partials/anchor.html @@ -0,0 +1,9 @@ +<script src="/js/anchor.min.js"></script> +<script> + anchors.options = { + placement: 'left', + // visible: 'always', + icon: '#' + }; + anchors.add('.content h1, .content h2, .content h3'); +</script> |