AmazingRise / hugo-theme-diary

Moments piled up. A Hugo theme ported from SumiMakito/hexo-theme-Journal.
MIT License
568 stars 194 forks source link

Summary feature required #165

Closed TRSWNCA closed 10 months ago

TRSWNCA commented 1 year ago

In official posts, there are three common ways to add summary (so called description in this theme):

  1. Use the <!--more--> tag to tell how much of the article Hugo should use as the summary
  2. Use the summary variable in the front matter in order to use a custom summary
  3. Let Hugo by default use the first 70 words of the article

It seems that this theme only accepts the second way to add description on the front page. So maybe enable the other two ways can be an improvement since using <!--more--> in some of the posts is much more convinient that write summary again.

Thanks!