Welcome to mirror list, hosted at ThFree Co, Russian Federation.

anchor.html « partials « layouts - github.com/wlh320/hugo-theme-hulga.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 038babd9f31599984792a63d1e47ad4fd31af4a6 (plain)
1
2
3
4
5
6
7
8
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>