2022-06-03 22:37:33 +08:00
|
|
|
{{ with .ctx }}
|
2023-01-01 21:12:58 +08:00
|
|
|
{{ if $.IsHome }}
|
|
|
|
{{ if .Params.Expand }}
|
2022-06-09 09:12:22 +08:00
|
|
|
{{ .Content }}
|
2023-01-01 21:12:58 +08:00
|
|
|
{{ else }}
|
2022-06-09 09:12:22 +08:00
|
|
|
{{ .Summary }}
|
2023-01-01 21:12:58 +08:00
|
|
|
{{ end }}
|
|
|
|
{{ else }}
|
2024-12-08 17:01:27 +08:00
|
|
|
{{/** 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 }}
|
2023-01-01 21:12:58 +08:00
|
|
|
{{ end }}
|
2022-06-03 22:37:33 +08:00
|
|
|
{{ end }}
|