🎨 Upgrade Hugo min version is 134 & add read more feature

This commit is contained in:
elkan1788
2024-12-08 17:01:27 +08:00
parent c4649b8284
commit f7f5311e6f
8 changed files with 22 additions and 18 deletions

View File

@@ -6,6 +6,9 @@
{{ .Summary }}
{{ end }}
{{ else }}
{{ .Content }}
{{/** 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 }}