headings have an id, version 34
This commit is contained in:
parent
eacd3816f5
commit
b7c5731d2f
2 changed files with 4 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
|||
{% if self.size == 'h2' %}
|
||||
<h2>{{ self.heading_text }}</h2>
|
||||
<h2 id="{{ self.heading_text|lower|slugify }}">{{ self.heading_text }}</h2>
|
||||
{% elif self.size == 'h3' %}
|
||||
<h3>{{ self.heading_text }}</h3>
|
||||
<h3 id="{{ self.heading_text|lower|slugify }}">{{ self.heading_text }}</h3>
|
||||
{% elif self.size == 'h4' %}
|
||||
<h4>{{ self.heading_text }}</h4>
|
||||
<h4 id="{{ self.heading_text|lower|slugify }}">{{ self.heading_text }}</h4>
|
||||
{% endif %}
|
Loading…
Add table
Add a link
Reference in a new issue