pagedjs new version allows for dot in the id names ergo .File.LogicalName
This commit is contained in:
parent
8292c7bc90
commit
2668e199dc
File diff suppressed because it is too large
Load Diff
|
@ -9,7 +9,7 @@
|
|||
<ul class="mt-4">
|
||||
{{ range .Site.Home.Params.has_topics }}
|
||||
{{ with $.GetPage (printf "%s%s" "/topic/" . ) }}
|
||||
<li><a class="sidebar-list text-base toc" href="#{{ .File.BaseFileName }}">> {{ .Title }}</a></li>
|
||||
<li><a class="sidebar-list text-base toc" href="#{{ .File.LogicalName }}">> {{ .Title }}</a></li>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</ul>
|
||||
|
@ -20,7 +20,7 @@
|
|||
|
||||
{{ range .Site.Home.Params.has_topics }}
|
||||
{{ with $.GetPage (printf "%s%s" "/topic/" . ) }}
|
||||
<div class="topic" id="{{ .File.BaseFileName }}"><div class="runningTopic">topic ⦚ {{ .Title }}</div>
|
||||
<div class="topic" id="{{ .File.LogicalName }}"><div class="runningTopic">topic ⦚ {{ .Title }}</div>
|
||||
<span class="topic-pretext">topic ⦚ </span><span class="topic-text pt-6">{{ .Title }}</span>
|
||||
<div class="ddmenu">
|
||||
<input id="toggly" type="checkbox">
|
||||
|
@ -29,7 +29,7 @@
|
|||
<ul class="mt-4">
|
||||
{{ range .Params.has_sessions }}
|
||||
{{ with $.GetPage (printf "%s%s" "/session/" . ) }}
|
||||
<li><a class="sidebar-list text-base toc" href="#{{ .File.BaseFileName }}">> {{ .Title }}</a></li>
|
||||
<li><a class="sidebar-list text-base toc" href="#{{ .File.LogicalName }}">> {{ .Title }}</a></li>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</ul>
|
||||
|
@ -41,7 +41,7 @@
|
|||
|
||||
{{ range .Params.has_sessions }}
|
||||
{{ with $.GetPage (printf "%s%s" "/session/" . ) }}
|
||||
<div class="topic" id="{{ .File.BaseFileName }}"><div class="runningTopic">session ⦚ {{ .Title }}</div>
|
||||
<div class="topic" id="{{ .File.LogicalName }}"><div class="runningTopic">session ⦚ {{ .Title }}</div>
|
||||
<span class="topic-pretext">session ⦚ </span><span class="topic-text pt-6">{{ .Title }}</span>
|
||||
<div>{{ .Content }} </div>
|
||||
{{ end }}
|
||||
|
|
Loading…
Reference in New Issue