Skip to content

Commit

Permalink
:bug :Fix: heading front matter is not effective
Browse files Browse the repository at this point in the history
  • Loading branch information
Lruihao committed Jul 28, 2024
1 parent 7c67b90 commit 7c85205
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/_default/_markup/render-heading.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{- /* Read the config and format */ -}}
{{- $params := partial "function/params.html" -}}
{{- $params := .Page.Params | merge site.Params.page -}}
{{- $h1Format := $params.heading.number.format.h1 | default "{title}" -}}
{{- $h2Format := $params.heading.number.format.h2 | default "{h2} {title}" -}}
{{- $h3Format := $params.heading.number.format.h3 | default "{h2}.{h3} {title}" -}}
Expand Down

0 comments on commit 7c85205

Please sign in to comment.