diff options
author | Ivan Boothe <git@rootwork.org> | 2022-05-17 01:36:13 +0300 |
---|---|---|
committer | Ivan Boothe <git@rootwork.org> | 2022-05-17 01:36:13 +0300 |
commit | 0cb36ae29c7c7af8b669f877ceecf69a5df1e38c (patch) | |
tree | ea67262c634a77fea6a727d06458ccf920e3e23c | |
parent | 6bc6e2a035ba86eb069fa5d9250f54713220ddd8 (diff) |
add markdownify to sidebar items
Signed-off-by: Ivan Boothe <git@rootwork.org>
-rw-r--r-- | layouts/partials/sidebar.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html index edf5a2a..e849852 100644 --- a/layouts/partials/sidebar.html +++ b/layouts/partials/sidebar.html @@ -50,7 +50,7 @@ <ul> {{ range $related }} <li> - <a href="{{ .Permalink }}" class="nav-link" title="{{ .Title }}">{{ .Title }}</a> + <a href="{{ .Permalink }}" class="nav-link" title="{{ .Title }}">{{ .Title | markdownify }}</a> </li> {{ end }} </ul> @@ -63,7 +63,7 @@ <ul> {{- range . }} <li> - <a href="{{ .Permalink }}" class="nav-link" title="{{ .Title }}">{{ .Title }}</a> + <a href="{{ .Permalink }}" class="nav-link" title="{{ .Title }}">{{ .Title | markdownify }}</a> </li> {{- end }} </ul> @@ -73,7 +73,7 @@ {{- $recent := default 8 $s.numberOfRecentPosts }} {{- range first $recent $posts }} <li> - <a href="{{ .Permalink }}" class="nav-link" title="{{ .Title }}">{{ .Title }}</a> + <a href="{{ .Permalink }}" class="nav-link" title="{{ .Title }}">{{ .Title | markdownify }}</a> </li> {{- end }} </ul> |