readded hugo-book theme files.
This commit is contained in:
6
themes/hugo-book/layouts/_markup/render-heading.html
Normal file
6
themes/hugo-book/layouts/_markup/render-heading.html
Normal file
@@ -0,0 +1,6 @@
|
||||
<h{{ .Level }} id="{{ .Anchor }}" {{- with .Attributes.class -}}class="{{ . }}"{{- end -}}>
|
||||
{{- .Text -}}
|
||||
{{- if default true .Attributes.anchor -}}
|
||||
<a class="anchor" href="#{{ .Anchor }}">#</a>
|
||||
{{- end -}}
|
||||
</h{{ .Level }}>
|
||||
Reference in New Issue
Block a user