🏗️ Finish post content template split and the single page coding.
This commit is contained in:
11
layouts/partials/post/post_body.html
Normal file
11
layouts/partials/post/post_body.html
Normal file
@@ -0,0 +1,11 @@
|
||||
<div class="post-body" itemprop="articleBody">
|
||||
{{- if not .IsHome }}
|
||||
{{- if .Params.Expand }}
|
||||
{{ .Content }}
|
||||
{{- else }}
|
||||
{{ .Summary }}
|
||||
{{- end }}
|
||||
{{- else }}
|
||||
{{ .Content }}
|
||||
{{- end }}
|
||||
</div>
|
||||
Reference in New Issue
Block a user