mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-13 22:16:02 +00:00
Fix page title issues with functions section
This commit is contained in:
1 parent
a1ca69b9d6
commit
bec195d1ac
1 file changed
+1
-1
@@ -3,7 +3,7 @@
|
|||||||
<main class="main">
|
<main class="main">
|
||||||
<header class="content-header">
|
<header class="content-header">
|
||||||
{{partial "breadcrumb.html" . }}
|
{{partial "breadcrumb.html" . }}
|
||||||
<h1 class="page-title {{.Section}}" id="{{with .LinkTitle}}{{. | urlize}}{{else}}{{ .Title | urlize }}{{end}}">{{with .LinkTitle}}{{.}}{{else}}{{ .Title | markdownify }}{{end}}</h1>
|
<h1 class="page-title {{if eq .Kind "page"}}{{.Section}}{{end}}" id="{{with .LinkTitle}}{{. | urlize}}{{else}}{{ .Title | urlize }}{{end}}">{{with .LinkTitle}}{{.}}{{else}}{{ .Title | markdownify }}{{end}}</h1>
|
||||||
{{partial "content-header-links.html" . }}
|
{{partial "content-header-links.html" . }}
|
||||||
{{partial "tags.html" . }}
|
{{partial "tags.html" . }}
|
||||||
</header>
|
</header>
|
||||||
|
|||||||
Reference in new issue
Block a user