mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2025-06-14 10:27:29 -05:00
Update related posts design and move comments above it
This commit is contained in:
@ -68,6 +68,12 @@
|
||||
{{ partial "share.html" . }}
|
||||
{{ end }}
|
||||
|
||||
{{ if .Params.comments }}
|
||||
<div class="comments">
|
||||
{{ partial "comments.html" . }}
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
{{ $related := .Site.RegularPages.Related . | first 10 }}
|
||||
{{ with $related }}
|
||||
<div class="related">
|
||||
@ -78,13 +84,6 @@
|
||||
{{ .Render "summary/post" }}
|
||||
{{ end }}
|
||||
</div>
|
||||
<hr>
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
{{ if .Params.comments }}
|
||||
<div class="comments">
|
||||
{{ partial "comments.html" . }}
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
Reference in New Issue
Block a user