I want to automatically index elements like figures and tables
This change adds page-based counters for figures and tables using Hugo .Scratch. Adds automatic counters for figures and tables
This commit is contained in:
parent
a03bb3f465
commit
7e03bb3c64
6 changed files with 8 additions and 2 deletions
|
@ -1,9 +1,10 @@
|
|||
{{ define "header" -}}
|
||||
{{ partial "page-variables-init.html" . }}
|
||||
{{ partial "header.html" . }}
|
||||
{{- end -}}
|
||||
|
||||
{{ define "content" -}}
|
||||
{{ partial "page_single.html" . }}
|
||||
{{ partial "page-single.html" . }}
|
||||
{{- end -}}
|
||||
|
||||
{{ define "footer" -}}
|
||||
|
@ -12,4 +13,5 @@
|
|||
{{- partial "commenting.html" . -}}
|
||||
</div>
|
||||
{{ partial "footer.html" . }}
|
||||
{{ partial "page-variables-deinit.html" . }}
|
||||
{{- end -}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue