7 lines
238 B
HTML
7 lines
238 B
HTML
<h{{ .Level }} id="{{ .Anchor }}" {{- with .Attributes.class }} class="{{ . }}" {{- end }}>
|
|
{{ .Text }}
|
|
{{ if default true .Page.Params.bookHeadingAnchor }}
|
|
<a class="anchor" href="#{{ .Anchor }}">#</a>
|
|
{{ end }}
|
|
</h{{ .Level }}>
|