14 lines
399 B
HTML
14 lines
399 B
HTML
{{ with .ctx }}
|
|
{{ if $.IsHome }}
|
|
{{ if .Params.Expand }}
|
|
{{ .Content }}
|
|
{{ else }}
|
|
{{ .Summary }}
|
|
{{ end }}
|
|
{{ else }}
|
|
{{/** Started use the read more content anchor the need Hugo framework min marjo version greater than 0.134.0 **/}}
|
|
{{ .Summary }}
|
|
<a id="more"><!-- It's an anchor point to locate read more content start. --></a>
|
|
{{ .ContentWithoutSummary }}
|
|
{{ end }}
|
|
{{ end }} |