mirror of
https://github.com/rystaf/mlmym.git
synced 2024-11-08 08:04:26 +00:00
fix template error
This commit is contained in:
parent
af7237b3f3
commit
f45662c276
|
@ -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