Add related content section to single page (#77)

Set `relatedPosts` to `true` in the config to enable this.
This commit is contained in:
Track3 2019-06-21 13:15:53 +08:00 committed by GitHub
parent e333628a26
commit 6cee5adc69
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 43 additions and 2 deletions

View file

@ -14,6 +14,9 @@ other = "Archives"
# posts/single.html
#
[seeAlso]
other = "See Also"
[wordCount]
other = "{{ .WordCount }} Words"

View file

@ -14,6 +14,9 @@ other = "归档"
# posts/single.html
#
[seeAlso]
other = "相关推荐"
[wordCount]
other = "{{ .WordCount }} 字"