add truncation
This commit is contained in:
parent
6e4280cac0
commit
9cbe727f86
@ -26,16 +26,16 @@
|
|||||||
<img src="{{ . | absURL }}" class="post-cover" />
|
<img src="{{ . | absURL }}" class="post-cover" />
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
<div style="margin-bottom: 6em;"class="post-content">
|
<div class="post-content">
|
||||||
<!--{{ with .Description }}
|
{{ with .Description }}
|
||||||
{{ . | markdownify }}
|
{{ . | markdownify }}
|
||||||
{{ else }}
|
{{ else }}
|
||||||
{{ if .Truncated }}
|
{{ if .Truncated }}
|
||||||
{{ .Summary | markdownify }}
|
{{ .Summary | markdownify }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}-->
|
{{ end }}
|
||||||
{{.Content}}
|
|
||||||
</div>
|
</div>
|
||||||
|
<div><a class="read-more button" href="{{.RelPermalink}}">{{ $.Site.Params.ReadMore }} →</a></div>
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ partial "pagination.html" . }}
|
{{ partial "pagination.html" . }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user