feat: Modifie le nom des liens
This commit is contained in:
parent
4154664d69
commit
f5122df4c7
|
@ -3,7 +3,7 @@
|
|||
{{ $pages := .Resources.ByType "page" }}
|
||||
{{ range sort $pages "Params.weight" }}
|
||||
<div class="bg{{if isset .Params "bg_colored" }} colored{{end}}">
|
||||
{{ with .File }}<p id="ancre_{{ .BaseFileName }}" class="ancre" />{{ end }}
|
||||
{{ with .File }}<p id="_{{ .BaseFileName }}" class="ancre" />{{ end }}
|
||||
<div class="container">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
{{ range sort $pages "Params.weight" }}
|
||||
{{ if .Title }}
|
||||
<li>
|
||||
<a class="navigation-lien" href="#ancre_{{ .File.BaseFileName }}">{{ .Title }}</a>
|
||||
<a class="navigation-lien" href="#_{{ .File.BaseFileName }}">{{ .Title }}</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
|
Loading…
Reference in New Issue