mirror of
https://github.com/rystaf/mlmym.git
synced 2024-11-25 14:49:07 +00:00
fix template error
This commit is contained in:
parent
e9a167cd6c
commit
826926dbc8
|
@ -84,7 +84,7 @@
|
||||||
<li id="showimages"><a id="se" href="">show images</a></li>
|
<li id="showimages"><a id="se" href="">show images</a></li>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if and .PostID }}{{ $post := (index .Posts 0) }}{{ if $post.CrossPosts }}
|
{{- if and .PostID .Posts }}{{ $post := (index .Posts 0) }}{{ if $post.CrossPosts }}
|
||||||
<li><a href="/{{.Host}}/search?q={{ $post.Post.URL.String }}&searchtype=Url{{ if not $post.Post.Local }}&listingType=All{{end}}">other discussions ({{ $post.CrossPosts }})</a></li>
|
<li><a href="/{{.Host}}/search?q={{ $post.Post.URL.String }}&searchtype=Url{{ if not $post.Post.Local }}&listingType=All{{end}}">other discussions ({{ $post.CrossPosts }})</a></li>
|
||||||
{{- end }}{{ end }}
|
{{- end }}{{ end }}
|
||||||
<form id="sidetoggle" class="link-btn{{ if .HideSidebar }} o{{end}}" method="POST">
|
<form id="sidetoggle" class="link-btn{{ if .HideSidebar }} o{{end}}" method="POST">
|
||||||
|
|
Loading…
Reference in a new issue