d3c3nt

[DORMANT] a fairly decent theme for the zola static site engine
git clone git://git.figbert.com/d3c3nt.git
Log | Files | Refs | README | LICENSE

anchor-link.html (301B)


      1 <a class="zola-anchor" href="#{{ id | safe }}" aria-label="Anchor link for: {{ id | safe }}">
      2   {% if level == 1 %}
      3     #
      4   {% elif level == 2 %}
      5    ##
      6   {% elif level == 3 %}
      7    ###
      8   {% elif level == 4 %}
      9    ####
     10   {% elif level == 5 %}
     11    #####
     12   {% elif level == 6 %}
     13    ######
     14   {% endif %}
     15 </a>