Sha256: 0fc218959a8aad93b94cdbc7642c1a1fca112569f5c25d70b6e5dcee25feb0a3
Contents?: true
Size: 292 Bytes
Versions: 12
Compression:
Stored size: 292 Bytes
Contents
{% comment %} Determine TOC state and return it through variable "enable_toc" {% endcomment %} {% assign enable_toc = false %} {% if site.toc and page.toc %} {% if page.content contains '<h2' or page.content contains '<h3' %} {% assign enable_toc = true %} {% endif %} {% endif %}
Version data entries
12 entries across 12 versions & 2 rubygems