Skip to content

Commit 17dae9b

Browse files
committed
Allow markdown in aside link
1 parent 46fefe8 commit 17dae9b

File tree

1 file changed

+5
-5
lines changed
  • themes/opentermsarchive/layouts/partials

1 file changed

+5
-5
lines changed

themes/opentermsarchive/layouts/partials/aside.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,23 +8,23 @@
88
{{ range .Site.Sections.ByWeight }}
99
<li class="{{ if eq $currentPageSection .Section }}aside_item-current{{ end }}">
1010
<details {{ if eq $currentPageSection .Section }}open{{ end }}>
11-
<summary><b>{{ .LinkTitle }}</b></summary>
11+
<summary><b>{{ .LinkTitle | markdownify }}</b></summary>
1212
<ul>
1313
{{ range .RegularPages.ByWeight }}
1414
<li>
15-
<a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a>
15+
<a href="{{ .RelPermalink }}">{{ .LinkTitle | markdownify }}</a>
1616
</li>
1717
{{ end }}
1818
{{ range .Sections.ByWeight }}
1919
<li>
2020
{{ if .Content }}
21-
<a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a>
21+
<a href="{{ .RelPermalink }}">{{ .LinkTitle | markdownify }}</a>
2222
{{ else }}
23-
<span>{{ .LinkTitle }}</span>
23+
<span>{{ .LinkTitle | markdownify }}</span>
2424
{{ end }}
2525
<ul>
2626
{{ range .RegularPages.ByWeight }}
27-
<li><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></li>
27+
<li><a href="{{ .RelPermalink }}">{{ .LinkTitle | markdownify }}</a></li>
2828
{{ end }}
2929
</ul>
3030
</li>

0 commit comments

Comments
 (0)