fix random blank space on post content
This commit is contained in:
parent
d58c0b63f1
commit
7071165d04
|
@ -87,16 +87,18 @@
|
||||||
{{end}}
|
{{end}}
|
||||||
{{end}}
|
{{end}}
|
||||||
</div>
|
</div>
|
||||||
{{if .Content}}
|
<div class="status-content">
|
||||||
{{if .SpoilerText}}
|
{{if .Content}}
|
||||||
<details>
|
{{if .SpoilerText}}
|
||||||
<summary><span></span>{{.SpoilerText}}</summary>
|
<details>
|
||||||
{{template "postcontent.tmpl" (WithContext $s $.Ctx)}}
|
<summary><span></span>{{.SpoilerText}}</summary>
|
||||||
</details>
|
{{template "postcontent.tmpl" (WithContext $s $.Ctx)}}
|
||||||
{{else}}
|
</details>
|
||||||
{{template "postcontent.tmpl" (WithContext $s $.Ctx)}}
|
{{else}}
|
||||||
{{end}}
|
{{template "postcontent.tmpl" (WithContext $s $.Ctx)}}
|
||||||
{{end}}
|
{{end}}
|
||||||
|
{{end}}
|
||||||
|
</div>
|
||||||
<div class="status-action-container">
|
<div class="status-action-container">
|
||||||
<div class="status-action">
|
<div class="status-action">
|
||||||
<a href="/thread/{{.ID}}?reply=true#status-{{.ID}}">
|
<a href="/thread/{{.ID}}?reply=true#status-{{.ID}}">
|
||||||
|
|
Loading…
Reference in New Issue