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: 8e2f36aa86bea8b185069ec855371151c83c015c (plain)
1
2
3
4
5
6
7
8
9
<script src={{ "js/anchor.min.js" | absURL }}></script>
<script>
  anchors.options = {
    placement: 'left',
    // visible: 'always',
    icon: '#'
  };
  anchors.add('.content h1, .content h2, .content h3');
</script>