🎨 Finish archives page coding.
This commit is contained in:
13
layouts/partials/post/body.html
Normal file
13
layouts/partials/post/body.html
Normal file
@@ -0,0 +1,13 @@
|
||||
{{ with .ctx }}
|
||||
<div class="post-body" itemprop="articleBody">
|
||||
{{- if $.IsHome }}
|
||||
{{- if .Params.Expand }}
|
||||
{{ .Content }}
|
||||
{{- else }}
|
||||
{{ .Summary }}
|
||||
{{- end }}
|
||||
{{- else }}
|
||||
{{ .Content }}
|
||||
{{- end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user